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

AVS.FitSegmentToPoints3D_RANSAC Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToPoints3D_RANSAC
(
	IList<AvlNet.Point3D> inPoints,
	float inMaxInlierDistance,
	INullable<AvlNet.Segment3D> outSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point3D>
inMaxInlierDistancefloat<0.0f, INF>3.0fDistance from the output line for a point to be considered an inlier. Default value: 3.0f.
outSegmentAvlNet.INullable<AvlNet.Segment3D> This parameter cannot be null.

Function Overrides

See also