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

AVS.FitSegmentToPoints_RANSAC Method

Approximates points with a segment using a RANSAC algorithm.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void FitSegmentToPoints_RANSAC
(
	IList<AvlNet.Point2D> inPoints,
	float inMaxInlierDistance,
	out AvlNet.Segment2D? outSegment
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>
inMaxInlierDistancefloat<0.0f, INF>3.0fDistance from the output segment for a point to be considered an inlier. Default value: 3.0f.
outSegmentAvlNet.Segment2D?

Function Overrides

See also