You are here: Start » AVL.NET » AVS.CropSurfaceToRegion Method

AVS.CropSurfaceToRegion Method

Removes points that are not present in a given region.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropSurfaceToRegion
(
	AvlNet.Surface inSurface,
	AvlNet.Region inRegion,
	bool inPreserveDimensions,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRegionAvlNet.RegionRegion from which the points are not removed.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceAvlNet.SurfaceOutput surface.

See also