A geographic location in lat/long coordinates.
More...
#include <Point.h>
|
constexpr | Point (const MathSize latitude, const MathSize longitude) noexcept |
| Constructor.
|
|
| Point (const Point &rhs) noexcept=default |
| Copy constructor.
|
|
| Point (Point &&rhs) noexcept=default |
| Move constructor.
|
|
Point & | operator= (const Point &rhs) noexcept=default |
| Copy assignment.
|
|
Point & | operator= (Point &&rhs) noexcept=default |
| Move assignment.
|
|
constexpr MathSize | latitude () const noexcept |
| Latitude (decimal degrees)
|
|
constexpr MathSize | longitude () const noexcept |
| Longitude (decimal degrees)
|
|
|
MathSize | latitude_ |
| Latitude (decimal degrees)
|
|
MathSize | longitude_ |
| Longitude (decimal degrees)
|
|
A geographic location in lat/long coordinates.
◆ Point() [1/3]
fs::topo::Point::Point |
( |
const MathSize | latitude, |
|
|
const MathSize | longitude ) |
|
inlineconstexprnoexcept |
Constructor.
- Parameters
-
latitude | Latitude (decimal degrees) |
longitude | Longitude (decimal degrees) |
◆ Point() [2/3]
fs::topo::Point::Point |
( |
const Point & | rhs | ) |
|
|
defaultnoexcept |
Copy constructor.
- Parameters
-
◆ Point() [3/3]
fs::topo::Point::Point |
( |
Point && | rhs | ) |
|
|
defaultnoexcept |
Move constructor.
- Parameters
-
◆ latitude()
MathSize fs::topo::Point::latitude |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
Latitude (decimal degrees)
- Returns
- Latitude (degrees)
◆ longitude()
MathSize fs::topo::Point::longitude |
( |
| ) |
const |
|
inlinenodiscardconstexprnoexcept |
Longitude (decimal degrees)
- Returns
- Longitude (decimal degrees)
◆ operator=() [1/2]
Point & fs::topo::Point::operator= |
( |
const Point & | rhs | ) |
|
|
defaultnoexcept |
Copy assignment.
- Parameters
-
- Returns
- This, after assignment
◆ operator=() [2/2]
Point & fs::topo::Point::operator= |
( |
Point && | rhs | ) |
|
|
defaultnoexcept |
Move assignment.
- Parameters
-
- Returns
- This, after assignment
The documentation for this class was generated from the following file: