|
CUSPATIAL_HOST_DEVICE | multipolygon_ref (PartIterator part_begin, PartIterator part_end, RingIterator ring_begin, RingIterator ring_end, VecIterator point_begin, VecIterator point_end) |
|
CUSPATIAL_HOST_DEVICE auto | num_polygons () const |
| Return the number of polygons in the multipolygon.
|
|
CUSPATIAL_HOST_DEVICE auto | size () const |
| Return the number of polygons in the multipolygon.
|
|
CUSPATIAL_HOST_DEVICE bool | is_empty () const |
| Returns true if the multipolygon contains 0 geometries.
|
|
CUSPATIAL_HOST_DEVICE auto | part_begin () const |
| Return iterator to the first polygon.
|
|
CUSPATIAL_HOST_DEVICE auto | part_end () const |
| Return iterator to one past the last polygon.
|
|
CUSPATIAL_HOST_DEVICE auto | ring_begin () const |
| Return iterator to the first ring.
|
|
CUSPATIAL_HOST_DEVICE auto | ring_end () const |
| Return iterator to one past the last ring.
|
|
CUSPATIAL_HOST_DEVICE auto | point_begin () const |
| Return iterator to the first point of the multipolygon.
|
|
CUSPATIAL_HOST_DEVICE auto | point_end () const |
| Return iterator to one past the last point of the multipolygon.
|
|
CUSPATIAL_HOST_DEVICE auto | begin () const |
| Return iterator to the first polygon of the multipolygon.
|
|
CUSPATIAL_HOST_DEVICE auto | end () const |
| Return iterator to one past the last polygon of the multipolygon.
|
|
CUSPATIAL_HOST_DEVICE auto | enumerate () const |
| Return an enumerated range to the polygons.
|
|
template<typename IndexType > |
CUSPATIAL_HOST_DEVICE auto | operator[] (IndexType polygon_idx) const |
| Return polygon_idx th polygon in the multipolygon.
|
|
template<typename PartIterator, typename RingIterator, typename VecIterator>
class cuspatial::multipolygon_ref< PartIterator, RingIterator, VecIterator >
Represent a reference to a multipolygon stored in a structure of arrays.
- Template Parameters
-
PartIterator | type of iterator to the part offset array. |
RingIterator | type of iterator to the ring offset array. |
VecIterator | type of iterator to the underlying point array. |
Definition at line 31 of file multipolygon_ref.cuh.