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

AVS.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
(
	IList<AvlNet.Point3D> inPoints,
	AvlNet.MEstimator? inOutlierSuppression,
	INullable<AvlNet.Segment3D> outSegment,
	NullableRef<List<AvlNet.Point3D>> outInliers
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>
inOutlierSuppressionAvlNet.MEstimator?TukeyDefault value: Tukey.
outSegmentAvlNet.INullable<AvlNet.Segment3D>Fitted segment or nothing if method failed to converge. This parameter cannot be null.
outInliersAvlNet.NullableRef<System.Collections.Generic.List<AvlNet.Point3D>>Points matching the computed segment. Can be null to skip this parameter calculation.

Function Overrides

See also