Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
cuproj::transverse_mercator< Coordinate, T > Class Template Reference
Inheritance diagram for cuproj::transverse_mercator< Coordinate, T >:
cuproj::operation< Coordinate, T >

Public Member Functions

CUPROJ_HOST_DEVICE transverse_mercator (projection_parameters< T > const &params)
 construct a transverse mercator projection
 
CUPROJ_HOST_DEVICE Coordinate operator() (Coordinate const &coord, direction dir) const
 Perform UTM projection for a single coordinate.
 
projection_parameters< T > setup (projection_parameters< T > const &input_params)
 Set up the projection parameters for transverse mercator projection.
 

Static Public Member Functions

static constexpr T utm_central_parallel (hemisphere h)
 

Static Public Attributes

static constexpr int ETMERC_ORDER = 6
 6th order series expansion
 
static constexpr T utm_central_meridian = T{500000}
 

Detailed Description

template<typename Coordinate, typename T = typename Coordinate::value_type>
class cuproj::transverse_mercator< Coordinate, T >

Definition at line 195 of file transverse_mercator.cuh.

Constructor & Destructor Documentation

◆ transverse_mercator()

template<typename Coordinate , typename T = typename Coordinate::value_type>
CUPROJ_HOST_DEVICE cuproj::transverse_mercator< Coordinate, T >::transverse_mercator ( projection_parameters< T > const & params)
inline

construct a transverse mercator projection

Parameters
paramsprojection parameters

Definition at line 204 of file transverse_mercator.cuh.

Member Function Documentation

◆ operator()()

template<typename Coordinate , typename T = typename Coordinate::value_type>
CUPROJ_HOST_DEVICE Coordinate cuproj::transverse_mercator< Coordinate, T >::operator() ( Coordinate const & coord,
direction dir ) const
inline

Perform UTM projection for a single coordinate.

Parameters
coordthe coordinate to project
dirdirection of projection
Returns
projected coordinate

Definition at line 215 of file transverse_mercator.cuh.

◆ setup()

template<typename Coordinate , typename T = typename Coordinate::value_type>
projection_parameters< T > cuproj::transverse_mercator< Coordinate, T >::setup ( projection_parameters< T > const & input_params)
inline

Set up the projection parameters for transverse mercator projection.

Parameters
input_paramsprojection parameters
Returns
projection parameters modified for transverse mercator projection

Definition at line 236 of file transverse_mercator.cuh.

◆ utm_central_parallel()

template<typename Coordinate , typename T = typename Coordinate::value_type>
static constexpr T cuproj::transverse_mercator< Coordinate, T >::utm_central_parallel ( hemisphere h)
inlinestaticconstexpr

Definition at line 225 of file transverse_mercator.cuh.

Member Data Documentation

◆ ETMERC_ORDER

template<typename Coordinate , typename T = typename Coordinate::value_type>
constexpr int cuproj::transverse_mercator< Coordinate, T >::ETMERC_ORDER = 6
staticconstexpr

6th order series expansion

Definition at line 197 of file transverse_mercator.cuh.

◆ utm_central_meridian

template<typename Coordinate , typename T = typename Coordinate::value_type>
constexpr T cuproj::transverse_mercator< Coordinate, T >::utm_central_meridian = T{500000}
staticconstexpr

Definition at line 223 of file transverse_mercator.cuh.


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