Represent a reference to multipoint stored in a structure of arrays. More...
Public Types | |
| using | point_t = iterator_value_type<VecIterator> |
Public Member Functions | |
| CUSPATIAL_HOST_DEVICE | multipoint_ref (VecIterator begin, VecIterator end) |
| CUSPATIAL_HOST_DEVICE auto | point_begin () const |
| Return iterator to the starting point of the multipoint. | |
| CUSPATIAL_HOST_DEVICE auto | point_end () const |
| Return iterator to one-past the last point of the multipoint. | |
| CUSPATIAL_HOST_DEVICE auto | begin () const |
| Return iterator to the starting point of the multipoint. | |
| CUSPATIAL_HOST_DEVICE auto | end () const |
| Return iterator the the one-past the last point of the multipoint. | |
| CUSPATIAL_HOST_DEVICE auto | num_points () const |
| Return the number of points in multipoint. | |
| CUSPATIAL_HOST_DEVICE auto | size () const |
| Return the number of points in multipoint. | |
| template<typename IndexType> | |
| CUSPATIAL_HOST_DEVICE auto | operator[] (IndexType point_idx) |
Protected Attributes | |
| VecIterator | _points_begin |
| VecIterator | _points_end |
Represent a reference to multipoint stored in a structure of arrays.
| VecIterator | type of iterator to the underlying point array. |
Definition at line 28 of file multipoint_ref.cuh.
| using cuspatial::multipoint_ref< VecIterator >::point_t = iterator_value_type<VecIterator> |
Definition at line 30 of file multipoint_ref.cuh.
|
inline |
Return iterator to the starting point of the multipoint.
Definition at line 40 of file multipoint_ref.cuh.
|
inline |
Return iterator the the one-past the last point of the multipoint.
Definition at line 42 of file multipoint_ref.cuh.
|
inline |
Return the number of points in multipoint.
Definition at line 47 of file multipoint_ref.cuh.
|
protected |
Definition at line 53 of file multipoint_ref.cuh.
|
protected |
Definition at line 54 of file multipoint_ref.cuh.