sac-format 0.6.0
C++20 SAC (Seismic Analysis Code) File Library
Loading...
Searching...
No Matches
sacfmt::point Struct Reference

Defines a geographic point (latitude, longitude) More...

#include <sac_format.hpp>

Collaboration diagram for sacfmt::point:

Public Member Functions

 point (coord lat, coord lon) noexcept
 Construct point from latitude and longitude.
 

Public Attributes

coord latitude {}
 Latitude of point.
 
coord longitude {}
 Longitude of point.
 

Detailed Description

Defines a geographic point (latitude, longitude)

Constructor & Destructor Documentation

◆ point()

sacfmt::point::point(coord lat,
coord lon 
)
inlinenoexcept

Construct point from latitude and longitude.

Parameters
[in]latcoord latitude of point.
[in]loncoord longitude of point.
295: latitude(lat), longitude(lon) {}
coord longitude
Longitude of point.
Definition sac_format.hpp:287
coord latitude
Latitude of point.
Definition sac_format.hpp:286

Member Data Documentation

◆ latitude

coord sacfmt::point::latitude {}

Latitude of point.

286{};

◆ longitude

coord sacfmt::point::longitude {}

Longitude of point.

287{};

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