Gridpp 0.7.0
A post-processing library for gridded weather forecasts
Public Member Functions | Public Attributes | List of all members
gridpp::Point Class Reference

#include <gridpp.h>

Public Member Functions

 Point (float lat, float lon, float elev=MV, float laf=MV, CoordinateType type=Geodetic)
 Constructor. More...
 
 Point (float lat, float lon, float elev, float laf, CoordinateType type, float x, float y, float z)
 Constructor. More...
 

Public Attributes

float elev
 
float laf
 
float lat
 
float lon
 
CoordinateType type
 
float x
 
float y
 
float z
 

Detailed Description

Represents a single point in some coordinate system.

Constructor & Destructor Documentation

◆ Point() [1/2]

gridpp::Point::Point ( float  lat,
float  lon,
float  elev = MV,
float  laf = MV,
CoordinateType  type = Geodetic 
)

Constructor.

Parameters
latLatitude (or y) coordinate
lonLongitude (or x) coordinate
elevElevation
lafLand area fraction (between 0 and 1)
typeCoordinate type for lat and lon

◆ Point() [2/2]

gridpp::Point::Point ( float  lat,
float  lon,
float  elev,
float  laf,
CoordinateType  type,
float  x,
float  y,
float  z 
)

Constructor.

Parameters
latLatitude (or y) coordinate
lonLongitude (or x) coordinate
elevElevation
lafLand area fraction (between 0 and 1)
typeCoordinate type for lat and lon
xX-coordinate
yY-coordinate
xZ-coordinate

Member Data Documentation

◆ elev

float gridpp::Point::elev

◆ laf

float gridpp::Point::laf

◆ lat

float gridpp::Point::lat

◆ lon

float gridpp::Point::lon

◆ type

CoordinateType gridpp::Point::type

◆ x

float gridpp::Point::x

◆ y

float gridpp::Point::y

◆ z

float gridpp::Point::z

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