libcuproj
24.02.00
|
Clamp angular coordinates to the valid range and offset by the central meridian (lam0) and an optional prime meridian offset. More...
Public Member Functions | |
CUPROJ_HOST_DEVICE | clamp_angular_coordinates (projection_parameters< T > const ¶ms) |
Construct a new clamp angular coordinates object. | |
CUPROJ_HOST_DEVICE Coordinate | operator() (Coordinate const &coord, direction dir) const |
Clamp angular coordinate to the valid range. | |
Clamp angular coordinates to the valid range and offset by the central meridian (lam0) and an optional prime meridian offset.
Coordinate | the coordinate type |
T | the coordinate value type |
Definition at line 44 of file clamp_angular_coordinates.cuh.
|
inline |
Construct a new clamp angular coordinates object.
params | the projection parameters |
Definition at line 51 of file clamp_angular_coordinates.cuh.
|
inline |
Clamp angular coordinate to the valid range.
coord | The coordinate to clamp |
dir | The direction of the operation |
Definition at line 65 of file clamp_angular_coordinates.cuh.