QGIS API Documentation  2.99.0-Master (37c43df)
Public Member Functions | Friends | List of all members
QgsGraphVertex Class Reference

This class implements 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...
 
QgsGraphEdgeIds inEdges () const
 Return incoming edges ids. More...
 
QgsGraphEdgeIds outEdges () const
 Returns outgoing edges ids. More...
 
QgsPoint point () const
 Returns point associated with graph vertex. More...
 

Friends

class QgsGraph
 

Detailed Description

This class implements a graph vertex.

Definition at line 86 of file qgsgraph.h.

Constructor & Destructor Documentation

§ QgsGraphVertex() [1/2]

QgsGraphVertex::QgsGraphVertex ( )
inline

Default constructor.

It is needed for Qt's container, e.g. QVector

Definition at line 93 of file qgsgraph.h.

§ QgsGraphVertex() [2/2]

QgsGraphVertex::QgsGraphVertex ( const QgsPoint point)

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

Definition at line 109 of file qgsgraph.cpp.

Member Function Documentation

§ inEdges()

QgsGraphEdgeIds QgsGraphVertex::inEdges ( ) const

Return incoming edges ids.

Definition at line 120 of file qgsgraph.cpp.

§ outEdges()

QgsGraphEdgeIds QgsGraphVertex::outEdges ( ) const

Returns outgoing edges ids.

Definition at line 115 of file qgsgraph.cpp.

§ point()

QgsPoint QgsGraphVertex::point ( ) const

Returns point associated with graph vertex.

Definition at line 125 of file qgsgraph.cpp.

Friends And Related Function Documentation

§ QgsGraph

friend class QgsGraph
friend

Definition at line 121 of file qgsgraph.h.


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