Click or drag to resize

GraphAddArc Method (Arc)

Directly Adds an arc to the graph.

Namespace:  Pathfinding
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public bool AddArc(
	Arc NewArc
)

Parameters

NewArc
Type: PathfindingArc
The arc to add.

Return Value

Type: Boolean
'true' if it has actually been added / 'false' if the arc is null or if it is already in the graph.
Exceptions
ExceptionCondition
ArgumentExceptionCannot add an arc if one of its extremity nodes does not belong to the graph.
See Also