主页
libcuspatial
cucim
cudf-java
cudf
cugraph
cuml
cuproj
cuspatial
cuvs
cuxfilter
dask-cuda
dask-cudf
kvikio
libcudf
libcuml
libcuproj
libcuspatial
libkvikio
librmm
libucxx
raft
rapids-cmake
rapidsmpf
rmm
稳定版 (25.04)
稳定版 (25.04)
旧版 (25.02)
加载中...
搜索中...
无匹配项
include
cuspatial
projection.cuh
前往此文件的文档页面。
1
/*
2
* 版权所有 (c) 2022-2023, NVIDIA CORPORATION.
3
*
4
* 根据 Apache 许可证 2.0 版("许可证")获得许可;
5
* 除非遵守许可证,否则不得使用此文件。
6
* 您可以在以下网址获得许可证副本:
7
*
8
* https://apache.ac.cn/licenses/LICENSE-2.0
9
*
10
* 除非适用法律要求或经书面同意,否则软件
11
* 根据许可证分发,按"原样"提供,
12
* 不附带任何明示或默示的担保或条件。
13
* 请参阅许可证中有关特定语言权限和
14
* 限制的规定。
15
*/
16
17
#pragma once
18
19
#include <
cuspatial/geometry/vec_2d.hpp
>
20
21
#include <rmm/cuda_stream_view.hpp>
22
23
#include <iterator>
24
25
namespace
cuspatial {
26
31
65
template
<
class
InputIt,
class
OutputIt,
class
T>
66
OutputIt
sinusoidal_projection
(InputIt lon_lat_first,
67
InputIt lon_lat_last,
68
OutputIt xy_first,
69
vec_2d<T>
origin,
70
rmm::cuda_stream_view stream = rmm::cuda_stream_default);
71
76
77
}
// namespace cuspatial
78
79
#include <cuspatial/detail/projection/sinusoidal_projection.cuh>
cuspatial::vec_2d
一个通用的二维向量类型。
定义
vec_2d.hpp:42
cuspatial::sinusoidal_projection
OutputIt sinusoidal_projection(InputIt lon_lat_first, InputIt lon_lat_last, OutputIt xy_first, vec_2d< T > origin, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
将相对于原点的经度/纬度正弦投影到笛卡尔 (x/y) 坐标(单位为公里)。
vec_2d.hpp
生成者
1.13.2