kaos.spatial
Class Location3D

java.lang.Object
  extended by 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()
           
Location3D(java.lang.String id)
           
Location3D(java.lang.String id, double coordiante1, double coordinate2, double coordiante3)
           
 
Method Summary
 java.lang.String getModificationType()
           
 java.lang.String getMyId()
           
 double getXCoordiante()
           
 double getYCoordinate()
           
 double getZCoordiante()
           
 void setModificationType(java.lang.String modType)
           
 void setXCoordiante(double coordiante)
           
 void setYCoordinate(double coordinate)
           
 void setZCoordiante(double coordiante)
           
 java.lang.String toString()
          A utility method to create a String representation of the Location3D.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location3D

public Location3D(java.lang.String id,
                  double coordiante1,
                  double coordinate2,
                  double coordiante3)
Parameters:
id -
coordiante -
coordinate -
coordiante2 -

Location3D

public Location3D()

Location3D

public Location3D(java.lang.String id)
Method Detail

getXCoordiante

public double getXCoordiante()

setXCoordiante

public void setXCoordiante(double coordiante)

getYCoordinate

public double getYCoordinate()

setYCoordinate

public void setYCoordinate(double coordinate)

getZCoordiante

public double getZCoordiante()

setZCoordiante

public void setZCoordiante(double coordiante)

getMyId

public java.lang.String getMyId()
Returns:
Returns the myId.

setModificationType

public void setModificationType(java.lang.String modType)

getModificationType

public java.lang.String getModificationType()

toString

public java.lang.String toString()
A utility method to create a String representation of the Location3D.

Overrides:
toString in class java.lang.Object
Returns:
String representing the Location3D.