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()
           
Block3D(java.lang.String id, Location3D location1, Location3D location2)
           
 
Method Summary
 java.lang.String getModificationType()
          Get the type of modification to make in the Directory Service and SpatialReasoner.
 java.lang.String getMyId()
           
 Location3D getOppositeCornerLocation()
           
 Location3D getPivotalCornerLocation()
           
 void setModificationType(java.lang.String modType)
          Set the type of modification to make in the Directory Service and SpatialReasoner.
 void setOppositeCornerLocation(Location3D oppositeCornerLocation)
           
 void setPivotalCornerLocation(Location3D pivotalCornerLocation)
           
 java.lang.String toString()
          A utility method to create a String representation of the Orientation3D.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Block3D

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

Block3D

public Block3D()
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.

setModificationType

public void setModificationType(java.lang.String modType)
Set the type of modification to make in the Directory Service and SpatialReasoner.

Parameters:
modType - String indicating the type of update in the DS and Spatial Reasoner.

getModificationType

public java.lang.String getModificationType()
Get the type of modification to make in the Directory Service and SpatialReasoner.

Returns:
String containing the type of modification to make in the DS and Spatial Reasoner.

toString

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

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