19#include <cuproj/detail/utility/cuda.hpp>
34template <
typename Coordinate>
45 return Coordinate{coord.y, coord.x};
Base class for all transform operations.
direction
Enumerates the direction of a transform operation.
Axis swap operation: swap x and y coordinates.
CUPROJ_HOST_DEVICE Coordinate operator()(Coordinate const &coord, direction) const
Swap x and y coordinates.