144 lines
6.8 KiB
HTML
144 lines
6.8 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||
|
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE>class osgSim::GeographicLocation</TITLE>
|
||
|
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.6">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
|
||
|
<H2>class <A HREF="#DOC.DOCU">osgSim::GeographicLocation</A></H2></H2><BLOCKQUOTE>Stores a double precision geographic location, latitude and longitude.</BLOCKQUOTE>
|
||
|
<HR>
|
||
|
|
||
|
<H2>Inheritance:</H2>
|
||
|
<APPLET CODE="ClassGraph.class" WIDTH=600 HEIGHT=65>
|
||
|
<param name=classes value="Mosg::Referenced,M,CGeographicLocation,MGeographicLocation.html">
|
||
|
<param name=before value="M,M">
|
||
|
<param name=after value="Md_,M">
|
||
|
<param name=indent value="0,1">
|
||
|
<param name=arrowdir value="down">
|
||
|
</APPLET>
|
||
|
<HR>
|
||
|
|
||
|
<DL>
|
||
|
<P><DL>
|
||
|
<DT><H3>Public Methods</H3><DD><DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.5.1">GeographicLocation</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif> <B><A HREF="#DOC.2.5.2">GeographicLocation</A></B>( double lat, double lon )
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.5.3">operator == </A></B>( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& v) const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.5.4">operator != </A></B>( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& v) const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.5.5">operator < </A></B>( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& v) const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline double* <B><A HREF="#DOC.2.5.6">ptr</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const double* <B><A HREF="#DOC.2.5.7">ptr</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline void <B><A HREF="#DOC.2.5.8">set</A></B>( double lat, double lon )
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline double& <B><A HREF="#DOC.2.5.9">latitude</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline double& <B><A HREF="#DOC.2.5.10">longitude</A></B>()
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline double <B><A HREF="#DOC.2.5.11">latitude</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline double <B><A HREF="#DOC.2.5.12">longitude</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.5.13">valid</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline bool <B><A HREF="#DOC.2.5.14">isNaN</A></B>() const
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeographicLocation.html">GeographicLocation</A> <B><A HREF="#DOC.2.5.15">operator+</A></B>( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& rhs) const
|
||
|
<DD><I>binary vector add</I>
|
||
|
<DT>
|
||
|
<IMG ALT="[more]" BORDER=0 SRC=icon1.gif>inline const <!1><A HREF="GeographicLocation.html">GeographicLocation</A> <B><A HREF="#DOC.2.5.16">operator-</A></B>( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& rhs) const
|
||
|
<DD><I>binary vector subtract</I>
|
||
|
</DL></P>
|
||
|
|
||
|
</DL>
|
||
|
|
||
|
<A NAME="DOC.DOCU"></A>
|
||
|
<HR>
|
||
|
<H2>Documentation</H2>
|
||
|
<BLOCKQUOTE>Stores a double precision geographic location, latitude and longitude.
|
||
|
Derived from Referenced so it can be used as an osg::Object userData.</BLOCKQUOTE>
|
||
|
<DL>
|
||
|
|
||
|
<A NAME="GeographicLocation"></A>
|
||
|
<A NAME="DOC.2.5.1"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> GeographicLocation()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="GeographicLocation"></A>
|
||
|
<A NAME="DOC.2.5.2"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B> GeographicLocation( double lat, double lon )</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="operator == "></A>
|
||
|
<A NAME="DOC.2.5.3"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool operator == ( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& v) const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="operator != "></A>
|
||
|
<A NAME="DOC.2.5.4"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool operator != ( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& v) const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="operator < "></A>
|
||
|
<A NAME="DOC.2.5.5"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool operator < ( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& v) const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ptr"></A>
|
||
|
<A NAME="DOC.2.5.6"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline double* ptr()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="ptr"></A>
|
||
|
<A NAME="DOC.2.5.7"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const double* ptr() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="set"></A>
|
||
|
<A NAME="DOC.2.5.8"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline void set( double lat, double lon )</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="latitude"></A>
|
||
|
<A NAME="DOC.2.5.9"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline double& latitude()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="longitude"></A>
|
||
|
<A NAME="DOC.2.5.10"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline double& longitude()</B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="latitude"></A>
|
||
|
<A NAME="DOC.2.5.11"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline double latitude() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="longitude"></A>
|
||
|
<A NAME="DOC.2.5.12"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline double longitude() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="valid"></A>
|
||
|
<A NAME="DOC.2.5.13"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool valid() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="isNaN"></A>
|
||
|
<A NAME="DOC.2.5.14"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline bool isNaN() const </B></TT>
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="operator+"></A>
|
||
|
<A NAME="DOC.2.5.15"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeographicLocation.html">GeographicLocation</A> operator+( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& rhs) const </B></TT>
|
||
|
<DD>binary vector add
|
||
|
<DL><DT><DD></DL><P>
|
||
|
<A NAME="operator-"></A>
|
||
|
<A NAME="DOC.2.5.16"></A>
|
||
|
<DT><IMG ALT="o" BORDER=0 SRC=icon2.gif><TT><B>inline const <!1><A HREF="GeographicLocation.html">GeographicLocation</A> operator-( const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& rhs) const </B></TT>
|
||
|
<DD>binary vector subtract
|
||
|
<DL><DT><DD></DL><P></DL>
|
||
|
|
||
|
<HR><DL><DT><B>This class has no child classes.</B></DL>
|
||
|
|
||
|
<DL><DT><DT><B>Friends:</B><DD> inline std::ostream& operator << (std::ostream& output, const <!1><A HREF="GeographicLocation.html">GeographicLocation</A>& loc)<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I> <I><A HREF="HIER.html">HTML hierarchy of classes</A> or <A HREF="HIERjava.html">Java</A></I></P><HR>
|
||
|
<BR>
|
||
|
This page was generated with the help of <A HREF="http://www.linuxsupportline.com/~doc++">DOC++</A>.
|
||
|
</BODY>
|
||
|
</HTML>
|