Class FitPlane3D_F64

java.lang.Object
georegression.fitting.plane.FitPlane3D_F64

public class FitPlane3D_F64 extends Object
Various functions for fitting planes in 3D to point clouds.
  • Constructor Details

    • FitPlane3D_F64

      public FitPlane3D_F64()
  • Method Details

    • svd

      public boolean svd(List<Point3D_F64> points, Point3D_F64 outputCenter, Vector3D_F64 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.
    • solvePoint

      public boolean solvePoint(List<Point3D_F64> points, Point3D_F64 pointOnPlane, Vector3D_F64 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 plane
      outputNormal - (Output) Vector tangent to the plane. Normalized. Modified.
      Returns:
      true if successful or false if it failed.