![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cGeospatial.h>
Public Member Functions | |
| cGeoPos (double latY=0, double lonX=0) | |
| void | put_Lat (double ny) |
| void | put_Lon (double nx) |
| double | get_Lat () const |
| double | get_Lon () const |
Public Member Functions inherited from GrayLib::cVecT2< double > | |
| cVecT2 () noexcept | |
| cVecT2 (const SUPER_t &v) noexcept | |
| cVecT2 (const double *pVals) | |
| cVecT2 (double n0, double n1) noexcept | |
| const double & | get_X () const noexcept |
| const double & | get_Y () const noexcept |
Public Member Functions inherited from GrayLib::cVecTC< double, 2, cVecT2< double > > | |
| double * | get_T () noexcept |
| const double * | get_CT () const noexcept |
| const cVecT2< double > & | get_CR () const noexcept |
| operator const double * () const noexcept | |
| double | GetElem (int i) const noexcept |
| double | operator[] (int i) const noexcept |
| double & | operator[] (int i) |
| bool | isZero () const noexcept |
| COMPARE_t | Compare (const THIS_t &v2) const noexcept |
| bool | operator== (const THIS_t &v2) const noexcept |
| bool | operator!= (const THIS_t &v2) const noexcept |
| bool | IsNear (const THIS_t &v2, double fDist=(double) k_FLT_MIN2) const |
| double | get_MagnitudeSq () const noexcept |
| double | get_Magnitude () const noexcept |
| cVecT2< double > | operator- () const |
| cVecT2< double > | operator- (const THIS_t &v2) const |
| cVecT2< double > | get_Abs () const |
| cVecT2< double > | GetSum (const THIS_t &v2) const |
| cVecT2< double > | operator+ (const THIS_t &v2) const |
| cVecT2< double > | GetDiff (const THIS_t &v2) const |
| cVecT2< double > | GetScaled (double nScale) const |
| cVecT2< double > | operator* (double nScale) const |
| cVecT2< double > | operator/ (double nScale) const |
| cVecT2< double > | GetMul (const THIS_t &v2) const |
| cVecT2< double > | GetDiv (const THIS_t &v2) const |
| double | GetDistSq (const THIS_t &v2) const |
| double | GetDist (const THIS_t &v2) const |
| double | GetDot (const THIS_t &v2) const |
| cVecT2< double > | get_Normalized () const |
| operator double * () | |
| double & | RefElem (int i) noexcept |
| void | Set (const THIS_t &v) |
| void | SetZero () noexcept |
| double | SetNormalized (void) noexcept |
| bool | put_Magnitude (double nLength) |
| void | SetLerp (const THIS_t &a, const THIS_t &b, DVALUE_t t) |
| const cVecT2< double > & | operator+= (const THIS_t &v2) |
| const cVecT2< double > & | operator+= (double n) |
| const cVecT2< double > & | operator-= (const THIS_t &v2) noexcept |
| const cVecT2< double > & | operator-= (double n) noexcept |
| void | DoScale (double n) noexcept |
| const cVecT2< double > & | operator*= (double nScale) noexcept |
| cVecT2< double > & | operator*= (const THIS_t &v2) noexcept |
| const cVecT2< double > & | operator/= (double nScale) |
| cVecT2< double > & | operator/= (const THIS_t &v2) |
| void | DoMul (const THIS_t &v2) noexcept |
| void | DoDiv (const THIS_t &v2) |
Additional Inherited Members | |
Public Types inherited from GrayLib::cVecT2< double > | |
| typedef cVecT2< double > | THIS_t |
| typedef cVecTC< double, k_nDim, THIS_t > | SUPER_t |
Public Types inherited from GrayLib::cVecTC< double, 2, cVecT2< double > > | |
| typedef double | DVALUE_t |
| Dimension value type. More... | |
| typedef cVecTC< double, _IQTY, cVecT2< double > > | THIS_t |
Static Public Member Functions inherited from GrayLib::cVecTC< double, 2, cVecT2< double > > | |
| static double | GetDot (const THIS_t &v1, const THIS_t &v2) |
Public Attributes inherited from GrayLib::cVecT2< double > | |
| double | m_a [k_nDim] |
| double | m_x |
| double | m_y |
| double | x |
| double | y |
| union { | |
| TYPE m_a [k_nDim] | |
| struct { | |
| TYPE m_x | |
| TYPE m_y | |
| } | |
| struct { | |
| TYPE x | |
| TYPE y | |
| } | |
| }; | |
Static Public Attributes inherited from GrayLib::cVecTC< double, 2, cVecT2< double > > | |
| static const int | k_nDim |
Protected Member Functions inherited from GrayLib::cVecTC< double, 2, cVecT2< double > > | |
| cVecTC () | |
2d position on a globe. (typically Earth) y=latitude, x=longitude. NOT height?? like CVect +- 90 degrees. 0 = equator (lat) and GMT(lon).
|
inline |
|
inline |
< Degrees Latitude = (+)North (US)/(-)South. 0 = equator. equiv to y.
|
inline |
< Degrees Longitude is positive(+) for East and negative(-) for West (US). 0=GMT. equiv to x.
|
inline |
|
inline |