将度转换为弧度,反之亦然。 更多...
公有成员函数 | |
CUPROJ_HOST_DEVICE Coordinate | operator() (Coordinate const &coord, direction dir) const |
将度转换为弧度,反之亦然。 | |
将度转换为弧度,反之亦然。
Coordinate | 坐标类型 |
定义位于文件 degrees_to_radians.cuh 的第 36 行。
|
inline |
将度转换为弧度,反之亦然。
coord | 要转换的坐标 |
dir | 转换方向:FORWARD 将度转换为弧度,INVERSE 将弧度转换为度 |
定义位于文件 degrees_to_radians.cuh 的第 46 行。