You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Fitting » FIL.FitSegmentToPoints

FIL.FitSegmentToPoints

Approximates points with a segment using selected outliers suppression method.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void FitSegmentToPoints
(
	IList<FilNet.Point2D> inPoints,
	out FilNet.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<FilNet.Point2D>
outSegmentFilNet.Segment2D

Description

The orientation of the resulting outSegment is always between 0 and 180 degrees.

Examples

The resulting outSegment drawn with the input points, inOutlierSuppression = Auto.

Function Overrides

See also