You are here: Start » AVL.NET » Invoke.CropSurfaceByPlaneProximity
Removes from the surface points that are too distant from a given plane.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CropSurfaceByPlaneProximity ( Avl.Surface inSurface, Optional<Avl.Region> inRoi, Avl.Plane3D inPlane, Optional<float> inMinDistance, Optional<float> inMaxDistance, bool inPreserveDimensions, Avl.Surface outSurface, Optional<Avl.Region> outRejected )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inSurface | Avl.Surface | Input surface. | ||
![]()  | inRoi | Atl.Optional<Avl.Region> | Region of interest. Default value: atl::NIL. | ||
![]()  | inPlane | Avl.Plane3D | Plane to which distance is measured. | ||
![]()  | inMinDistance | Atl.Optional<float> | Minimal distance from a given plane. Default value: atl::NIL. | ||
![]()  | inMaxDistance | Atl.Optional<float> | 1.0f | Maximal distance from a given plane. Default value: 1.0f. | |
![]()  | inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | |
![]()  | outSurface | Avl.Surface | Output surface. | ||
![]()  | outRejected | Atl.Optional<Avl.Region> | Region of locations where points are too distant from the input plane. | 


