Altus Mapping Engine JavaScript API Reference - v2.0.ut.2153.g60764257e - Tuesday May 16, 2022 SDK Documentation | Builds | BA3 Home
AltusUnified::BoundingRange Class Reference

Public Member Functions

 BoundingRange ()
 Constructor Initializez x and y to 0, width and height to 1 More...
 
 BoundingRange (int x, int y, int width, int height)
 Constructor More...
 
bool eq (BoundingRange other)
 Does this BoundingRange equal another? More...
 
size_t getHash ()
 Gets the hash for this BoundingRange More...
 

Public Attributes

int x
 
int y
 
int width
 
int height
 

Constructor & Destructor Documentation

AltusUnified::BoundingRange::BoundingRange ( )

Constructor Initializez x and y to 0, width and height to 1

AltusUnified::BoundingRange::BoundingRange ( int  x,
int  y,
int  width,
int  height 
)

Constructor

Parameters
xThe minimum x value of this range
yThe minimum y value of this range
widthThe x length of this range
heightThe y length of this range

Member Function Documentation

bool AltusUnified::BoundingRange::eq ( BoundingRange  other)

Does this BoundingRange equal another?

Parameters
otherThe other BoundingRange
size_t AltusUnified::BoundingRange::getHash ( )

Gets the hash for this BoundingRange

Member Data Documentation

int AltusUnified::BoundingRange::height
int AltusUnified::BoundingRange::width
int AltusUnified::BoundingRange::x
int AltusUnified::BoundingRange::y