22#include <cudf/column/column.hpp>
23#include <cudf/column/column_view.hpp>
24#include <cudf/table/table_view.hpp>
25#include <cudf/utilities/span.hpp>
27#include <rmm/mr/device/per_device_resource.hpp>
28#include <rmm/resource_ref.hpp>
53 cudf::column_view
const& a_lon,
54 cudf::column_view
const& a_lat,
55 cudf::column_view
const& b_lon,
56 cudf::column_view
const& b_lat,
57 double const radius = EARTH_RADIUS_KM,
58 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
125 cudf::column_view
const& xs,
126 cudf::column_view
const& ys,
127 cudf::column_view
const& space_offsets,
128 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
148 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
170 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
194 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
216 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
241 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
260 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
OutputIt directed_hausdorff_distance(PointIt points_first, PointIt points_last, OffsetIt space_offsets_first, OffsetIt space_offsets_last, OutputIt distance_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算一组空间中所有对的豪斯多夫距离。
OutputIt pairwise_point_distance(MultiPointArrayViewA multipoints1, MultiPointArrayViewB multipoints2, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算点对(多点对多点)笛卡尔距离。
OutputIt pairwise_polygon_distance(MultipolygonRangeA lhs, MultipolygonRangeB rhs, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算多边形对(多边形对多边形)距离。
OutputIt haversine_distance(LonLatItA a_lonlat_first, LonLatItA a_lonlat_last, LonLatItB b_lonlat_first, OutputIt distance_first, T const radius=EARTH_RADIUS_KM, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算集合 A 中的点与集合 B 中对应点之间的半正矢距离。
OutputIt pairwise_linestring_distance(MultiLinestringRange1 multilinestrings1, MultiLinestringRange2 multilinestrings2, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
OutputIt pairwise_linestring_polygon_distance(MultiLinestringRange multilinestrings, MultiPolygonRange multipoiygons, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算多段线对多边形距离。
OutputIt pairwise_point_linestring_distance(MultiPointRange multipoints, MultiLinestringRange multilinestrings, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算多点对多段线距离。
OutputIt pairwise_point_polygon_distance(MultiPointRange multipoints, MultiPolygonRange multipoiygons, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算多点对多边形距离。