QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Friends | List of all members
QgsGraphVertex Class Reference

This class implement a graph vertex. More...

#include <qgsgraph.h>

Public Member Functions

 QgsGraphVertex ()
 default constructor. More...
 
 QgsGraphVertex (const QgsPoint &point)
 This constructor initializes QgsGraphVertex object and associates a vertex with a point. More...
 
QgsGraphArcIdList outArc () const
 return outgoing edges More...
 
QgsGraphArcIdList inArc () const
 return incoming edges More...
 
QgsPoint point () const
 return vertex point More...
 

Friends

class QgsGraph
 

Detailed Description

This class implement a graph vertex.

Constructor & Destructor Documentation

QgsGraphVertex::QgsGraphVertex ( )
inline

default constructor.

It need for QT's container, e.g. QVector

QgsGraphVertex::QgsGraphVertex ( const QgsPoint point)

This constructor initializes QgsGraphVertex object and associates a vertex with a point.

Member Function Documentation

QgsGraphArcIdList QgsGraphVertex::inArc ( ) const

return incoming edges

QgsGraphArcIdList QgsGraphVertex::outArc ( ) const

return outgoing edges

QgsPoint QgsGraphVertex::point ( ) const

return vertex point

Friends And Related Function Documentation

friend class QgsGraph
friend

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