kaos.spatial
Class Location3D
java.lang.Object
kaos.spatial.Location3D
- All Implemented Interfaces:
- java.io.Serializable
public class Location3D
- extends java.lang.Object
- implements java.io.Serializable
This class represent 3D location information in the form of xyz coordinates.
- See Also:
- Serialized Form
Constructor Summary |
Location3D(java.lang.String id,
float coordiante1,
float coordinate2,
float coordiante3)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Location3D
public Location3D(java.lang.String id,
float coordiante1,
float coordinate2,
float coordiante3)
- Parameters:
id
- coordiante
- coordinate
- coordiante2
-
getXCoordiante
public float getXCoordiante()
setXCoordiante
public void setXCoordiante(float coordiante)
getYCoordinate
public float getYCoordinate()
setYCoordinate
public void setYCoordinate(float coordinate)
getZCoordiante
public float getZCoordiante()
setZCoordiante
public void setZCoordiante(float coordiante)
getMyId
public java.lang.String getMyId()
- Returns:
- Returns the myId.