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

Represents a two dimensional location using latitude and longitude. More...

Public Member Functions

 GeographicPosition2D ()
 
 GeographicPosition2D (double latitude, double longitude)
 
 GeographicPosition2D (GeographicPosition geoPos)
 
string toString ()
 
bool eq (GeographicPosition2D other)
 

Public Attributes

double latitude
 Degrees of latitude (-90 to 90) More...
 
double longitude
 Degress of longitude (-180 to 180) More...
 

Detailed Description

Represents a two dimensional location using latitude and longitude.

Constructor & Destructor Documentation

AltusUnified::GeographicPosition2D::GeographicPosition2D ( )
AltusUnified::GeographicPosition2D::GeographicPosition2D ( double  latitude,
double  longitude 
)
AltusUnified::GeographicPosition2D::GeographicPosition2D ( GeographicPosition  geoPos)

Member Function Documentation

bool AltusUnified::GeographicPosition2D::eq ( GeographicPosition2D  other)
string AltusUnified::GeographicPosition2D::toString ( )

Member Data Documentation

double AltusUnified::GeographicPosition2D::latitude

Degrees of latitude (-90 to 90)

double AltusUnified::GeographicPosition2D::longitude

Degress of longitude (-180 to 180)