Package georegression.fitting.plane
Class FitPlane3D_F32
java.lang.Object
georegression.fitting.plane.FitPlane3D_F32
Various functions for fitting planes in 3D to point clouds.

Constructor Summary

Method Summary
Modifier and TypeMethodDescriptionboolean
solvePoint
(List<Point3D_F32> points, Point3D_F32 pointOnPlane, Vector3D_F32 outputNormal) SVD based method for fitting a plane to a set of points and a known point on the plane.boolean
svd
(List<Point3D_F32> points, Point3D_F32 outputCenter, Vector3D_F32 outputNormal) SVD based method for fitting a plane to a set of points.

Constructor Details

FitPlane3D_F32
public FitPlane3D_F32()


Method Details

svd
SVD based method for fitting a plane to a set of points. The plane's equation is returned as a point on the plane and the normal vector. Parameters:
points
 (Input) Set of points on a plane.outputCenter
 (Output) Centroid of the passed in points. Modified.outputNormal
 (Output) Vector tangent to the plane. Normalized. Modified. Returns:
 true if successful or false if it failed.

solvePoint
public boolean solvePoint(List<Point3D_F32> points, Point3D_F32 pointOnPlane, Vector3D_F32 outputNormal) SVD based method for fitting a plane to a set of points and a known point on the plane. The plane's equation is returned as a point on the plane and the normal vector. Parameters:
points
 (Input)Set of points on a plane.pointOnPlane
 (Input) A known point on the planeoutputNormal
 (Output) Vector tangent to the plane. Normalized. Modified. Returns:
 true if successful or false if it failed.
