You are here:
Start »
AVL.NET »
AVL.CropSurfaceByNeighborsProximity Method
AVL.CropSurfaceByNeighborsProximity Method
Removes from the surface points that are too distant from their neighbor points.
| Namespace: | AvlNet |
| Assembly: | AVL.NET.dll |
Syntax
public static void CropSurfaceByNeighborsProximity(
AvlNet.Surface inSurface,
int inNeighborRadius,
float inMaxDistance,
AvlNet.Metric3D inMetric,
float inMinNeighborRatio,
bool inPreserveDimensions,
out AvlNet.Surface outSurface
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
 | inSurface | AvlNet.Surface | | | |
 | inNeighborRadius | int | <1, INF> | 1 | Radius of neighbors to search for real neighbors. Default value: 1. |
 | inMaxDistance | float | <0.0f, INF> | 2.0f | Maximal distance from another point to consider them real neighbors. Default value: 2.0f. |
 | inMetric | AvlNet.Metric3D | | Z | Metric used for measuring distance between points. Default value: Z. |
 | inMinNeighborRatio | float | <0.0f, 1.0f> | 1.0f | Fraction of valid neighbors in a given radius that have to be real neighbors. Default value: 1.0f. |
 | inPreserveDimensions | bool | | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. |
 | outSurface | AvlNet.Surface | | | |
Errors
| Error type |
Description |
| DomainError |
Incorrect metric in CropSurfaceByNeighborsProximity. |
See also
- CropSurfaceByNeighborsProximity(AvlNet.Surface, int, float, AvlNet.Metric3D, float, bool, AvlNet.Surface, AvlNet.Region)
- CropSurfaceByNeighborsProximity(AvlNet.Surface, AvlNet.Region, int, float, AvlNet.Metric3D, float, bool, AvlNet.Surface)
- CropSurfaceByNeighborsProximity(AvlNet.Surface, AvlNet.Region, int, float, AvlNet.Metric3D, float, bool, AvlNet.Surface, AvlNet.Region)
- Class Reference
- AVL Class