You are here: Start » AVL.NET » Function Reference » Surface » Surface Spatial Transforms » AVL.CropSurfaceToBox3D

AVL.CropSurfaceToBox3D

Removes from the surface points that are not contained in a given box in 3D.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void CropSurfaceToBox3D
(
	AvlNet.Surface inSurface,
	NullableRef<AvlNet.Region> inRoi,
	AvlNet.Box3D inBox3D,
	bool inPreserveDimensions,
	AvlNet.Surface outSurface
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.SurfaceInput surface.
inRoiAvlNet.NullableRef<AvlNet.Region>Region of interest. Default value: atl::NIL.
inBox3DAvlNet.Box3DBox defining a subspace to be cropped.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceAvlNet.SurfaceOutput surface.

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in CropSurfaceToBox3D.

Function Overrides

See also