Support Forum       G3D Web Page     
Public Member Functions | Friends | List of all members
G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator Class Reference

Public Member Functions

bool isValid () const
 Returns true when the current value can be read. More...
 
const Value & operator* ()
 
SphereIteratoroperator++ ()
 Advance to the next value. More...
 
const Value * operator-> ()
 
const Value & value ()
 

Friends

class FastPointHashGrid< Value, PosFunc >
 

Member Function Documentation

◆ isValid()

template<typename Value, class PosFunc = PositionTrait<Value>>
bool G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator::isValid ( ) const
inline

Returns true when the current value can be read.

i.e., structure loops like:

for (Grid::SphereIterator it = grid.begin(sphere); it.isValid(); ++it) { ... }

Referenced by G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator::operator++().

◆ operator*()

template<typename Value, class PosFunc = PositionTrait<Value>>
const Value& G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator::operator* ( )
inline

◆ operator++()

template<typename Value, class PosFunc = PositionTrait<Value>>
SphereIterator& G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator::operator++ ( )
inline

Advance to the next value.

◆ operator->()

template<typename Value, class PosFunc = PositionTrait<Value>>
const Value* G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator::operator-> ( )
inline

◆ value()

template<typename Value, class PosFunc = PositionTrait<Value>>
const Value& G3D::FastPointHashGrid< Value, PosFunc >::SphereIterator::value ( )
inline

Friends And Related Function Documentation

◆ FastPointHashGrid< Value, PosFunc >

template<typename Value, class PosFunc = PositionTrait<Value>>
friend class FastPointHashGrid< Value, PosFunc >
friend

documentation generated on Wed Nov 24 2021 08:01:55 using doxygen 1.8.15