You are here: Start » AVL.NET » AVS.FitSegmentToPoints Method

AVS.FitSegmentToPoints Method

Approximates points with a segment using selected outliers suppression method.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToPoints
(
	IList<AvlNet.Point2D> inPoints,
	AvlNet.Range? inRange,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>
inRangeAvlNet.Range?Determines which array points take part in fitting process. Default value: atl::NIL.
inOutlierSuppressionAvlNet.MEstimator?
outSegmentAvlNet.Segment2D

Function Overrides

See also