libcuproj
24.04.00
|
Given Cartesian coordinates (x, y) in meters, offset and scale them to the projection's origin and scale (ellipsoidal semi-major axis). More...
Public Member Functions | |
CUPROJ_HOST_DEVICE | offset_scale_cartesian_coordinates (projection_parameters< T > const ¶ms) |
Constructor. | |
CUPROJ_HOST_DEVICE Coordinate | operator() (Coordinate const &coord, direction dir) const |
Offset and scale a single coordinate. | |
Given Cartesian coordinates (x, y) in meters, offset and scale them to the projection's origin and scale (ellipsoidal semi-major axis).
Coordinate | coordinate type |
T | coordinate value type |
Definition at line 43 of file offset_scale_cartesian_coordinates.cuh.
|
inline |
Constructor.
params | projection parameters, including the ellipsoid semi-major axis and the projection origin |
Definition at line 51 of file offset_scale_cartesian_coordinates.cuh.
|
inline |
Offset and scale a single coordinate.
coord | the coordinate to offset and scale |
dir | the direction of the operation, either forward or inverse |
Definition at line 63 of file offset_scale_cartesian_coordinates.cuh.