dmBridge PHP API
UNLVSpatialRectObject Class Reference
Inheritance diagram for UNLVSpatialRectObject:

Public Member Functions

Data Fields


Detailed Description

Encapsulates a "spatially enabled" rectangular DMObject. To "spatialize" a given DMObject, call spatializeObject().

Note that this class neither extends nor composes DMObject. Instead, its methods will be "added" to those in the DMObject class when the addAssociatedModel() method is called on the DMObject instance, with an instance of this class supplied as a parameter. (See the user's manual for an explanation of how dmBridge module models work.)

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 22 of file UNLVSpatialRectObject.php.


Member Function Documentation

UNLVSpatialRectObject::getSpatialCenterLat ( )
Returns:
float

Definition at line 31 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::getSpatialCenterLong ( )
Returns:
float

Definition at line 38 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::getSpatialDataSource ( )
Returns:
string Either "metadata" (if parsed from object DC metadata); "local" (for indexed UNLVSpatial objects); or null.

Reimplemented from UNLVSpatialAbstractSpatialObject.

Definition at line 88 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::getSpatialEastLong ( )
Returns:
float

Definition at line 45 of file UNLVSpatialRectObject.php.

Referenced by getSpatialCenterLong(), and isSpatiallyValid().

UNLVSpatialRectObject::getSpatialNorthLat ( )
Returns:
float

Definition at line 59 of file UNLVSpatialRectObject.php.

Referenced by getSpatialCenterLat(), and isSpatiallyValid().

UNLVSpatialRectObject::getSpatialSouthLat ( )
Returns:
float

Definition at line 73 of file UNLVSpatialRectObject.php.

Referenced by getSpatialCenterLat(), and isSpatiallyValid().

UNLVSpatialRectObject::getSpatialWestLong ( )
Returns:
float

Definition at line 103 of file UNLVSpatialRectObject.php.

Referenced by getSpatialCenterLong(), and isSpatiallyValid().

UNLVSpatialRectObject::isSpatiallyValid ( )
Returns:
boolean

Definition at line 117 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::setSpatialDataSource ( source)
Parameters:
stringsource Either "metadata" (if parsed from object DC metadata); "local" (for indexed UNLVSpatial objects); or null.

Reimplemented from UNLVSpatialAbstractSpatialObject.

Definition at line 96 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::setSpatialEastLong ( float)
Parameters:
floatfloat

Definition at line 52 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::setSpatialNorthLat ( float)
Parameters:
floatfloat

Definition at line 66 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::setSpatialSouthLat ( float)
Parameters:
floatfloat

Definition at line 80 of file UNLVSpatialRectObject.php.

UNLVSpatialRectObject::setSpatialWestLong ( float)
Parameters:
floatfloat

Definition at line 110 of file UNLVSpatialRectObject.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables