17#include <cuspatial/cuda_utils.hpp>
18#include <cuspatial/traits.hpp>
27template <
typename VecIterator>
30 using point_t = iterator_value_type<VecIterator>;
32 CUSPATIAL_HOST_DEVICE multipoint_ref(VecIterator
begin, VecIterator
end);
49 template <
typename IndexType>
50 CUSPATIAL_HOST_DEVICE
auto operator[](IndexType point_idx);
53 VecIterator _points_begin;
54 VecIterator _points_end;
59#include <cuspatial/detail/geometry_collection/multipoint_ref.cuh>
CUSPATIAL_HOST_DEVICE auto point_begin() const
返回指向多点几何对象起始点的迭代器。
CUSPATIAL_HOST_DEVICE auto num_points() const
返回多点几何对象中的点数量。
CUSPATIAL_HOST_DEVICE auto end() const
返回指向多点几何对象最后一个点之后位置的迭代器。
CUSPATIAL_HOST_DEVICE auto size() const
返回多点几何对象中的点数量。
CUSPATIAL_HOST_DEVICE auto begin() const
返回指向多点几何对象起始点的迭代器。
CUSPATIAL_HOST_DEVICE auto point_end() const
返回指向多点几何对象最后一个点之后位置的迭代器。