openscenegraph
|
#include <GeographicLocation>
Public Member Functions | |
GeographicLocation () | |
GeographicLocation (double lat, double lon) | |
bool | operator== (const GeographicLocation &v) const |
bool | operator!= (const GeographicLocation &v) const |
bool | operator< (const GeographicLocation &v) const |
double * | ptr () |
const double * | ptr () const |
void | set (double lat, double lon) |
double & | latitude () |
double & | longitude () |
double | latitude () const |
double | longitude () const |
bool | valid () const |
bool | isNaN () const |
const GeographicLocation | operator+ (const GeographicLocation &rhs) const |
binary vector add | |
const GeographicLocation | operator- (const GeographicLocation &rhs) const |
binary vector subtract | |
![]() | |
Referenced () | |
Referenced (bool threadSafeRefUnref) | |
Referenced (const Referenced &) | |
Referenced & | operator= (const Referenced &) |
virtual void | setThreadSafeRefUnref (bool) |
bool | getThreadSafeRefUnref () const |
OpenThreads::Mutex * | getRefMutex () const |
int | ref () const |
int | unref () const |
int | unref_nodelete () const |
int | referenceCount () const |
ObserverSet * | getObserverSet () const |
ObserverSet * | getOrCreateObserverSet () const |
void | addObserver (Observer *observer) const |
void | removeObserver (Observer *observer) const |
Friends | |
std::ostream & | operator<< (std::ostream &output, const GeographicLocation &loc) |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Stores a double precision geographic location, latitude and longitude. Derived from Referenced so it can be used as an osg::Object userData.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
binary vector add
|
inline |
binary vector subtract
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |