You are here: Start » AVL.NET » Invoke.FitPlaneToPoints

Invoke.FitPlaneToPoints

Approximates points with a plane using the Least Squares method.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void FitPlaneToPoints
(
	List<Avl.Point3D> inPoints,
	out Avl.Plane3D outPlane,
	Optional<List<float>> outDistances,
	Optional<float> outSignedDistanceSum,
	Optional<float> outDistanceSum,
	Optional<List<float>> outSquaredDistances,
	Optional<float> outSquaredDistanceSum
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.List<Avl.Point3D>
outPlaneAvl.Plane3DFitted plane.
outDistancesAtl.Optional<System.Collections.Generic.List<float>>Distances of the input points to a resulting plane.
outSignedDistanceSumAtl.Optional<float>Sum of signed distances of the input points to a resulting plane.
outDistanceSumAtl.Optional<float>Sum of distances of the input points to a resulting plane.
outSquaredDistancesAtl.Optional<System.Collections.Generic.List<float>>Squared distances of the input points to a resulting plane.
outSquaredDistanceSumAtl.Optional<float>Sum of squared distances of the input points to a resulting plane.

See also