Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 | SDK Documentation | Builds | BA3 Home |
Public Member Functions | |
GeoBoundingBox () | |
Constructor More... | |
GeoBoundingBox (double minX, double minY, double maxX, double maxY) | |
Constructor More... | |
GeoBoundingBox (vec2d min, vec2d max) | |
Constructor More... | |
GeoBoundingBox (VectorVec2d points) | |
Constructor More... | |
bool | intersects (BoundingBox a, BoundingBox b) |
Does the passed BoundingBox a intersect box b? More... | |
bool | intersects (BoundingBox box) |
Does the passed BoundingBox intersect this one? More... | |
bool | contains (vec2d point) |
Does this BoundingBox contain a point? More... | |
BoundingBox | toBoundingBox () |
Constructs and returns a BoundingBox with the bounds of this GeoBoundingBox More... | |
bool | crossesMeridian () |
VectorGeoBoundingBox | splitAcrossMeridian () |
vec2d | bottomLeft () |
The bottom left corner of this GeoBoundingBox as a vec2d. More... | |
void | bottomLeft_set (vec2d val) |
vec2d | topRight () |
The top right corner of this GeoBoundingBox as a vec2d. More... | |
void | topRight_set (vec2d val) |
AltusUnified::GeoBoundingBox::GeoBoundingBox | ( | ) |
Constructor
AltusUnified::GeoBoundingBox::GeoBoundingBox | ( | double | minX, |
double | minY, | ||
double | maxX, | ||
double | maxY | ||
) |
Constructor
minX | The minimum x value in decimal degrees |
minY | The minimum y value in decimal degrees |
maxX | The maximum x value in decimal degrees |
maxY | The maximum y value in decimal degrees |
AltusUnified::GeoBoundingBox::GeoBoundingBox | ( | VectorVec2d | points | ) |
Constructor
points | A vector of vec2d's containing the minimum and maximum points of the box, in decimal degrees: point1 (minX, minY), point2 (maxX, maxY) |
vec2d AltusUnified::GeoBoundingBox::bottomLeft | ( | ) |
The bottom left corner of this GeoBoundingBox as a vec2d.
void AltusUnified::GeoBoundingBox::bottomLeft_set | ( | vec2d | val | ) |
bool AltusUnified::GeoBoundingBox::contains | ( | vec2d | point | ) |
Does this BoundingBox contain a point?
point | A vec2d describing the point to test |
bool AltusUnified::GeoBoundingBox::crossesMeridian | ( | ) |
bool AltusUnified::GeoBoundingBox::intersects | ( | BoundingBox | a, |
BoundingBox | b | ||
) |
Does the passed BoundingBox a intersect box b?
a | BoundingBox a |
b | BoundingBox b |
bool AltusUnified::GeoBoundingBox::intersects | ( | BoundingBox | box | ) |
Does the passed BoundingBox intersect this one?
box | A BoundingBox to test for intersection with this box |
VectorGeoBoundingBox AltusUnified::GeoBoundingBox::splitAcrossMeridian | ( | ) |
BoundingBox AltusUnified::GeoBoundingBox::toBoundingBox | ( | ) |
Constructs and returns a BoundingBox with the bounds of this GeoBoundingBox
vec2d AltusUnified::GeoBoundingBox::topRight | ( | ) |
The top right corner of this GeoBoundingBox as a vec2d.
void AltusUnified::GeoBoundingBox::topRight_set | ( | vec2d | val | ) |