Class GeoTuple_I32<T extends GeoTuple_I32<T>>

java.lang.Object
georegression.struct.GeoTuple<T>
georegression.struct.GeoTuple_I32<T>
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Point2D_I16, Point2D_I32, Point3D_I32

public abstract class GeoTuple_I32<T extends GeoTuple_I32<T>> extends GeoTuple<T>
Integer tuple class
See Also:
  • Constructor Details

    • GeoTuple_I32

      public GeoTuple_I32()
  • Method Details

    • isIdentical

      public boolean isIdentical(T t, double tol)
      Checks to see if the two GeoTuple have values which are nearly the same. False is always returned if the dimension is different.
      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.
    • getIdx

      public abstract int getIdx(int index)
      Returns the value of the tuple along the specified coordinate system axis.
      Parameters:
      index - Which axis in the coordinate system.
      Returns:
      Its value.
    • setIdx

      public abstract void setIdx(int index, int value)