Interface | osid.mapping.SpatialUnit | ||
---|---|---|---|
Implements | osid.OsidPrimitive | ||
osid.Extensible | |||
Description |
A spatial unit can represent a single position or an area constructed of multiple positions or shapes. The data describing the spatial unit is defined in the record indicated by the record type. | ||
Method | getCenterCoordinate | ||
Description |
Gets a single corrdinate to represent the center of this spatial unit. | ||
Return | osid.mapping.Coordinate | the center coordinate | |
Compliance | mandatory | This method must be implemented. | |
Method | getBoundingCoordinates | ||
Description |
Gets a list of bounding coordinates of this spatial unit. | ||
Return | osid.mapping.CoordinateList | the bounding coordinates | |
Compliance | mandatory | This method must be implemented. | |
Method | getSpatialUnitRecord | ||
Description |
Gets the spatial unit record corresponding to the given
| ||
Parameters | osid.type.Type | spatialUnitRecordType | the type of spatial unit record to retrieve |
Return | osid.mapping.records.SpatialUnitRecord | the spatial unit record | |
Errors | NULL_ARGUMENT | spatialUnitRecordType is null | |
UNSUPPORTED | hasRecordType(spatialUnitRecordType) is false | ||
Compliance | mandatory | This method must be implemented. |