Documentation of 'georegression.fitting.plane.FitPlane3D_F32' Java class
FitPlane3D_F32
georegression.fitting.plane

Class FitPlane3D_F32



  • public class FitPlane3D_F32
    extends java.lang.Object
    Various 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
      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.
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FitPlane3D_F32

        public FitPlane3D_F32()
    • 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 plane
        outputNormal - (Output) Vector tangent to the plane. Normalized. Modified.
        Returns:
        true if successful or false if it failed.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.