kaos.spatial
Class SpatialObject
java.lang.Object
kaos.spatial.SpatialObject
- All Implemented Interfaces:
- java.io.Serializable
public class SpatialObject
- extends java.lang.Object
- implements java.io.Serializable
This class represents spatial object.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpatialObject
public SpatialObject(java.lang.String id,
java.util.Set types,
Location3D location,
Orientation3D orientation,
Block3D space)
- Parameters:
id - types - location - orientation - space -
SpatialObject
public SpatialObject(java.lang.String id,
java.util.Set types,
Location3D location,
Orientation3D orientation,
Block3D space,
java.util.Vector<Location3D> boundingPoints)
- Parameters:
id - types - location - orientation - space - boundingPoints -
getMyLocation
public Location3D getMyLocation()
- Returns:
- Returns the myLocation.
setMyLocation
public void setMyLocation(Location3D myLocation)
- Parameters:
myLocation - The myLocation to set.
getMyOccupiedSpace
public Block3D getMyOccupiedSpace()
- Returns:
- Returns the myOccupiedSpace.
setMyOccupiedSpace
public void setMyOccupiedSpace(Block3D myOccupiedSpace)
- Parameters:
myOccupiedSpace - The myOccupiedSpace to set.
getMyOntologyTypes
public java.util.Set getMyOntologyTypes()
- Returns:
- Returns the myOntologyTypes.
setMyOntologyTypes
public void setMyOntologyTypes(java.util.Set myOntologyTypes)
- Parameters:
myOntologyTypes - The myOntologyTypes to set.
getMyOrientation
public Orientation3D getMyOrientation()
- Returns:
- Returns the myOrientation.
setMyOrientation
public void setMyOrientation(Orientation3D myOrientation)
- Parameters:
myOrientation - The myOrientation to set.
getMyBoundingPoints
public java.util.Vector getMyBoundingPoints()
- Returns:
- Returns the myBoundingPoints.
setMyBoundingPoints
public void setMyBoundingPoints(java.util.Vector myBoundingPoints)
- Parameters:
myBoundingPoints - The myBoundingPoints to set.
getMyId
public java.lang.String getMyId()
- Returns:
- Returns the myId.