You are here: Start » AVL.NET » AVL.CropSurfaceByPlaneProximity

AVL.CropSurfaceByPlaneProximity

Removes from the surface points that are too distant from a given plane.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CropSurfaceByPlaneProximity
(
	AvlNet.Surface inSurface,
	AvlNet.Region inRoi,
	AvlNet.Plane3D inPlane,
	float? inMinDistance,
	float? inMaxDistance,
	bool inPreserveDimensions,
	out AvlNet.Surface outSurface,
	out AvlNet.Region outRejected
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.RegionRegion of interest. Default value: atl::NIL, or null.
inPlaneAvlNet.Plane3DPlane to which distance is measured.
inMinDistancefloat?Minimal distance from a given plane. Default value: atl::NIL, or null.
inMaxDistancefloat?1.0fMaximal distance from a given plane. Default value: 1.0f, or null.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceAvlNet.SurfaceOutput surface.
outRejectedAvlNet.RegionRegion of locations where points are too distant from the input plane

See also