mccombe.mapping
public class XYZ extends java.lang.Object
Constructor and Description |
---|
XYZ()
Creates a new instance of XYZ
|
XYZ(double x,
double y,
double z)
Create a new XYZ coordinate
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compare this XYZ with another Object
|
int |
hashCode()
Provide a hashcode for this XYZ based on the values contained.
|
double |
x()
Get the X component
|
double |
y()
Get the Y component
|
double |
z()
Get the Z component
|
public XYZ()
public XYZ(double x, double y, double z)
x
- The X componenty
- The Y componentz
- Th Z componentpublic double x()
public double y()
public double z()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- - the Objecty to compare to.