CropSurfaceByPlaneProximity


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

Syntax

C++
C#
Python
 
def CropSurfaceByPlaneProximity(
	inSurface: Surface,
	inPlane: Plane3D,
	outSurface: Surface,
	/,
	*,
	inRoi: Region | None = None,
	inMinDistance: float | None = None,
	inMaxDistance: float | None = 1.0,
	inPreserveDimensions: bool = False,
	outRejected: Region | None = None
)
-> None

Parameters

Name Type Default Description
Input value inSurface Surface Input surface
Input value inRoi Region | None None Region of interest
Input value inPlane Plane3D Plane to which distance is measured
Input value inMinDistance float | None None Minimal distance from a given plane
Input value inMaxDistance float | None 1.0 Maximal distance from a given plane
Input value inPreserveDimensions bool False Flag indicating whether the surface dimensions should be preserved or not
Output value outSurface Surface Output surface
Output value outRejected Region | None None Region of locations where points are too distant from the input plane