georegression.fitting.plane
Class FitPlane3D_F32
- java.lang.Object
-
- georegression.fitting.plane.FitPlane3D_F32
-
public class FitPlane3D_F32 extends java.lang.ObjectVarious functions for fitting planes in 3D to point clouds.
-
-
Constructor Summary
Constructors Constructor and Description FitPlane3D_F32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleansvd(java.util.List<Point3D_F32> points, Point3D_F32 outputCenter, Vector3D_F32 outputNormal)SVD based method for fitting a plane to a set of points.booleansvdPoint(java.util.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.
-
-
-
Method Detail
-
svd
public boolean svd(java.util.List<Point3D_F32> points, Point3D_F32 outputCenter, Vector3D_F32 outputNormal)
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.
-
svdPoint
public boolean svdPoint(java.util.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.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG