You are here: Start » FIL.NET » FIS.SegmentPath Method

FIS.SegmentPath Method

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

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

public static void SegmentPath
(
	FilNet.Path inPath,
	float inSmoothingStdDev,
	float inMaxDeviation,
	FilNet.PathSegmentationMode inSegmentationMode,
	IList<FilNet.Path> outStraight,
	IList<FilNet.Path> outArciform,
	IList<FilNet.Segment2D> outSegments,
	IList<FilNet.Arc2D> outArcs
)

Parameters

Name Type Range Default Description
inPathFilNet.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.
inSegmentationModeFilNet.PathSegmentationModeWhether to use arcs for segmentation.
outStraightSystem.Collections.Generic.IList<FilNet.Path>Parts classified as straight segments.
outArciformSystem.Collections.Generic.IList<FilNet.Path>Parts classified as arciform segments.
outSegmentsSystem.Collections.Generic.IList<FilNet.Segment2D>Segments corresponding to sections of path from outStraight.
outArcsSystem.Collections.Generic.IList<FilNet.Arc2D>Arcs corresponding to sections of path from outArciform.

Function Overrides

See also