GlobeEngine
geGraph::GraphNode< T > Class Template Reference

#include <GraphNode.h>

Public Member Functions

 GraphNode ()
 
 GraphNode (T _uid)
 
getUID ()
 
void addEdge (T _edge)
 
std::vector< T > getNeighbors ()
 
unsigned int getNeighborCount ()
 
bool isCrossing ()
 
bool isConnector ()
 
getOppositeEdge (T _edgeID)
 
bool isEndpoint ()
 
bool hasNeighbors ()
 
bool isIDaNeighborEdge (T _edgeID)
 
void mark ()
 
void unmark ()
 
bool isMarked ()
 

Friends

std::ostream & operator<< (std::ostream &out, const GraphNode< T > &graphNode)
 

Constructor & Destructor Documentation

template<class T >
geGraph::GraphNode< T >::GraphNode ( )
inline
template<class T >
geGraph::GraphNode< T >::GraphNode ( _uid)
inline

Member Function Documentation

template<class T >
void geGraph::GraphNode< T >::addEdge ( _edge)
inline
template<class T >
unsigned int geGraph::GraphNode< T >::getNeighborCount ( )
inline
template<class T >
std::vector< T > geGraph::GraphNode< T >::getNeighbors ( )
inline
template<class T >
T geGraph::GraphNode< T >::getOppositeEdge ( _edgeID)
inline
template<class T >
T geGraph::GraphNode< T >::getUID ( )
inline
template<class T >
bool geGraph::GraphNode< T >::hasNeighbors ( )
inline
template<class T >
bool geGraph::GraphNode< T >::isConnector ( )
inline
template<class T >
bool geGraph::GraphNode< T >::isCrossing ( )
inline
template<class T >
bool geGraph::GraphNode< T >::isEndpoint ( )
inline
template<class T >
bool geGraph::GraphNode< T >::isIDaNeighborEdge ( _edgeID)
inline
template<class T >
bool geGraph::GraphNode< T >::isMarked ( )
inline
template<class T >
void geGraph::GraphNode< T >::mark ( )
inline
template<class T >
void geGraph::GraphNode< T >::unmark ( )
inline

Friends And Related Function Documentation

template<class T >
std::ostream& operator<< ( std::ostream &  out,
const GraphNode< T > &  graphNode 
)
friend

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