#include <cuspatial/cuda_utils.hpp>
#include <cuspatial/detail/range/enumerate_range.cuh>
#include <cuspatial/geometry/segment.cuh>
#include <cuspatial/geometry/vec_2d.hpp>
#include <cuspatial/traits.hpp>
#include <cuspatial/types.hpp>
#include <rmm/cuda_stream_view.hpp>
#include <thrust/pair.h>
#include <cuspatial/detail/range/multilinestring_range.cuh>
Go to the source code of this file.
|
template<typename GeometryIteratorDiffType , typename PartIteratorDiffType , typename VecIteratorDiffType , typename GeometryIterator , typename PartIterator , typename VecIterator > |
auto | cuspatial::make_multilinestring_range (GeometryIteratorDiffType num_multilinestrings, GeometryIterator geometry_begin, PartIteratorDiffType num_linestrings, PartIterator part_begin, VecIteratorDiffType num_points, VecIterator point_begin) |
| Create a multilinestring_range object from size and start iterators.
|
|
template<typename IntegerRange1 , typename IntegerRange2 , typename PointRange > |
auto | cuspatial::make_multilinestring_range (IntegerRange1 geometry_offsets, IntegerRange2 part_offsets, PointRange points) |
| Create a range object of multilinestring data from offset and point ranges.
|
|
template<collection_type_id Type, typename T , typename IndexType , typename GeometryColumnView , CUSPATIAL_ENABLE_IF(Type==collection_type_id::SINGLE) > |
auto | cuspatial::make_multilinestring_range (GeometryColumnView const &linestrings_column) |
| Create a range object of multilinestring from cuspatial::geometry_column_view. Specialization for linestrings column.
|
|
◆ make_multilinestring_range() [1/3]
template<collection_type_id Type, typename T , typename IndexType , typename GeometryColumnView , CUSPATIAL_ENABLE_IF(Type==collection_type_id::SINGLE) >
auto cuspatial::make_multilinestring_range |
( |
GeometryColumnView const & | linestrings_column | ) |
|
◆ make_multilinestring_range() [2/3]
template<typename GeometryIteratorDiffType , typename PartIteratorDiffType , typename VecIteratorDiffType , typename GeometryIterator , typename PartIterator , typename VecIterator >
auto cuspatial::make_multilinestring_range |
( |
GeometryIteratorDiffType | num_multilinestrings, |
|
|
GeometryIterator | geometry_begin, |
|
|
PartIteratorDiffType | num_linestrings, |
|
|
PartIterator | part_begin, |
|
|
VecIteratorDiffType | num_points, |
|
|
VecIterator | point_begin ) |
Create a multilinestring_range object from size and start iterators.
- Template Parameters
-
GeometryIteratorDiffType | Index type of the size of the geometry array |
PartIteratorDiffType | Index type of the size of the part array |
VecIteratorDiffType | Index type of the size of the point array |
GeometryIterator | iterator type for offset array. Must meet the requirements of LegacyRandomAccessIterator. |
PartIterator | iterator type for the part offset array. Must meet the requirements of LegacyRandomAccessIterator. |
VecIterator | iterator type for the point array. Must meet the requirements of LegacyRandomAccessIterator. |
- Note
- Iterators must be device-accessible if the view is intended to be used on device.
- Parameters
-
num_multilinestrings | Number of multilinestrings in the array. |
geometry_begin | Iterator to the start of the geometry array. |
num_linestrings | Number of linestrings in the underlying parts array. |
part_begin | Iterator to the start of the part array. |
num_points | Number of points in the underlying points array. |
point_begin | Iterator to the start of the point array. |
- Returns
- A
multilinestring_range
object
Definition at line 235 of file multilinestring_range.cuh.
◆ make_multilinestring_range() [3/3]
template<typename IntegerRange1 , typename IntegerRange2 , typename PointRange >
auto cuspatial::make_multilinestring_range |
( |
IntegerRange1 | geometry_offsets, |
|
|
IntegerRange2 | part_offsets, |
|
|
PointRange | points ) |
Create a range object of multilinestring data from offset and point ranges.
- Template Parameters
-
IntegerRange1 | Range to integers |
IntegerRange2 | Range to integers |
PointRange | Range to points |
- Parameters
-
geometry_offsets | Range to multilinestring geometry offsets |
part_offsets | Range to linestring part offsets |
points | Range to underlying points |
- Returns
- A multilinestring_range object
Definition at line 263 of file multilinestring_range.cuh.