|
OSG
3.4.0
|
#include <GeographicLocation.h>


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 More... | |
| const GeographicLocation | operator- (const GeographicLocation &rhs) const |
| binary vector subtract More... | |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| 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 Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes inherited from osg::Referenced | |
| 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.
Definition at line 28 of file GeographicLocation.h.
|
inline |
|
inline |
Definition at line 33 of file GeographicLocation.h.
|
inline |
Definition at line 57 of file GeographicLocation.h.


|
inline |
Definition at line 50 of file GeographicLocation.h.
|
inline |
Definition at line 53 of file GeographicLocation.h.
|
inline |
Definition at line 51 of file GeographicLocation.h.
|
inline |
Definition at line 54 of file GeographicLocation.h.
|
inline |
Definition at line 36 of file GeographicLocation.h.
|
inline |
binary vector add
Definition at line 60 of file GeographicLocation.h.

|
inline |
binary vector subtract
Definition at line 66 of file GeographicLocation.h.

|
inline |
Definition at line 37 of file GeographicLocation.h.
|
inline |
Definition at line 35 of file GeographicLocation.h.
|
inline |
Definition at line 45 of file GeographicLocation.h.
|
inline |
Definition at line 46 of file GeographicLocation.h.
|
inline |
Definition at line 48 of file GeographicLocation.h.
|
inline |
|
friend |
Definition at line 71 of file GeographicLocation.h.
1.8.8