- <init>
Constructs a Coordinate having the same (x,y,z) values asother.
- distance
Computes the 2-dimensional Euclidean distance to another location. The
Z-ordinate is ignored.
- equals
Returns true if other has the same values for the x and y ordinates. Since
Coordinates are 2.5D, thi
- equals2D
Tests if another coordinate has the same values for the X and Y ordinates. The Z
ordinate is ignored
- setOrdinate
Sets the ordinate for the given index to a given value. The supported values for
the index are X, Y,
- equals3D
Returns true if other has the same values for x, y and z.
- setCoordinate
Sets this Coordinates (x,y,z) values to that of other.
- toString
Returns a String of the form (x,y,z) .
- clone
- compareTo
Compares this Coordinate with the specified Coordinate for order. This method
ignores the z value wh
- getOrdinate
Gets the ordinate value for the given index. The supported values for the index
are X, Y, and Z.
- hashCode
Computes a hash code for a double value, using the algorithm from Joshua Bloch's
book Effective Java