You are here: Start » FIL.NET » FIS.CropSurfaceByNeighborsProximity Method
FIS.CropSurfaceByNeighborsProximity Method
Removes from the surface points that are too distant from their neighbor points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
public static void CropSurfaceByNeighborsProximity ( FilNet.Surface inSurface, NullableRef<FilNet.Region> inRoi, int inNeighborRadius, float inMaxDistance, FilNet.Metric3D inMetric, float inMinNeighborRatio, bool inPreserveDimensions, FilNet.Surface outSurface, NullableRef<FilNet.Region> outRejected )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSurface | FilNet.Surface | |||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Region of interest. Default value: ftl::NIL. | ||
![]() | 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. |
![]() | inPreserveDimensions | bool | False | Flag indicating whether the surface dimensions should be preserved or not. Default value: False. | |
![]() | outSurface | FilNet.Surface | |||
![]() | outRejected | FilNet.NullableRef<FilNet.Region> | Region of locations where points are too distant from their neighbors. Can be null to skip this parameter calculation. |
Function Overrides
- CropSurfaceByNeighborsProximity(Surface, Int32, Single, Metric3D, Single, Boolean, Surface)
- CropSurfaceByNeighborsProximity(Surface, NullableRef<Region>, Int32, Single, Metric3D, Single, Boolean, Surface)
- CropSurfaceByNeighborsProximity(Surface, NullableRef<Region>, Int32, Single, Metric3D, Single, Boolean, Surface, Region)