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

AVS.FitSegmentToPoints_TheilSen Method

Approximates points with a segment using TheilSen algorithm, optionally with Siegel's improvement.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToPoints_TheilSen
(
	IList<AvlNet.Point2D> inPoints,
	AvlNet.TheilSenVariant inVariant,
	out AvlNet.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>Input points.
inVariantAvlNet.TheilSenVariantSwitches between Theil-Sen and Siegel methods.
outSegmentAvlNet.Segment2DFitted segment.

Function Overrides

See also