| Package | com.esri.aws.awx.geom |
| Class | public class Extent |
| Implements | com.esri.aws.awx.rtree.IExtentObject |
| Property | Defined by | ||
|---|---|---|---|
| maxX : Number
The maximum x-coordinate of the extent.
| Extent | ||
| maxY : Number
The maximum y-coordinate of the extent.
| Extent | ||
| minX : Number
The minimum x-coordinate of the extent.
| Extent | ||
| minY : Number
The minimum y-coordinate of the extent.
| Extent | ||
| Method | Defined by | ||
|---|---|---|---|
|
Returns a cloned instance of this extent.
| Extent | ||
|
contains(x:Number, y:Number):Boolean
Indicates whether a point is within the extent.
| Extent | ||
|
containsExtent(env:Extent):Boolean
Indicates whether this extent contains another extent.
| Extent | ||
|
containsPoint(pt:GeoPoint):Boolean
Indicates whether the extent contains the given point.
| Extent | ||
|
createBuffer(percent:Number):Extent
Creates an extent that is
percent larger. | Extent | ||
|
[static]
Creates an empty extent, where minX > maxX and minY > maxY.
| Extent | ||
|
createExtentByGeoPoints(geoPoints:Array):Extent
[static]
Creates an extent by specifying an array of coordinates and is merely included because there's no method overloading in Flex.
| Extent | ||
|
createExtentMinMax(xmin:Number, ymin:Number, xmax:Number, ymax:Number):Extent
[static]
Creates an extent by specifying min/max x/y.
| Extent | ||
|
disjointExtent(env:Extent):Boolean
Indicates whether this extent is disjointed from another extent (no intersection).
| Extent | ||
|
equalsExtent(extent:Extent):Boolean
Indicates that a given extent is exactly equal to this extent.
| Extent | ||
|
isEmpty():Boolean
Returns true if minX > maxX and minY > maxY (which indicates an empty extent),
false otherwise.
| Extent | ||
|
union(x:Number, y:Number):void
Adds a point to the extent.
| Extent | ||
|
unionExtent(env:Extent):void
Performs a union operation with another extent and changes 'this' extent.
| Extent | ||
|
unionPoint(pt:GeoPoint):void
Adds a point to the extent.
| Extent | ||
| maxX | property |
public var maxX:NumberThe maximum x-coordinate of the extent.
| maxY | property |
public var maxY:NumberThe maximum y-coordinate of the extent.
| minX | property |
public var minX:NumberThe minimum x-coordinate of the extent.
| minY | property |
public var minY:NumberThe minimum y-coordinate of the extent.
| clone | () | method |
public function clone():ExtentReturns a cloned instance of this extent.
ReturnsExtent —
cloned instance of this extent.
|
| contains | () | method |
public function contains(x:Number, y:Number):BooleanIndicates whether a point is within the extent.
Parametersx:Number — the latitude of the point
|
|
y:Number — the longitude of the point
|
Boolean |
| containsExtent | () | method |
public function containsExtent(env:Extent):BooleanIndicates whether this extent contains another extent.
Parametersenv:Extent — other extent.
|
Boolean — True if this extent contains the passed extent.
|
| containsPoint | () | method |
public function containsPoint(pt:GeoPoint):BooleanIndicates whether the extent contains the given point.
Parameterspt:GeoPoint — the point
|
Boolean |
| createBuffer | () | method |
public function createBuffer(percent:Number):Extent
Creates an extent that is percent larger.
percent:Number — the percentage amount by (0-1) which to buffer the extent.
|
Extent —
The buffered extent.
|
| createEmptyExtent | () | method |
public static function createEmptyExtent():ExtentCreates an empty extent, where minX > maxX and minY > maxY.
ReturnsExtent —
A new Extent that's initially empty.
|
| createExtentByGeoPoints | () | method |
public static function createExtentByGeoPoints(geoPoints:Array):ExtentCreates an extent by specifying an array of coordinates and is merely included because there's no method overloading in Flex.
ParametersgeoPoints:Array — an array of GeoPoints.
|
Extent —
A new extent that conceptually contains the passed geoPoints.
|
| createExtentMinMax | () | method |
public static function createExtentMinMax(xmin:Number, ymin:Number, xmax:Number, ymax:Number):ExtentCreates an extent by specifying min/max x/y.
Parametersxmin:Number — Minimum x.
|
|
ymin:Number — Minimum y.
|
|
xmax:Number — Maximum x.
|
|
ymax:Number — Maximum y.
|
Extent —
The new extent.
|
| disjointExtent | () | method |
public function disjointExtent(env:Extent):BooleanIndicates whether this extent is disjointed from another extent (no intersection).
Parametersenv:Extent — other extent.
|
Boolean — True if disjointed else false.
|
| equalsExtent | () | method |
public function equalsExtent(extent:Extent):BooleanIndicates that a given extent is exactly equal to this extent. All comparisons are absolute not relative.
Parametersextent:Extent |
Boolean — True if equal, else false.
|
| isEmpty | () | method |
public function isEmpty():BooleanReturns true if minX > maxX and minY > maxY (which indicates an empty extent), false otherwise.
ReturnsBoolean |
| union | () | method |
public function union(x:Number, y:Number):voidAdds a point to the extent. THIS ASSUMES YOU HAVE AN EXISTING VALID EXTENT. To use this, construct the extent with the first point and union() all the other points.
Parametersx:Number — the latitude of the point
|
|
y:Number — the longitude of the point
|
| unionExtent | () | method |
public function unionExtent(env:Extent):voidPerforms a union operation with another extent and changes 'this' extent.
Parametersenv:Extent — the extent (the other extent)
|
| unionPoint | () | method |
public function unionPoint(pt:GeoPoint):voidAdds a point to the extent. THIS ASSUMES YOU HAVE AN EXISTING VALID EXTENT. To use this, construct the extent with the first point and union() all the other points.
Parameterspt:GeoPoint — the point
|