class osgSim::GeographicLocation

Stores a double precision geographic location, latitude and longitude.

Inheritance:


Public Methods

[more] GeographicLocation()
[more] GeographicLocation( double lat, double lon )
[more]inline bool operator == ( const GeographicLocation& v) const
[more]inline bool operator != ( const GeographicLocation& v) const
[more]inline bool operator < ( const GeographicLocation& v) const
[more]inline double* ptr()
[more]inline const double* ptr() const
[more]inline void set( double lat, double lon )
[more]inline double& latitude()
[more]inline double& longitude()
[more]inline double latitude() const
[more]inline double longitude() const
[more]inline bool valid() const
[more]inline bool isNaN() const
[more]inline const GeographicLocation operator+( const GeographicLocation& rhs) const
binary vector add
[more]inline const GeographicLocation operator-( const GeographicLocation& rhs) const
binary vector subtract


Documentation

Stores a double precision geographic location, latitude and longitude. Derived from Referenced so it can be used as an osg::Object userData.
o GeographicLocation()

o GeographicLocation( double lat, double lon )

oinline bool operator == ( const GeographicLocation& v) const

oinline bool operator != ( const GeographicLocation& v) const

oinline bool operator < ( const GeographicLocation& v) const

oinline double* ptr()

oinline const double* ptr() const

oinline void set( double lat, double lon )

oinline double& latitude()

oinline double& longitude()

oinline double latitude() const

oinline double longitude() const

oinline bool valid() const

oinline bool isNaN() const

oinline const GeographicLocation operator+( const GeographicLocation& rhs) const
binary vector add

oinline const GeographicLocation operator-( const GeographicLocation& rhs) const
binary vector subtract


This class has no child classes.
Friends:
inline std::ostream& operator << (std::ostream& output, const GeographicLocation& loc)

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.