19#include <cuproj/detail/utility/cuda.hpp>
38 CLAMP_ANGULAR_COORDINATES,
39 OFFSET_SCALE_CARTESIAN_COORDINATES,
49 return dir == direction::FORWARD ? direction::INVERSE : direction::FORWARD;
62template <
typename Coordinate,
typename T =
typename Coordinate::value_type>
Base class for all transform operations.
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.
direction
Enumerates the direction of a transform operation.
operation_type
Enumerates the different types of transform operations.
direction reverse(direction dir)
Returns the opposite of a direction.