19#include <cudf/column/column_view.hpp>
20#include <cudf/utilities/span.hpp>
163 std::optional<cudf::device_span<cudf::size_type const>> multipoint_geometry_offsets,
164 cudf::column_view points_xy,
165 std::optional<cudf::device_span<cudf::size_type const>> multilinestring_geometry_offsets,
166 cudf::device_span<cudf::size_type const> linestring_part_offsets,
167 cudf::column_view linestring_points_xy,
168 rmm::mr::device_memory_resource* 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