MeteoIODoc 2.11.0
mio::iCSV::geoLocation Struct Reference

Detailed Description

Represents a geographic location extracted from iCSV files. (POINT(X Y)...)

#include <iCSVHelper.h>

Public Member Functions

bool isEmpty () const
 Checks if the geoLocation is empty. More...
 
std::string toString () const
 Converts the geoLocation to a string representation. More...
 
void standardizeNodata ()
 
Coords toCoords (const int &epsg) const
 
geoLocationoperator= (const geoLocation &rhs)
 
 geoLocation (const geoLocation &rhs)
 
 geoLocation ()=default
 
 geoLocation (const double &in_x, const double &in_y, const double &in_z, const double &in_slope_angle=default_nodata, const double &in_slope_azi=default_nodata)
 

Public Attributes

double x = default_nodata
 
double y = default_nodata
 
double z = default_nodata
 
double slope_angle = default_nodata
 
double slope_azi = default_nodata
 

Constructor & Destructor Documentation

◆ geoLocation() [1/3]

mio::iCSV::geoLocation::geoLocation ( const geoLocation rhs)

◆ geoLocation() [2/3]

mio::iCSV::geoLocation::geoLocation ( )
default

◆ geoLocation() [3/3]

mio::iCSV::geoLocation::geoLocation ( const double &  in_x,
const double &  in_y,
const double &  in_z,
const double &  in_slope_angle = default_nodata,
const double &  in_slope_azi = default_nodata 
)

Member Function Documentation

◆ isEmpty()

bool mio::iCSV::geoLocation::isEmpty ( ) const
inline

Checks if the geoLocation is empty.

Returns
True if the geoLocation is empty, false otherwise.

◆ operator=()

geoLocation & mio::iCSV::geoLocation::operator= ( const geoLocation rhs)

◆ standardizeNodata()

void mio::iCSV::geoLocation::standardizeNodata ( )
inline

◆ toCoords()

Coords mio::iCSV::geoLocation::toCoords ( const int &  epsg) const
inline

◆ toString()

std::string mio::iCSV::geoLocation::toString ( ) const
inline

Converts the geoLocation to a string representation.

Returns
The string representation of the geoLocation.

Member Data Documentation

◆ slope_angle

double mio::iCSV::geoLocation::slope_angle = default_nodata

The slope angle at the location.

◆ slope_azi

double mio::iCSV::geoLocation::slope_azi = default_nodata

The slope azimuth at the location.

◆ x

double mio::iCSV::geoLocation::x = default_nodata

The x-coordinate of the location.

◆ y

double mio::iCSV::geoLocation::y = default_nodata

The y-coordinate of the location.

◆ z

double mio::iCSV::geoLocation::z = default_nodata

The z-coordinate of the location.


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