Represent a reference to a multilinestring stored in a structure of arrays. More...
Public Member Functions | |
CUSPATIAL_HOST_DEVICE | multilinestring_ref (PartIterator part_begin, PartIterator part_end, VecIterator point_begin, VecIterator point_end) |
CUSPATIAL_HOST_DEVICE auto | num_linestrings () const |
Return the number of linestrings in the multilinestring. | |
CUSPATIAL_HOST_DEVICE auto | size () const |
Return the number of linestrings in the multilinestring. | |
CUSPATIAL_HOST_DEVICE bool | is_empty () const |
Return true if this multilinestring contains 0 linestrings. | |
CUSPATIAL_HOST_DEVICE auto | part_begin () const |
Return iterator to the first linestring. | |
CUSPATIAL_HOST_DEVICE auto | part_end () const |
Return iterator to one past the last linestring. | |
CUSPATIAL_HOST_DEVICE auto | point_begin () const |
Return iterator to the first point of the multilinestring. | |
CUSPATIAL_HOST_DEVICE auto | point_end () const |
Return iterator to one past the last point of the multilinestring. | |
CUSPATIAL_HOST_DEVICE auto | begin () const |
Return iterator to the first linestring of the multilinestring. | |
CUSPATIAL_HOST_DEVICE auto | end () const |
Return iterator to one past the last linestring of the multilinestring. | |
CUSPATIAL_HOST_DEVICE auto | enumerate () const |
Return an enumerated range to the linestrings. | |
template<typename IndexType > | |
CUSPATIAL_HOST_DEVICE auto | operator[] (IndexType linestring_idx) const |
Return linestring_idx th linestring in the multilinestring. | |
Protected Attributes | |
PartIterator | _part_begin |
PartIterator | _part_end |
VecIterator | _point_begin |
VecIterator | _point_end |
Represent a reference to a multilinestring stored in a structure of arrays.
PartIterator | type of iterator to the part offset array. |
VecIterator | type of iterator to the underlying point array. |
Definition at line 30 of file multilinestring_ref.cuh.
|
inline |
Return iterator to the first linestring of the multilinestring.
Definition at line 55 of file multilinestring_ref.cuh.
|
inline |
Return iterator to one past the last linestring of the multilinestring.
Definition at line 57 of file multilinestring_ref.cuh.
|
inline |
Return an enumerated range to the linestrings.
Definition at line 60 of file multilinestring_ref.cuh.
|
inline |
Return true if this multilinestring contains 0 linestrings.
Definition at line 42 of file multilinestring_ref.cuh.
|
inline |
Return the number of linestrings in the multilinestring.
Definition at line 39 of file multilinestring_ref.cuh.
|
protected |
Definition at line 67 of file multilinestring_ref.cuh.
|
protected |
Definition at line 68 of file multilinestring_ref.cuh.
|
protected |
Definition at line 69 of file multilinestring_ref.cuh.
|
protected |
Definition at line 70 of file multilinestring_ref.cuh.