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)
Compute the nearest points and geometry ID between pairs of multipoint and multilinestring.
Container for the result of 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