Dungeon Architect  17.0.0
DungeonArchitect.Graphs.GraphUtils Class Reference

Theme graph utility functions More...

Static Public Member Functions

static bool Intersects (Rect outer, GraphLink link)
 Test if the graph link lies within the rectangle More...
 
static GraphNode[] GetIncomingNodes (GraphPin pin)
 
static GraphNode[] GetOutgoingNodes (GraphPin pin)
 
static GraphNode[] GetIncomingNodes (GraphNode node)
 
static GraphNode[] GetOutgoingNodes (GraphNode node)
 

Detailed Description

Theme graph utility functions

Definition at line 11 of file GraphUtils.cs.

Member Function Documentation

◆ Intersects()

static bool DungeonArchitect.Graphs.GraphUtils.Intersects ( Rect  outer,
GraphLink  link 
)
static

Test if the graph link lies within the rectangle

Parameters
outerThe rect to test against
linkThe link to test the intersection
Returns
True if intersects, false otherwise

Definition at line 66 of file GraphUtils.cs.


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