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

Invoke.DetectPointSegments

Detect points that lie along multiple segments.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void DetectPointSegments
(
	List<Fil.Point2D> inPoints,
	float inMaxDistance,
	int inMaxRank,
	Optional<float> inMaxRelativeDistance,
	float inMaxTurnAngle,
	int inMinPointCount,
	List<Fil.Segment2D> outPointSegments,
	List<Fil.Path> outPaths
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Fil.Point2D>Points to connect.
inMaxDistancefloat<0.0f, INF>10.0fMaximum distance between connected points. Default value: 10.0f.
inMaxRankint<1, INF>4Maximum number of neighbour candidates considered when joining points. Default value: 4.
inMaxRelativeDistanceFtl.Optional<float><1.0f, INF>2.0fMaximum distance in relation to the shortest distance for a point. Default value: 2.0f.
inMaxTurnAnglefloat<0.0f, 90.0f>5.0fMaximum angle between consecutive path segments. Default value: 5.0f.
inMinPointCountint<2, INF>3Minimum number of points in one path. Default value: 3.
outPointSegmentsSystem.Collections.Generic.List<Fil.Segment2D>Segments connecting first and last point of each path.
outPathsSystem.Collections.Generic.List<Fil.Path>Paths of connected points.

See also