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 | |
|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | |
![]() |
inRoi | Region | None | None | Region of interest |
![]() |
inPlane | Plane3D | Plane to which distance is measured | |
![]() |
inMinDistance | float | None | None | Minimal distance from a given plane |
![]() |
inMaxDistance | float | None | 1.0 | Maximal distance from a given plane |
![]() |
inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not |
![]() |
outSurface | Surface | Output surface | |
![]() |
outRejected | Region | None | None | Region of locations where points are too distant from the input plane |


