IODEdge Class
class IODEdge: public IODObject
This interface provides access to an edge in a graph. It contains methods for retrieving the nodes it is incident to.This interface is associated with the GUID identifier IID_IODEdge.
Defined in: OdGraph.h
Class Members
virtual ODComponentId GetID() const
Return the component ID of the edge.
virtual int GetNodesAdjacent(IODNode** ppINode1, IODNode** ppINode2)
Get the nodes adjacent to this edge.
virtual IODNode* GetTailNode()
Get the node at the tail of this edge.
virtual IODNode* GetHeadNode()
Get the node at the head of this edge.
virtual long GetWeight() const
Return a weighted value for the edge.