CropSurfaceToBox3D
Removes from the surface points that are not contained in a given box in 3D.
Syntax
C++
C#
Python
def CropSurfaceToBox3D( inSurface: Surface, inBox3D: Box3D, outSurface: Surface, /, *, inRoi: Region | None = None, inPreserveDimensions: bool = False, outRejected: Region | None = None ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSurface | Surface | Input surface | |
![]() |
inRoi | Region | None | None | Region of interest |
![]() |
inBox3D | Box3D | Box defining a subspace to be cropped | |
![]() |
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 not contained in a given box in 3D |


