Skip to content

Class GridGraph

template <typename T>

ClassList > GridGraph

Public Functions

Type Name
GridGraph (const Grid< U > & grid)
size_t height () const
Grid< T > & horizontal ()
const Grid< T > & horizontal () const
bool in_bounds (const LineCoord2D< U > & coord) const
const T & operator[] (const LineCoord2D< size_t > & coord) const
T & operator[] (const LineCoord2D< size_t > & coord)
Grid< T > & vertical ()
const Grid< T > & vertical () const
size_t width () const

Public Functions Documentation

function GridGraph

template<typename  U>
inline explicit GridGraph::GridGraph (
    const  Grid < U > & grid
) 

function height

inline size_t GridGraph::height () const

function horizontal [1/2]

inline Grid < T > & GridGraph::horizontal () 

function horizontal [2/2]

inline const  Grid < T > & GridGraph::horizontal () const

function in_bounds

template<typename  U>
inline bool GridGraph::in_bounds (
    const  LineCoord2D < U > & coord
) const

function operator[]

inline const T & GridGraph::operator[] (
    const  LineCoord2D < size_t > & coord
) const

function operator[]

inline T & GridGraph::operator[] (
    const  LineCoord2D < size_t > & coord
) 

function vertical [1/2]

inline Grid < T > & GridGraph::vertical () 

function vertical [2/2]

inline const  Grid < T > & GridGraph::vertical () const

function width

inline size_t GridGraph::width () const

Friends Documentation

friend operator<<

inline std::ostream & GridGraph::operator<< (
    std::ostream & os,
    const  GridGraph & graph
) 


The documentation for this class was generated from the following file /home/runner/work/Blaze/Blaze/src/lib/grid/grid.hpp