FireSTARR
Loading...
Searching...
No Matches
fs::topo::Point Class Reference

A geographic location in lat/long coordinates. More...

#include <Point.h>

Inheritance diagram for fs::topo::Point:

Public Member Functions

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.
 
Pointoperator= (const Point &rhs) noexcept=default
 Copy assignment.
 
Pointoperator= (Point &&rhs) noexcept=default
 Move assignment.
 
constexpr MathSize latitude () const noexcept
 Latitude (decimal degrees)
 
constexpr MathSize longitude () const noexcept
 Longitude (decimal degrees)
 

Private Attributes

MathSize latitude_
 Latitude (decimal degrees)
 
MathSize longitude_
 Longitude (decimal degrees)
 

Detailed Description

A geographic location in lat/long coordinates.

Constructor & Destructor Documentation

◆ Point() [1/3]

fs::topo::Point::Point ( const MathSize latitude,
const MathSize longitude )
inlineconstexprnoexcept

Constructor.

Parameters
latitudeLatitude (decimal degrees)
longitudeLongitude (decimal degrees)

◆ Point() [2/3]

fs::topo::Point::Point ( const Point & rhs)
defaultnoexcept

Copy constructor.

Parameters
rhsPoint to copy from

◆ Point() [3/3]

fs::topo::Point::Point ( Point && rhs)
defaultnoexcept

Move constructor.

Parameters
rhsPoint to move from

Member Function Documentation

◆ latitude()

MathSize fs::topo::Point::latitude ( ) const
inlinenodiscardconstexprnoexcept

Latitude (decimal degrees)

Returns
Latitude (degrees)
Here is the caller graph for this function:

◆ longitude()

MathSize fs::topo::Point::longitude ( ) const
inlinenodiscardconstexprnoexcept

Longitude (decimal degrees)

Returns
Longitude (decimal degrees)
Here is the caller graph for this function:

◆ operator=() [1/2]

Point & fs::topo::Point::operator= ( const Point & rhs)
defaultnoexcept

Copy assignment.

Parameters
rhsPoint to copy from
Returns
This, after assignment
Here is the caller graph for this function:

◆ operator=() [2/2]

Point & fs::topo::Point::operator= ( Point && rhs)
defaultnoexcept

Move assignment.

Parameters
rhsPoint to move from
Returns
This, after assignment

The documentation for this class was generated from the following file: