Loading...
Searching...
No Matches
cuproj::detail::epsg_code Class Reference

Public Member Functions

 epsg_code (std::string const &str)
 Construct an epsg_code from a string.
 
 epsg_code (int code)
 Construct an epsg_code from an integer.
 
 operator std::string () const
 
 operator int () const
 
bool is_wgs_84 () const
 
auto to_utm_zone ()
 Return a [zone, hemisphere] pair for the UTM zone corresponding to the EPSG code.
 

Detailed Description

Definition at line 38 of file projection_factories.cuh.

Constructor & Destructor Documentation

◆ epsg_code() [1/2]

cuproj::detail::epsg_code::epsg_code ( std::string const & str)
inlineexplicit

Construct an epsg_code from a string.

Definition at line 41 of file projection_factories.cuh.

◆ epsg_code() [2/2]

cuproj::detail::epsg_code::epsg_code ( int code)
inlineexplicit

Construct an epsg_code from an integer.

Definition at line 54 of file projection_factories.cuh.

Member Function Documentation

◆ is_wgs_84()

bool cuproj::detail::epsg_code::is_wgs_84 ( ) const
inline

Definition at line 60 of file projection_factories.cuh.

◆ operator int()

cuproj::detail::epsg_code::operator int ( ) const
inlineexplicit

Definition at line 57 of file projection_factories.cuh.

◆ operator std::string()

cuproj::detail::epsg_code::operator std::string ( ) const
inlineexplicit

Definition at line 56 of file projection_factories.cuh.

◆ to_utm_zone()

auto cuproj::detail::epsg_code::to_utm_zone ( )
inline

Return a [zone, hemisphere] pair for the UTM zone corresponding to the EPSG code.

Definition at line 63 of file projection_factories.cuh.


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