19#include <cudf/column/column_view.hpp>
20#include <cudf/utilities/span.hpp>
22#include <rmm/resource_ref.hpp>
165 std::optional<cudf::device_span<cudf::size_type const>> multipoint_geometry_offsets,
166 cudf::column_view points_xy,
167 std::optional<cudf::device_span<cudf::size_type const>> multilinestring_geometry_offsets,
168 cudf::device_span<cudf::size_type const> linestring_part_offsets,
169 cudf::column_view linestring_points_xy,
170 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
OutputIt pairwise_point_linestring_nearest_points(OffsetIteratorA points_geometry_offsets_first, OffsetIteratorA points_geometry_offsets_last, Vec2dItA points_first, Vec2dItA points_last, OffsetIteratorB linestring_geometry_offsets_first, OffsetIteratorC linestring_part_offsets_first, OffsetIteratorC linestring_part_offsets_last, Vec2dItB linestring_points_first, Vec2dItB linestring_points_last, OutputIt output_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
计算多点和多线串对之间的最近点和几何体 ID。
pairwise_point_linestring_nearest_points 函数结果的容器
std::unique_ptr< cudf::column > nearest_segment_id
std::unique_ptr< cudf::column > nearest_point_on_linestring_xy
std::optional< std::unique_ptr< cudf::column > > nearest_point_geometry_id
std::optional< std::unique_ptr< cudf::column > > nearest_linestring_geometry_id