Class SceneStructureCommon.Point

  • Enclosing class:
    SceneStructureCommon

    public static class SceneStructureCommon.Point
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double[] coordinate
      Where the point is in the world reference frame.
      org.ddogleg.struct.GrowQueue_I32 views
      Indexes of the views that this point appears in
    • Constructor Summary

      Constructors 
      Constructor Description
      Point​(int dof)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double distance​(SceneStructureCommon.Point p)  
      double distance​(georegression.struct.point.Point3D_F64 p)  
      double distanceSq​(georegression.struct.point.Point3D_F64 p)  
      void get​(georegression.struct.point.Point3D_F64 p)  
      void get​(georegression.struct.point.Point4D_F64 p)  
      double getW()  
      double getX()  
      double getY()  
      double getZ()  
      void normalizeH()
      Normalize a point in homogenous coordinate so that it's f-norm is 1
      void removeView​(int which)
      Removes the specified view from the list of views.
      void reset()  
      void set​(double x, double y, double z)  
      void set​(double x, double y, double z, double w)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • coordinate

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

        public org.ddogleg.struct.GrowQueue_I32 views
        Indexes of the views that this point appears in
    • Constructor Detail

      • Point

        public Point​(int dof)
    • Method Detail

      • 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​(georegression.struct.point.Point3D_F64 p)
      • get

        public void get​(georegression.struct.point.Point4D_F64 p)
      • getX

        public double getX()
      • getY

        public double getY()
      • getZ

        public double getZ()
      • getW

        public double getW()
      • distanceSq

        public double distanceSq​(georegression.struct.point.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​(georegression.struct.point.Point3D_F64 p)