libcuspatial  23.12.00
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
cuspatial::point_quadtree_ref Struct Reference

Public Types

using key_iterator = decltype(point_quadtree::key)::const_iterator
 
using level_iterator = decltype(point_quadtree::level)::const_iterator
 
using internal_node_flag_iterator = decltype(point_quadtree::internal_node_flag)::const_iterator
 
using length_iterator = decltype(point_quadtree::length)::const_iterator
 
using offset_iterator = decltype(point_quadtree::offset)::const_iterator
 

Public Member Functions

 point_quadtree_ref (point_quadtree const &quadtree)
 Construct from a point_quadtree struct.
 
 point_quadtree_ref (key_iterator key_begin, key_iterator key_end, level_iterator level_begin, internal_node_flag_iterator internal_node_flag_begin, length_iterator length_begin, offset_iterator offset_begin)
 Construct from iterators and size.
 
CUSPATIAL_HOST_DEVICE auto num_nodes () const
 Return the number of keys in the quadtree.
 
CUSPATIAL_HOST_DEVICE auto key_begin () const
 Return iterator to the first ring of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto key_end () const
 Return iterator to the last ring of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto level_begin () const
 Return iterator to the first level of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto level_end () const
 Return iterator to the last level of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto internal_node_flag_begin () const
 Return iterator to the first internal node flag of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto internal_node_flag_end () const
 Return iterator to the last internal node flag of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto length_begin () const
 Return iterator to the first length of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto length_end () const
 Return iterator to the last length of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto offset_begin () const
 Return iterator to the first child / point offset of the quadtree.
 
CUSPATIAL_HOST_DEVICE auto offset_end () const
 Return iterator to the last child / point offset of the quadtree.
 

Protected Attributes

key_iterator _key_begin
 
key_iterator _key_end
 
level_iterator _level_begin
 
level_iterator _level_end
 
internal_node_flag_iterator _internal_node_flag_begin
 
internal_node_flag_iterator _internal_node_flag_end
 
length_iterator _length_begin
 
length_iterator _length_end
 
offset_iterator _offset_begin
 
offset_iterator _offset_end
 

Detailed Description

Definition at line 51 of file point_quadtree.cuh.

Member Typedef Documentation

◆ internal_node_flag_iterator

using cuspatial::point_quadtree_ref::internal_node_flag_iterator = decltype(point_quadtree::internal_node_flag)::const_iterator

Definition at line 54 of file point_quadtree.cuh.

◆ key_iterator

using cuspatial::point_quadtree_ref::key_iterator = decltype(point_quadtree::key)::const_iterator

Definition at line 52 of file point_quadtree.cuh.

◆ length_iterator

using cuspatial::point_quadtree_ref::length_iterator = decltype(point_quadtree::length)::const_iterator

Definition at line 55 of file point_quadtree.cuh.

◆ level_iterator

using cuspatial::point_quadtree_ref::level_iterator = decltype(point_quadtree::level)::const_iterator

Definition at line 53 of file point_quadtree.cuh.

◆ offset_iterator

using cuspatial::point_quadtree_ref::offset_iterator = decltype(point_quadtree::offset)::const_iterator

Definition at line 56 of file point_quadtree.cuh.

Constructor & Destructor Documentation

◆ point_quadtree_ref() [1/2]

cuspatial::point_quadtree_ref::point_quadtree_ref ( point_quadtree const &  quadtree)
inline

Construct from a point_quadtree struct.

Definition at line 59 of file point_quadtree.cuh.

◆ point_quadtree_ref() [2/2]

cuspatial::point_quadtree_ref::point_quadtree_ref ( key_iterator  key_begin,
key_iterator  key_end,
level_iterator  level_begin,
internal_node_flag_iterator  internal_node_flag_begin,
length_iterator  length_begin,
offset_iterator  offset_begin 
)
inline

Construct from iterators and size.

Definition at line 74 of file point_quadtree.cuh.

Member Function Documentation

◆ internal_node_flag_begin()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::internal_node_flag_begin ( ) const
inline

Return iterator to the first internal node flag of the quadtree.

Definition at line 107 of file point_quadtree.cuh.

◆ internal_node_flag_end()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::internal_node_flag_end ( ) const
inline

Return iterator to the last internal node flag of the quadtree.

Definition at line 109 of file point_quadtree.cuh.

◆ key_begin()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::key_begin ( ) const
inline

Return iterator to the first ring of the quadtree.

Definition at line 97 of file point_quadtree.cuh.

◆ key_end()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::key_end ( ) const
inline

Return iterator to the last ring of the quadtree.

Definition at line 99 of file point_quadtree.cuh.

◆ length_begin()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::length_begin ( ) const
inline

Return iterator to the first length of the quadtree.

Definition at line 112 of file point_quadtree.cuh.

◆ length_end()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::length_end ( ) const
inline

Return iterator to the last length of the quadtree.

Definition at line 114 of file point_quadtree.cuh.

◆ level_begin()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::level_begin ( ) const
inline

Return iterator to the first level of the quadtree.

Definition at line 102 of file point_quadtree.cuh.

◆ level_end()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::level_end ( ) const
inline

Return iterator to the last level of the quadtree.

Definition at line 104 of file point_quadtree.cuh.

◆ num_nodes()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::num_nodes ( ) const
inline

Return the number of keys in the quadtree.

Definition at line 94 of file point_quadtree.cuh.

◆ offset_begin()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::offset_begin ( ) const
inline

Return iterator to the first child / point offset of the quadtree.

Definition at line 117 of file point_quadtree.cuh.

◆ offset_end()

CUSPATIAL_HOST_DEVICE auto cuspatial::point_quadtree_ref::offset_end ( ) const
inline

Return iterator to the last child / point offset of the quadtree.

Definition at line 119 of file point_quadtree.cuh.

Member Data Documentation

◆ _internal_node_flag_begin

internal_node_flag_iterator cuspatial::point_quadtree_ref::_internal_node_flag_begin
protected

Definition at line 126 of file point_quadtree.cuh.

◆ _internal_node_flag_end

internal_node_flag_iterator cuspatial::point_quadtree_ref::_internal_node_flag_end
protected

Definition at line 127 of file point_quadtree.cuh.

◆ _key_begin

key_iterator cuspatial::point_quadtree_ref::_key_begin
protected

Definition at line 122 of file point_quadtree.cuh.

◆ _key_end

key_iterator cuspatial::point_quadtree_ref::_key_end
protected

Definition at line 123 of file point_quadtree.cuh.

◆ _length_begin

length_iterator cuspatial::point_quadtree_ref::_length_begin
protected

Definition at line 128 of file point_quadtree.cuh.

◆ _length_end

length_iterator cuspatial::point_quadtree_ref::_length_end
protected

Definition at line 129 of file point_quadtree.cuh.

◆ _level_begin

level_iterator cuspatial::point_quadtree_ref::_level_begin
protected

Definition at line 124 of file point_quadtree.cuh.

◆ _level_end

level_iterator cuspatial::point_quadtree_ref::_level_end
protected

Definition at line 125 of file point_quadtree.cuh.

◆ _offset_begin

offset_iterator cuspatial::point_quadtree_ref::_offset_begin
protected

Definition at line 130 of file point_quadtree.cuh.

◆ _offset_end

offset_iterator cuspatial::point_quadtree_ref::_offset_end
protected

Definition at line 131 of file point_quadtree.cuh.


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