Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 3D Spatial Transforms » CropSurfaceToBox3D

CropSurfaceToBox3D


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

Syntax

C++
C#
 
void avl::CropSurfaceToBox3D
(
	const avl::Surface& inSurface,
	const avl::Box3D& inBox3D,
	avl::Surface& outSurface,
	atl::Optional<avl::Region&> outRejected = atl::NIL
)

Parameters

Name Type Default Description
inSurface const Surface& Input surface
inBox3D const Box3D& Box defining a subspace to be cropped
outSurface Surface& Output surface
outRejected Optional<Region&> NIL Region of locations where points are not contained in a given box in 3D