Class SceneStructureCommon.Point

java.lang.Object
boofcv.abst.geo.bundle.SceneStructureCommon.Point
Enclosing class:
SceneStructureCommon

public static class SceneStructureCommon.Point extends Object
  • Field Details

    • coordinate

      public final double[] coordinate
      Where the point is in the world reference frame. 3D or 4D space
    • views

      public DogArray_I32 views
      Indexes of the views that this point appears in
  • Constructor Details

    • Point

      public Point(int dof)
  • Method Details

    • reset

      public void reset()
    • removeView

      public void removeView(int which)
      Removes the specified view from the list of views. If it's not contained in the list an exception is thrown
      Parameters:
      which - Index of the view which is to be removed
    • set

      public void set(double x, double y, double z)
    • set

      public void set(double x, double y, double z, double w)
    • get

      public void get(Point3D_F64 p)
    • get

      public void get(Point4D_F64 p)
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • getW

      public double getW()
    • distanceSq

      public double distanceSq(Point3D_F64 p)
    • normalizeH

      public void normalizeH()
      Normalize a point in homogenous coordinate so that it's f-norm is 1
    • distance

      public double distance(Point3D_F64 p)
    • distance

      public double distance(SceneStructureCommon.Point p)