libcuspatial  23.12.00
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
cuspatial::multipoint_ref< VecIterator > Class Template Reference

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
 

Detailed Description

template<typename VecIterator>
class cuspatial::multipoint_ref< VecIterator >

Represent a reference to multipoint stored in a structure of arrays.

Template Parameters
VecIteratortype of iterator to the underlying point array.

Definition at line 28 of file multipoint_ref.cuh.

Member Typedef Documentation

◆ point_t

template<typename VecIterator >
using cuspatial::multipoint_ref< VecIterator >::point_t = iterator_value_type<VecIterator>

Definition at line 30 of file multipoint_ref.cuh.

Member Function Documentation

◆ begin()

template<typename VecIterator >
CUSPATIAL_HOST_DEVICE auto cuspatial::multipoint_ref< VecIterator >::begin ( ) const
inline

Return iterator to the starting point of the multipoint.

Definition at line 40 of file multipoint_ref.cuh.

◆ end()

template<typename VecIterator >
CUSPATIAL_HOST_DEVICE auto cuspatial::multipoint_ref< VecIterator >::end ( ) const
inline

Return iterator the the one-past the last point of the multipoint.

Definition at line 42 of file multipoint_ref.cuh.

◆ size()

template<typename VecIterator >
CUSPATIAL_HOST_DEVICE auto cuspatial::multipoint_ref< VecIterator >::size ( ) const
inline

Return the number of points in multipoint.

Definition at line 47 of file multipoint_ref.cuh.

Member Data Documentation

◆ _points_begin

template<typename VecIterator >
VecIterator cuspatial::multipoint_ref< VecIterator >::_points_begin
protected

Definition at line 53 of file multipoint_ref.cuh.

◆ _points_end

template<typename VecIterator >
VecIterator cuspatial::multipoint_ref< VecIterator >::_points_end
protected

Definition at line 54 of file multipoint_ref.cuh.


The documentation for this class was generated from the following file: