Back to Adaptive Vision Library website
You are here: Start » Function Reference » Surface Spatial Transforms » CropSurface
CropSurface
Removes from the surface points that are not contained in a given rectangular box.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::CropSurface ( const avl::Surface& inSurface, atl::Optional<const avl::Region&> inRoi, atl::Optional<double> inMinX, atl::Optional<double> inMaxX, atl::Optional<double> inMinY, atl::Optional<double> inMaxY, atl::Optional<double> inMinZ, atl::Optional<double> inMaxZ, bool inPreserveDimensions, avl::Surface& outSurface, atl::Optional<avl::Region&> outRejected = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inSurface | const Surface& | Input surface | ||
inRoi | Optional<const Region&> | NIL | Region of interest | |
inMinX | Optional<double> | NIL | ||
inMaxX | Optional<double> | NIL | ||
inMinY | Optional<double> | NIL | ||
inMaxY | Optional<double> | NIL | ||
inMinZ | Optional<double> | NIL | ||
inMaxZ | Optional<double> | NIL | ||
inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not | |
outSurface | Surface& | Output surface | ||
outRejected | Optional<Region&> | NIL | Region of locations where points are not contained in a given rectangular box |