kaos.spatial
Class Block3D

java.lang.Object
  extended by kaos.spatial.Block3D
All Implemented Interfaces:
java.io.Serializable

public class Block3D
extends java.lang.Object
implements java.io.Serializable

This class represents 3D block of space.

See Also:
Serialized Form

Constructor Summary
Block3D(java.lang.String id, Location3D location1, Location3D location2)
           
 
Method Summary
 java.lang.String getMyId()
           
 Location3D getOppositeCornerLocation()
           
 Location3D getPivotalCornerLocation()
           
 void setOppositeCornerLocation(Location3D oppositeCornerLocation)
           
 void setPivotalCornerLocation(Location3D pivotalCornerLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Block3D

public Block3D(java.lang.String id,
               Location3D location1,
               Location3D location2)
Parameters:
id -
location -
location2 -
Method Detail

getOppositeCornerLocation

public Location3D getOppositeCornerLocation()
Returns:
Returns the oppositeCornerLocation.

setOppositeCornerLocation

public void setOppositeCornerLocation(Location3D oppositeCornerLocation)
Parameters:
oppositeCornerLocation - The oppositeCornerLocation to set.

getPivotalCornerLocation

public Location3D getPivotalCornerLocation()
Returns:
Returns the pivotalCornerLocation.

setPivotalCornerLocation

public void setPivotalCornerLocation(Location3D pivotalCornerLocation)
Parameters:
pivotalCornerLocation - The pivotalCornerLocation to set.

getMyId

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