Loading...
Searching...
No Matches
Public Member Functions | List of all members
cuproj::axis_swap< Coordinate > Struct Template Reference

Axis swap operation: swap x and y coordinates. More...

Inheritance diagram for cuproj::axis_swap< Coordinate >:
cuproj::operation< Coordinate, T >

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 &params)
 Modifies the projection parameters for the transform operation.
 

Detailed Description

template<typename Coordinate>
struct cuproj::axis_swap< Coordinate >

Axis swap operation: swap x and y coordinates.

Template Parameters
Coordinatethe coordinate type

Definition at line 35 of file axis_swap.cuh.

Member Function Documentation

◆ operator()()

template<typename Coordinate >
CUPROJ_HOST_DEVICE Coordinate cuproj::axis_swap< Coordinate >::operator() ( Coordinate const & coord,
direction  ) const
inline

Swap x and y coordinates.

Parameters
coordthe coordinate to swap
dir(unused) the direction of the operation
Returns
the swapped coordinate

Definition at line 43 of file axis_swap.cuh.


The documentation for this struct was generated from the following file: