public class Coordinate4D extends Coordinate implements Serializable
Modifier and Type | Field and Description |
---|---|
int |
seriesPoint |
COORDINATE_TYPE_ATLAS, COORDINATE_TYPE_INDEX, COORDINATE_TYPE_MM, COORDINATE_TYPE_WORLD, OUT_OF_RANGE, xDbl, xInt, yDbl, yInt, zDbl, zInt
Constructor and Description |
---|
Coordinate4D(Coordinate coor,
int seriesPoint)
Constructor.
|
Coordinate4D(double x,
double y,
double z,
int seriesPoint)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests equality.
|
int |
getSeriesPoint()
Returns the series point.
|
int |
hashCode()
Compute hash code.
|
void |
setValues(double x,
double y,
double z,
int seriesPoint)
Sets the values of this Coordinate4D.
|
String |
toString()
Returns a string representation of this object.
|
clone, distance, getValues, isAllZeros, isOutOfRange, setValues, setValues, setValuesRound
public Coordinate4D(Coordinate coor, int seriesPoint)
coor
- the Coordinate to copyseriesPoint
- the series pointpublic Coordinate4D(double x, double y, double z, int seriesPoint)
x
- the X locationy
- the Y locationz
- the Z locationseriesPoint
- the series pointpublic boolean equals(Object obj)
equals
in class Coordinate
public int getSeriesPoint()
public int hashCode()
hashCode
in class Coordinate
public void setValues(double x, double y, double z, int seriesPoint)
x
- the X locationy
- the Y locationz
- the Z locationseriesPoint
- the series pointpublic String toString()
toString
in class Coordinate