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

CropSurface
Removes from the surface points that are not contained in a given rectangular box.
Syntax
C++
C#
void avl::CropSurface ( const avl::Surface& inSurface, atl::Optional<double> inMinX, atl::Optional<double> inMaxX, atl::Optional<double> inMinY, atl::Optional<double> inMaxY, atl::Optional<double> inMinZ, atl::Optional<double> inMaxZ, avl::Surface& outSurface, atl::Optional<avl::Region&> outRejected = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSurface | const Surface& | Input surface | |
![]() |
inMinX | Optional<double> | NIL | |
![]() |
inMaxX | Optional<double> | NIL | |
![]() |
inMinY | Optional<double> | NIL | |
![]() |
inMaxY | Optional<double> | NIL | |
![]() |
inMinZ | Optional<double> | NIL | |
![]() |
inMaxZ | Optional<double> | NIL | |
![]() |
outSurface | Surface& | Output surface | |
![]() |
outRejected | Optional<Region&> | NIL | Region of locations where points are not contained in a given rectangular box |