正在加载...
正在搜索...
无匹配项
multilinestring_range.cuh 文件参考
#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 <cuda/std/optional>
#include <thrust/pair.h>
#include <cuspatial/detail/range/multilinestring_range.cuh>

转到此文件的源代码。

class  cuspatial::multilinestring_range< GeometryIterator, PartIterator, VecIterator >
 multilinestring 数据的一个非拥有的基于范围的接口。更多...
 

函数

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)
 从大小和起始迭代器创建一个 multilinestring_range 对象。
 
template<typename IntegerRange1, typename IntegerRange2, typename PointRange>
auto cuspatial::make_multilinestring_range (IntegerRange1 geometry_offsets, IntegerRange2 part_offsets, PointRange points)
 从偏移量和点范围创建一个 multilinestring 数据范围对象。
 
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)
 cuspatial::geometry_column_view 创建一个 multilinestring 范围对象。lineStrings 列的特化版本。
 

函数文档

◆ 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)

cuspatial::geometry_column_view 创建一个 multilinestring 范围对象。lineStrings 列的特化版本。

cuspatial::geometry_column_view 创建一个 multilinestring 范围对象。multiLinestrings 列的特化版本。

前置条件
linestrings_column 必须是 cuspatial::geometry_column_view
linestring_column 必须是 cuspatial::geometry_column_view

定义于文件 multilinestring_range.cuh 的第 287 行。

◆ 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 )

从大小和起始迭代器创建一个 multilinestring_range 对象。

模板参数
GeometryIteratorDiffType几何数组大小的索引类型
PartIteratorDiffType部分数组大小的索引类型
VecIteratorDiffType点数组大小的索引类型
GeometryIterator偏移量数组的迭代器类型。必须满足 LegacyRandomAccessIterator 的要求。
PartIterator部分偏移量数组的迭代器类型。必须满足 LegacyRandomAccessIterator 的要求。
VecIterator点数组的迭代器类型。必须满足 LegacyRandomAccessIterator 的要求。
注意
如果视图打算在设备上使用,则迭代器必须是设备可访问的。
参数
num_multilinestrings数组中 multilinestrings 的数量。
geometry_begin几何数组起始处的迭代器。
num_linestrings底层部分数组中 linestrings 的数量。
part_begin部分数组起始处的迭代器。
num_points底层点数组中点的数量。
point_begin点数组起始处的迭代器。
返回值
一个 multilinestring_range 对象

定义于文件 multilinestring_range.cuh 的第 236 行。

◆ 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 )

从偏移量和点范围创建一个 multilinestring 数据范围对象。

模板参数
IntegerRange1整数范围
IntegerRange2整数范围
PointRange点范围
参数
geometry_offsetsmultilinestring 几何偏移量范围
part_offsetslinestring 部分偏移量范围
points底层点范围
返回值
一个 multilinestring_range 对象

定义于文件 multilinestring_range.cuh 的第 264 行。