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

Public Member Functions

 TileId ()
 
 TileId (int x, int y, ubyte level, ubyte region, ubyte width, ubyte height)
 
 TileId (Uint64_LowHigh uid)
 
TileId getChildThatContains (vec2d location)
 
uint64_t getId ()
 
Uint64_LowHigh getId_LowHigh ()
 
BoundingBox getBounds ()
 
BoundingBox get3857Bounds ()
 
BoundingBox getNormalized ()
 
int getWidthLevel ()
 
BoundingRange getChildRange (TileId child)
 
Neighbor getNeighbor (TileId other)
 
bool eq (TileId other)
 
bool neq (TileId other)
 

Static Public Member Functions

static TileId fromXYLevelCenter (int x, int y, ubyte level)
 
static TileId fromLocationAndLevelPolar (vec2d location, ubyte level)
 
static TileId fromLocationAndLevelCenter (vec2d location, ubyte level)
 
static TileId fromLocationAndLevel (vec2d location, ubyte level)
 
static TileId getRoot ()
 
static uint getLevel (uint64_t uid)
 
static TreeRegion getRegion (uint64_t uid)
 
static double getMaxArcLength (TileId tileId, BoundingBox bounds)
 

Public Attributes

int x
 
int y
 
ubyte level
 
ubyte region
 
ubyte width
 
ubyte height
 

Constructor & Destructor Documentation

AltusUnified::TileId::TileId ( )
AltusUnified::TileId::TileId ( int  x,
int  y,
ubyte  level,
ubyte  region,
ubyte  width,
ubyte  height 
)
AltusUnified::TileId::TileId ( Uint64_LowHigh  uid)

Member Function Documentation

bool AltusUnified::TileId::eq ( TileId  other)
static TileId AltusUnified::TileId::fromLocationAndLevel ( vec2d  location,
ubyte  level 
)
static
static TileId AltusUnified::TileId::fromLocationAndLevelCenter ( vec2d  location,
ubyte  level 
)
static
static TileId AltusUnified::TileId::fromLocationAndLevelPolar ( vec2d  location,
ubyte  level 
)
static
static TileId AltusUnified::TileId::fromXYLevelCenter ( int  x,
int  y,
ubyte  level 
)
static
BoundingBox AltusUnified::TileId::get3857Bounds ( )
BoundingBox AltusUnified::TileId::getBounds ( )
BoundingRange AltusUnified::TileId::getChildRange ( TileId  child)
TileId AltusUnified::TileId::getChildThatContains ( vec2d  location)
uint64_t AltusUnified::TileId::getId ( )
Uint64_LowHigh AltusUnified::TileId::getId_LowHigh ( )
static uint AltusUnified::TileId::getLevel ( uint64_t  uid)
static
static double AltusUnified::TileId::getMaxArcLength ( TileId  tileId,
BoundingBox  bounds 
)
static
Neighbor AltusUnified::TileId::getNeighbor ( TileId  other)
BoundingBox AltusUnified::TileId::getNormalized ( )
static TreeRegion AltusUnified::TileId::getRegion ( uint64_t  uid)
static
static TileId AltusUnified::TileId::getRoot ( )
static
int AltusUnified::TileId::getWidthLevel ( )
bool AltusUnified::TileId::neq ( TileId  other)

Member Data Documentation

ubyte AltusUnified::TileId::height
ubyte AltusUnified::TileId::level
ubyte AltusUnified::TileId::region
ubyte AltusUnified::TileId::width
int AltusUnified::TileId::x
int AltusUnified::TileId::y