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

Invoke.SegmentPath

Splits a path into parts that can be approximated as segments or arcs.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void SegmentPath
(
	Fil.Path inPath,
	float inSmoothingStdDev,
	float inMaxDeviation,
	Fil.PathSegmentationMode inSegmentationMode,
	Optional<float> inMaxArcRadius,
	List<Fil.Path> outStraight,
	List<Fil.Path> outArciform,
	List<Fil.Segment2D> outSegments,
	List<Fil.Arc2D> outArcs
)

Parameters

Name Type Range Default Description
inPathFil.PathPath to be segmented.
inSmoothingStdDevfloat<0.0f, INF>Standard deviation used for initial gaussian smoothing of the segmented path.
inMaxDeviationfloat<0.0f, INF>0.5fMaximal distance between any point of a classified segment to the abstract shape. Default value: 0.5f.
inSegmentationModeFil.PathSegmentationModeWhether to use arcs for segmentation.
inMaxArcRadiusFtl.Optional<float><0.0f, INF>10.0fMaximal radius of an arc fitted to segment. Default value: 10.0f.
outStraightSystem.Collections.Generic.List<Fil.Path>Parts classified as straight segments.
outArciformSystem.Collections.Generic.List<Fil.Path>Parts classified as arciform segments.
outSegmentsSystem.Collections.Generic.List<Fil.Segment2D>Segments corresponding to sections of path from outStraight.
outArcsSystem.Collections.Generic.List<Fil.Arc2D>Arcs corresponding to sections of path from outArciform.

See also