Axis swap operation: swap x and y coordinates. More...
Public Member Functions | |
CUPROJ_HOST_DEVICE Coordinate | operator() (Coordinate const &coord, direction) const |
Swap x and y coordinates. | |
Public Member Functions inherited from cuproj::operation< Coordinate, T > | |
CUPROJ_HOST_DEVICE Coordinate | operator() (Coordinate const &c, direction dir) const |
Applies the transform operation to a coordinate. | |
projection_parameters< T > | setup (projection_parameters< T > const ¶ms) |
Modifies the projection parameters for the transform operation. | |
Axis swap operation: swap x and y coordinates.
Coordinate | the coordinate type |
Definition at line 35 of file axis_swap.cuh.
|
inline |
Swap x and y coordinates.
coord | the coordinate to swap |
dir | (unused) the direction of the operation |
Definition at line 43 of file axis_swap.cuh.