You are here: Start » AVL.NET » Invoke.FitSegmentToPoints

Invoke.FitSegmentToPoints

Approximates points with a segment using selected outliers suppression method.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitSegmentToPoints
(
	List<Avl.Point2D> inPoints,
	Optional<Avl.Range> inRange,
	Optional<Avl.MEstimator> inOutlierSuppression,
	out Avl.Segment2D outSegment,
	Optional<List<Avl.Point2D>> outInliers
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Avl.Point2D>
inRangeAtl.Optional<Avl.Range>Determines which array points take part in fitting process. Default value: atl::NIL.
inOutlierSuppressionAtl.Optional<Avl.MEstimator>
outSegmentAvl.Segment2D
outInliersAtl.Optional<System.Collections.Generic.List<Avl.Point2D>>

See also