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

AVS.CropSurface Method

Removes from the surface points that are not contained in a given rectangular box.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void CropSurface
(
	AvlNet.Surface inSurface,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.ValueLimits_f64 inXLimits,
	AvlNet.ValueLimits_f64 inYLimits,
	AvlNet.ValueLimits_f64 inZLimits,
	bool inPreserveDimensions,
	AvlNet.Surface outSurface,
	AvlNet.Region outRejected
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
inXLimitsAvlNet.ValueLimits_f64
inYLimitsAvlNet.ValueLimits_f64
inZLimitsAvlNet.ValueLimits_f64
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceAvlNet.SurfaceOutput surface.
outRejectedAvlNet.RegionRegion of locations where points are not contained in a given rectangular box.

Function Overrides

See also