You are here: Start » AVL.NET » AVL.FitSegmentToPoints3D Method

AVL.FitSegmentToPoints3D Method

Approximates points in 3D with a segment using selected outliers suppression method.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToPoints3D(
	AvlNet.Point3D[] inPoints,
	AvlNet.MEstimator? inOutlierSuppression,
	out AvlNet.Segment3D? outSegment
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point3D
inOutlierSuppressionAvlNet.MEstimator?TukeyDefault value: Tukey, or null.
outSegmentAvlNet.Segment3D?Fitted segment or nothing if method failed to converge.

Errors

Error type Description
DomainError Empty point array on input in FitSegmentToPoints3D.

See also