An internal structure defining a node in the MBGraph.
More...
#include <Proto_MBGraph.H>
An internal structure defining a node in the MBGraph.
◆ MBGraphNode()
Proto::MBGraphNode::MBGraphNode |
( |
BlockIndex |
index | ) |
|
|
inline |
◆ addArc()
Adds an arc to this node, ingoring self and redundant arcs. The new arc represents a connection to block along direction toDst with a reverse arc direction fromDst (from dst to this). Note that toDst is in the local coordinates and fromDst is in the dst coordinates.
◆ rotation()
Get the rotation object associated with the arc from this along dir to block.
◆ operator==()
bool Proto::MBGraphNode::operator== |
( |
const MBGraphNode & |
rhs | ) |
const |
|
inline |
◆ print()
void Proto::MBGraphNode::print |
( |
std::ostream & |
stream = std::cout | ) |
const |
|
inline |
Print the block associated with this node and any arcs extending from it.
- Parameters
-
◆ index
The block associated with this node.
Referenced by operator==().
◆ arcs
The documentation for this struct was generated from the following file: