libcuspatial  24.02.00
Loading...
Searching...
No Matches
Functions
distance.cuh File Reference
#include <cuspatial/constants.hpp>
#include <cuspatial/traits.hpp>
#include <rmm/cuda_stream_view.hpp>
#include <iterator>
#include <cuspatial/detail/distance/hausdorff.cuh>
#include <cuspatial/detail/distance/haversine.cuh>
#include <cuspatial/detail/distance/linestring_distance.cuh>
#include <cuspatial/detail/distance/linestring_polygon_distance.cuh>
#include <cuspatial/detail/distance/point_distance.cuh>
#include <cuspatial/detail/distance/point_linestring_distance.cuh>
#include <cuspatial/detail/distance/point_polygon_distance.cuh>
#include <cuspatial/detail/distance/polygon_distance.cuh>

Go to the source code of this file.

Functions

template<class LonLatItA , class LonLatItB , class OutputIt , class T = typename cuspatial::iterator_vec_base_type<LonLatItA>>
OutputIt cuspatial::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)
 Compute haversine distances between points in set A to the corresponding points in set B.
 
template<class PointIt , class OffsetIt , class OutputIt >
OutputIt cuspatial::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)
 Computes Hausdorff distances for all pairs in a collection of spaces.
 
template<class MultiPointArrayViewA , class MultiPointArrayViewB , class OutputIt >
OutputIt cuspatial::pairwise_point_distance (MultiPointArrayViewA multipoints1, MultiPointArrayViewB multipoints2, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
 Compute pairwise (multi)point-to-(multi)point Cartesian distance.
 
template<class MultiPointRange , class MultiLinestringRange , class OutputIt >
OutputIt cuspatial::pairwise_point_linestring_distance (MultiPointRange multipoints, MultiLinestringRange multilinestrings, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
 Compute pairwise multipoint to multilinestring distance.
 
template<class MultiPointRange , class MultiPolygonRange , class OutputIt >
OutputIt cuspatial::pairwise_point_polygon_distance (MultiPointRange multipoints, MultiPolygonRange multipoiygons, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
 Computes pairwise multipoint to multipolygon distance.
 
template<class MultiLinestringRange1 , class MultiLinestringRange2 , class OutputIt >
OutputIt cuspatial::pairwise_linestring_distance (MultiLinestringRange1 multilinestrings1, MultiLinestringRange2 multilinestrings2, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
 
template<class MultiLinestringRange , class MultiPolygonRange , class OutputIt >
OutputIt cuspatial::pairwise_linestring_polygon_distance (MultiLinestringRange multilinestrings, MultiPolygonRange multipoiygons, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
 Computes pairwise multilinestring to multipolygon distance.
 
template<class MultipolygonRangeA , class MultipolygonRangeB , class OutputIt >
OutputIt cuspatial::pairwise_polygon_distance (MultipolygonRangeA lhs, MultipolygonRangeB rhs, OutputIt distances_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
 Computes pairwise multipolygon to multipolygon distance.