Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » CropSurfaceToRegion

CropSurfaceToRegion
Removes points that are not present in a given region.
Syntax
C++
C#
void avl::CropSurfaceToRegion ( const avl::Surface& inSurface, const avl::Region& inRegion, avl::Surface& outSurface )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSurface | const Surface& | Input surface | |
![]() |
inRegion | const Region& | Region from which the points are not removed | |
![]() |
outSurface | Surface& | Output surface |
Errors
Error type | Description |
---|---|
DomainError | Input region exceeds surface dimensions in CropSurfaceToRegion. |