kaos.spatial
Class Block3D
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Block3D
public Block3D(java.lang.String id,
Location3D location1,
Location3D location2)
- Parameters:
id
- location
- location2
-
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.