CropSurface
Removes from the surface points that are not contained in a given rectangular box.
Syntax
C++
C#
Python
def CropSurface( inSurface: Surface, inXLimits: ValueLimits_f64, inYLimits: ValueLimits_f64, inZLimits: ValueLimits_f64, 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 |
![]() |
inXLimits | ValueLimits_f64 | ||
![]() |
inYLimits | ValueLimits_f64 | ||
![]() |
inZLimits | ValueLimits_f64 | ||
![]() |
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 rectangular box |


