Documentation of 'georegression.struct.GeoTuple4D_F64' Java class
GeoTuple4D_F64
georegression.struct

Class GeoTuple4D_F64<T extends GeoTuple4D_F64>

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Point4D_F64, Vector4D_F64


    public abstract class GeoTuple4D_F64<T extends GeoTuple4D_F64>
    extends GeoTuple_F64<T>
    Generic Tuple for geometric objects that store (x,y,z,w)
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      double w 
      double x 
      double y 
      double z 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double distance(GeoTuple4D_F64 t) 
      double distance2(GeoTuple4D_F64 t) 
      int getDimension()
      The dimensionality of space the tuple is contained in and the number of values it has.
      double getIndex(int index)
      Returns the value of the tuple along the specified coordinate system axis.
      double getW() 
      double getX() 
      double getY() 
      double getZ() 
      boolean isIdentical(double x, double y, double z, double w) 
      boolean isIdentical(double x, double y, double z, double w, double tol) 
      boolean isIdentical(GeoTuple4D_F64 t, double tol)
      Checks to see if the two GeoTuple have values which are nearly the same.
      boolean isNaN() 
      double norm()
      Computes the Euclidean norm.
      double normSq()
      Computes the square of the Euclidean norm.
      void print() 
      void set(double x, double y, double z, double w) 
      void setIndex(int index, double value) 
      void setW(double w) 
      void setX(double x) 
      void setY(double y) 
      void setZ(double z) 
      • Methods inherited from class java.lang.Object

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

      • x

        public double x
      • y

        public double y
      • z

        public double z
      • w

        public double w
    • Constructor Detail

      • GeoTuple4D_F64

        public GeoTuple4D_F64(double x,
                              double y,
                              double z,
                              double w)
      • GeoTuple4D_F64

        public GeoTuple4D_F64()
    • Method Detail

      • getDimension

        public int getDimension()
        Description copied from class: GeoTuple
        The dimensionality of space the tuple is contained in and the number of values it has.
        Specified by:
        getDimension in class GeoTuple<T extends GeoTuple4D_F64>
        Returns:
        Dimensionality of the object.
      • set

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

        public boolean isIdentical(double x,
                                   double y,
                                   double z,
                                   double w)
      • isIdentical

        public boolean isIdentical(double x,
                                   double y,
                                   double z,
                                   double w,
                                   double tol)
      • isIdentical

        public boolean isIdentical(GeoTuple4D_F64 t,
                                   double tol)
        Description copied from class: GeoTuple_F64
        Checks to see if the two GeoTuple have values which are nearly the same. False is always returned if the dimension is different.
        Overrides:
        isIdentical in class GeoTuple_F64<T extends GeoTuple4D_F64>
        Parameters:
        t - The GeoTuple it is being compared against.
        tol - How similar each element must be for them to be considered identical.
        Returns:
        if they are identical or not.
      • getX

        public double getX()
      • getY

        public double getY()
      • getZ

        public double getZ()
      • getW

        public double getW()
      • getIndex

        public double getIndex(int index)
        Description copied from class: GeoTuple_F64
        Returns the value of the tuple along the specified coordinate system axis.
        Specified by:
        getIndex in class GeoTuple_F64<T extends GeoTuple4D_F64>
        Parameters:
        index - Which axis in the coordinate system.
        Returns:
        Its value.
      • print

        public void print()
      • isNaN

        public boolean isNaN()
      • setX

        public void setX(double x)
      • setY

        public void setY(double y)
      • setZ

        public void setZ(double z)
      • setW

        public void setW(double w)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.