QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | Friends | List of all members
QgsGraphArc Class Reference

This class implement a graph edge. More...

#include <qgsgraph.h>

Public Member Functions

 QgsGraphArc ()
 
int inVertex () const
 return index of incoming vertex More...
 
int outVertex () const
 return index of outgoing vertex More...
 
QVector< QVariantproperties () const
 get array of properties More...
 
QVariant property (int propertyIndex) const
 return property value More...
 

Friends

class QgsGraph
 

Detailed Description

This class implement a graph edge.

Definition at line 44 of file qgsgraph.h.

Constructor & Destructor Documentation

◆ QgsGraphArc()

QgsGraphArc::QgsGraphArc ( )

Definition at line 78 of file qgsgraph.cpp.

Member Function Documentation

◆ inVertex()

int QgsGraphArc::inVertex ( ) const

return index of incoming vertex

Definition at line 95 of file qgsgraph.cpp.

◆ outVertex()

int QgsGraphArc::outVertex ( ) const

return index of outgoing vertex

Definition at line 100 of file qgsgraph.cpp.

◆ properties()

QVector< QVariant > QgsGraphArc::properties ( ) const

get array of properties

Definition at line 90 of file qgsgraph.cpp.

◆ property()

QVariant QgsGraphArc::property ( int  propertyIndex) const

return property value

Parameters
propertyIndexproperty index

Definition at line 85 of file qgsgraph.cpp.

Friends And Related Function Documentation

◆ QgsGraph

friend class QgsGraph
friend

Definition at line 77 of file qgsgraph.h.


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