|
CUSPATIAL_HOST_DEVICE | polygon_ref (RingIterator ring_begin, RingIterator ring_end, VecIterator point_begin, VecIterator point_end) |
|
CUSPATIAL_HOST_DEVICE auto | num_rings () const |
| Return the number of rings in the polygon.
|
|
CUSPATIAL_HOST_DEVICE auto | size () const |
| Return the number of rings in the polygon.
|
|
CUSPATIAL_HOST_DEVICE auto | ring_begin () const |
| Return iterator to the first ring of the polygon.
|
|
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 polygon.
|
|
CUSPATIAL_HOST_DEVICE auto | point_end () const |
| Return iterator to one past the last point.
|
|
CUSPATIAL_HOST_DEVICE auto | begin () const |
| Return iterator to the first ring of the polygon.
|
|
CUSPATIAL_HOST_DEVICE auto | end () const |
| Return iterator to one past the last ring.
|
|
template<typename IndexType > |
CUSPATIAL_HOST_DEVICE auto | ring (IndexType ring_idx) const |
| Return the ring_idx th ring in the polygon.
|
|
template<typename RingIterator, typename VecIterator>
class cuspatial::polygon_ref< RingIterator, VecIterator >
Represent a reference to a polygon stored in a structure of arrays.
- Template Parameters
-
VecIterator | type of iterator to the underlying point array. |
Definition at line 28 of file polygon_ref.cuh.