You are here: Start » AVL.NET » AVL.FitSegmentToPoints(AvlNet.Point2D[], AvlNet.MEstimator?, AvlNet.Segment2D)

AVL.FitSegmentToPoints(AvlNet.Point2D[], AvlNet.MEstimator?, AvlNet.Segment2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void FitSegmentToPoints(
	AvlNet.Point2D[] inPoints,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Segment2D outSegment
)

Parameters

inPoints
Type: AvlNet.Point2D
inOutlierSuppression
Type: System.Nullable<AvlNet.MEstimator>
outSegment
Type: AvlNet.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.

See also