You are here: Start » FIL.NET » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » FIL.CropPoint3DGridByNeighborsProximity
Removes from the grid points that are too distant from their neighbor points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void CropPoint3DGridByNeighborsProximity ( FilNet.Point3DGrid inPoint3DGrid, int inNeighborRadius, float inMaxDistance, FilNet.Metric3D inMetric, float inMinNeighborRatio, FilNet.Point3DGrid outPoint3DGrid )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoint3DGrid | FilNet.Point3DGrid | |||
![]() | 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 | FilNet.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. |
![]() | outPoint3DGrid | FilNet.Point3DGrid |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Incorrect metric in CropPoint3DGridByNeighborsProximity. |