You are here: Start » FIL.NET » Function Reference » Surface » Surface Spatial Transforms » FIL.CropSurfaceByPlaneProximity

FIL.CropSurfaceByPlaneProximity

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void CropSurfaceByPlaneProximity
(
	FilNet.Surface inSurface,
	FilNet.Plane3D inPlane,
	float? inMinDistance,
	float? inMaxDistance,
	bool inPreserveDimensions,
	FilNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceFilNet.SurfaceInput surface.
inPlaneFilNet.Plane3DPlane to which distance is measured.
inMinDistancefloat?Minimal distance from a given plane. Default value: ftl::NIL.
inMaxDistancefloat?1.0fMaximal distance from a given plane. Default value: 1.0f.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceFilNet.SurfaceOutput surface.

Errors

List of possible exceptions:

Error type Description
DomainError Indefinite plane on input in CropSurfaceByPlaneProximity.
DomainError Region of interest exceeds an input surface in CropSurfaceByPlaneProximity.

Function Overrides

See also