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
Input value inSurface Surface Input surface
Input value inRoi Region | None None Region of interest
Input value inXLimits ValueLimits_f64
Input value inYLimits ValueLimits_f64
Input value inZLimits ValueLimits_f64
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 not contained in a given rectangular box