#include <Geometry.h>
Defines a GPS point
Definition at line 3040 of file Geometry.h.
◆ PointGps() [1/3]
karto::gps::PointGps::PointGps |
( |
| ) |
|
|
inline |
GPS point with longitude and latitude of (0, 0)
Definition at line 3046 of file Geometry.h.
◆ PointGps() [2/3]
Construct GPS point with given longitude and latitude
- Parameters
-
latitude | latitude |
longitude | longitude |
Definition at line 3055 of file Geometry.h.
◆ PointGps() [3/3]
karto::gps::PointGps::PointGps |
( |
const PointGps & |
rOther | ) |
|
|
inline |
◆ AddOffset() [1/2]
void karto::gps::PointGps::AddOffset |
( |
const PointGps & |
rOffset | ) |
|
|
inline |
Adds the given GPS offset to this GPS point
- Parameters
-
rOffset | amount to offset this GPS point by |
Definition at line 3132 of file Geometry.h.
◆ AddOffset() [2/2]
Adds the given GPS offset to this GPS point
- Parameters
-
latitude | amount to offset this GPS point by in the latitude direction |
longitude | amount to offset this GPS point by in the longitude direction |
Definition at line 3142 of file Geometry.h.
◆ Distance()
◆ GetBearing()
◆ GetLatitude()
kt_double karto::gps::PointGps::GetLatitude |
( |
| ) |
const |
|
inline |
Gets the latitude
- Returns
- latitude
Definition at line 3075 of file Geometry.h.
◆ GetLongitude()
kt_double karto::gps::PointGps::GetLongitude |
( |
| ) |
const |
|
inline |
Gets the longitude
- Returns
- longitude
Definition at line 3093 of file Geometry.h.
◆ operator+()
Returns a new GPS point that is the result of component-wise addition of this point and the given point
- Parameters
-
- Returns
- new point that is the component-wise addition of this point and the given point
Definition at line 3204 of file Geometry.h.
◆ operator-()
Returns a new GPS coordinate that is the result of component-wise subtraction of the given point from this point
- Parameters
-
- Returns
- new point that is the component-wise subtracion of the given point from this point
Definition at line 3214 of file Geometry.h.
◆ SetLatitude()
void karto::gps::PointGps::SetLatitude |
( |
kt_double |
latitude | ) |
|
|
inline |
Sets the latitude
- Parameters
-
Definition at line 3084 of file Geometry.h.
◆ SetLongitude()
void karto::gps::PointGps::SetLongitude |
( |
kt_double |
longitude | ) |
|
|
inline |
Sets the longitude
- Parameters
-
Definition at line 3102 of file Geometry.h.
◆ ToString()
const String karto::gps::PointGps::ToString |
( |
| ) |
const |
|
inline |
String representation of this GPS point
- Returns
- string representation of this GPS point
Definition at line 3180 of file Geometry.h.
◆ operator<<
Write this GPS point onto output stream
Definition at line 3192 of file Geometry.h.
The documentation for this class was generated from the following file: