|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpatialDatabase
This interface defines methods allowing for manipulation of spatial database information.
Method Summary | |
---|---|
Location3D |
getObjectLocation(java.lang.String objectID)
This method allows to obtain location of a known spatial object. |
java.util.Set |
getObjectOntologicalTypes(java.lang.String objectID)
This method allows to obtain location of a known spatial object. |
Orientation3D |
getObjectOrientation(java.lang.String objectID)
This method allows to obtain orientation of a known spatial object. |
Block3D |
getOccupiedSpace(java.lang.String objectID)
This method allows to obtain aproximation of the occupied space of a known spatial object. |
void |
registerSpatialObject(java.lang.String objectID,
java.util.Set objectOntologyTypes,
Location3D objectLocation,
Orientation3D objectOrientation,
Block3D objectOccupedSpace)
This method allows to add information about a new spatial object. |
void |
updateSpatialObject(java.lang.String objectID,
Location3D objectLocation,
Orientation3D objectOrientation,
Block3D objectOccupedSpace)
This method allows to modify information about a known spatial object. |
Method Detail |
---|
void registerSpatialObject(java.lang.String objectID, java.util.Set objectOntologyTypes, Location3D objectLocation, Orientation3D objectOrientation, Block3D objectOccupedSpace) throws AlreadyRegisteredException
objectID
- - id of the registered objectobjectOntologyType
- - set of @see java.net.URI in the OWL ontology file to the definition of the object classobjectLocation
- - initial location of the object represnted as @see Location3DobjectOrientation
- - initial orientation of the object represnted as @see Orientation3DobjectOccupedSpace
- - initial space occupied by the object represnted as @see Block3D
AlreadyRegisteredException
- when the object is already registered in the spatial databasevoid updateSpatialObject(java.lang.String objectID, Location3D objectLocation, Orientation3D objectOrientation, Block3D objectOccupedSpace) throws NotRegisteredException
objectID
- - id of the updated objectobjectLocation
- - new location of the object represnted as @see Location3DobjectOrientation
- - new orientation of the object represnted as @see Orientation3DobjectOccupedSpace
- - new space occupied by the object represnted as @see Block3D
NotRegisteredException
- when the object is not registered in the spatial databasejava.util.Set getObjectOntologicalTypes(java.lang.String objectID) throws NotRegisteredException
objectID
- - id of the object
NotRegisteredException
- when the object is not registered in the spatial databaseLocation3D getObjectLocation(java.lang.String objectID) throws NotRegisteredException
objectID
- - id of the object
return @see Location3D - object containg location coordinates as xyz
NotRegisteredException
- when the object is not registered in the spatial databaseOrientation3D getObjectOrientation(java.lang.String objectID) throws NotRegisteredException
objectID
- - id of the object
return @see Orientation3D - object containg orientation as xyz radiuses
NotRegisteredException
- when the object is not registered in the spatial databaseBlock3D getOccupiedSpace(java.lang.String objectID) throws NotRegisteredException
objectID
- - id of the object
return @see Block3D - object containg inforationas about an occupied space as a 3d block
NotRegisteredException
- when the object is not registered in the spatial database
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |