ScummVM API documentation
Twp::Graph Class Reference

Public Member Functions

void addNode (const Math::Vector2d &node)
 
void addEdge (const GraphEdge &edge)
 
GraphEdgeedge (int start, int to)
 
Common::Array< int > getPath (int source, int target)
 

Public Attributes

Common::Array< Math::Vector2d > _nodes
 
Common::Array< Common::Array< GraphEdge > > _edges
 
Common::Array< Math::Vector2d > _concaveVertices
 

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