You are here: Start » FIL.NET » Invoke.CropSurfaceByNeighborsProximity

Invoke.CropSurfaceByNeighborsProximity

Removes from the surface points that are too distant from their neighbor points.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void CropSurfaceByNeighborsProximity
(
	Fil.Surface inSurface,
	Optional<Fil.Region> inRoi,
	int inNeighborRadius,
	float inMaxDistance,
	Fil.Metric3D inMetric,
	float inMinNeighborRatio,
	bool inPreserveDimensions,
	Fil.Surface outSurface,
	Optional<Fil.Region> outRejected
)

Parameters

Name Type Range Default Description
inSurfaceFil.Surface
inRoiFtl.Optional<Fil.Region>Region of interest. Default value: ftl::NIL.
inNeighborRadiusint<1, INF>1Radius of neighbors to search for real neighbors. Default value: 1.
inMaxDistancefloat<0.0f, INF>2.0fMaximal distance from another point to consider them real neighbors. Default value: 2.0f.
inMetricFil.Metric3DZMetric used for measuring distance between points. Default value: Z.
inMinNeighborRatiofloat<0.0f, 1.0f>1.0fFraction of valid neighbors in a given radius that have to be real neighbors. Default value: 1.0f.
inPreserveDimensionsboolFalseFlag indicating whether the surface dimensions should be preserved or not. Default value: False.
outSurfaceFil.Surface
outRejectedFtl.Optional<Fil.Region>Region of locations where points are too distant from their neighbors.

See also