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

AVS.FitSegmentToPoints3D_LTE Method

Approximates points in 3D with a segment using a RANSAC algorithm.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToPoints3D_LTE
(
	IList<AvlNet.Point3D> inPoints,
	int inSeedSubsetSize,
	int? inEvalSubsetSize,
	out AvlNet.Segment3D outSegment,
	IList<AvlNet.Point3D> outLTInliers,
	out float outLTError,
	out int diagIterationCount
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>
inSeedSubsetSizeint<2, 10>3Number of points in one combination for getting a sample segment. Default value: 3.
inEvalSubsetSizeint?<3, INF>Number of closest points used for evaluation of a sample segment, or Auto if seed points are to be used. Default value: atl::NIL.
outSegmentAvlNet.Segment3DFitted segment.
outLTInliersSystem.Collections.Generic.IList<AvlNet.Point3D>Inlying points of the best LTE segment.
outLTErrorfloatThe Least Trimmed Error.
diagIterationCountintNumber of combinations considered.

Function Overrides

See also