template<typename Coordinate, typename T = typename Coordinate::value_type>
class cuproj::projection< Coordinate, T >
A projection transforms coordinates between coordinate reference systems.
Projections are constructed from a list of operations to be applied to coordinates. The operations are applied in order, either forward or inverse.
- Template Parameters
-
Coordinate | the coordinate type |
T | the coordinate value type. Specify this if Coordinate does not have a value_type |
Definition at line 59 of file projection.cuh.
template<typename Coordinate , typename T = typename Coordinate::value_type>
template<class InputCoordIter , class OutputCoordIter >
void cuproj::projection< Coordinate, T >::transform |
( |
InputCoordIter | first, |
|
|
InputCoordIter | last, |
|
|
OutputCoordIter | result, |
|
|
direction | dir, |
|
|
rmm::cuda_stream_view | stream = rmm::cuda_stream_default ) const |
|
inline |
Transform a range of coordinates.
- Template Parameters
-
CoordIter | the coordinate iterator type |
- Parameters
-
first | the start of the coordinate range |
last | the end of the coordinate range |
result | the output coordinate range |
dir | the direction of the transform, FORWARD or INVERSE. If INVERSE, the operations will run in the reverse order of the direction specified in the constructor. |
stream | the CUDA stream on which to run the transform |
Definition at line 105 of file projection.cuh.