Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » CropSurfaceByPlaneProximity
![](../../img/icon/Point3DGrid.png)
CropSurfaceByPlaneProximity
Removes from the surface points that are too distant from a given plane.
Syntax
C++
C#
void avl::CropSurfaceByPlaneProximity ( const avl::Surface& inSurface, const avl::Plane3D& inPlane, atl::Optional<float> inMinDistance, atl::Optional<float> inMaxDistance, avl::Surface& outSurface, atl::Optional<avl::Region&> outRejected = atl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSurface | const Surface& | Input surface | |
![]() |
inPlane | const Plane3D& | Plane to which distance is measured | |
![]() |
inMinDistance | Optional<float> | NIL | Minimal distance from a given plane |
![]() |
inMaxDistance | Optional<float> | 1.0f | Maximal distance from a given plane |
![]() |
outSurface | Surface& | Output surface | |
![]() |
outRejected | Optional<Region&> | NIL | Region of locations where points are too distant from the input plane |