Class Index | File Index

Classes


Class adf.Extent


Defined in: Extent.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
adf.Extent(xmin, ymin, xmax, ymax)
Represents a given map extent.
Field Summary
Field Attributes Field Name and Description
 
The largest X coordinate of the Extent
 
The smallest X coordinate of the Extent
 
The largest Y coordinate of the Extent
 
The smallest Y coordinate of the Extent
Method Summary
Method Attributes Method Name and Description
 
equals(otherExtent)
Convenience method to check for equality
 
Returns the height of the Extent by subtracting ymin from ymax.
 
Returns the width of the Extent by subtracting xmin from xmax.
 
update(xmin, ymin, xmax, ymax)
Convenience method that sets all 4 Extent fields at once.
Class Detail
adf.Extent(xmin, ymin, xmax, ymax)
Represents a given map extent.
Parameters:
{Number} xmin
{Number} ymin
{Number} xmax
{Number} ymax
Field Detail
{Number} xmax
The largest X coordinate of the Extent

{Number} xmin
The smallest X coordinate of the Extent

{Number} ymax
The largest Y coordinate of the Extent

{Number} ymin
The smallest Y coordinate of the Extent
Method Detail
equals(otherExtent)
Convenience method to check for equality
Parameters:
otherExtent

{Number} getHeight()
Returns the height of the Extent by subtracting ymin from ymax.
Returns:
{Number} the height of the Extent

{Number} getWidth()
Returns the width of the Extent by subtracting xmin from xmax.
Returns:
{Number} the width of the Extent

update(xmin, ymin, xmax, ymax)
Convenience method that sets all 4 Extent fields at once.
Parameters:
{Number} xmin
the smallest X coordinate of the Extent
{Number} ymin
the smallest Y coordinate of the Extent
{Number} xmax
the largest X coordinate of the Extent
{Number} ymax
the largest Y coordinate of the Extent

Documentation generated by JsDoc Toolkit 2.1.0 on Mon May 17 2010 13:45:42 GMT-0700 (PDT)