Proto  3.2
Public Member Functions | Public Attributes | List of all members
Proto::MBGraphArc Struct Reference

An internal structure defining an arc in the MBGraph. More...

#include <Proto_MBGraph.H>

Public Member Functions

 MBGraphArc (BlockIndex srcBlock, BlockIndex dstBlock, Point srcToDst, Point dstToSrc)
 
 ~MBGraphArc ()
 
bool operator== (const MBGraphArc &rhs) const
 
std::string str () const
 
void print (std::ostream &stream=std::cout) const
 

Public Attributes

BlockIndex srcBlock
 The block index at the arc's origin. More...
 
BlockIndex dstBlock
 The block index at the arc's end. More...
 
Point srcToDst
 Direction of dstBlock relative to srcBlock in src coords. More...
 
Point dstToSrc
 Direction of srcBlock relative to dstBlock in dst coords. More...
 
CoordPermutation R
 Coordinate transformation from src to dst coords. More...
 

Detailed Description

An internal structure defining an arc in the MBGraph.

Constructor & Destructor Documentation

◆ MBGraphArc()

Proto::MBGraphArc::MBGraphArc ( BlockIndex  srcBlock,
BlockIndex  dstBlock,
Point  srcToDst,
Point  dstToSrc 
)
inline

References dstBlock, dstToSrc, srcBlock, and srcToDst.

◆ ~MBGraphArc()

Proto::MBGraphArc::~MBGraphArc ( )
inline

Member Function Documentation

◆ operator==()

bool Proto::MBGraphArc::operator== ( const MBGraphArc rhs) const
inline

◆ str()

std::string Proto::MBGraphArc::str ( ) const
inline

References srcBlock.

Referenced by print().

◆ print()

void Proto::MBGraphArc::print ( std::ostream &  stream = std::cout) const
inline

References str().

Referenced by Proto::MBGraphNode::operator==().

Member Data Documentation

◆ srcBlock

BlockIndex Proto::MBGraphArc::srcBlock

The block index at the arc's origin.

Referenced by MBGraphArc(), Proto::MBGraph::numBlocks(), and str().

◆ dstBlock

BlockIndex Proto::MBGraphArc::dstBlock

The block index at the arc's end.

Referenced by MBGraphArc(), and Proto::MBGraph::numBlocks().

◆ srcToDst

Point Proto::MBGraphArc::srcToDst

Direction of dstBlock relative to srcBlock in src coords.

Referenced by MBGraphArc().

◆ dstToSrc

Point Proto::MBGraphArc::dstToSrc

Direction of srcBlock relative to dstBlock in dst coords.

Referenced by MBGraphArc().

◆ R

CoordPermutation Proto::MBGraphArc::R

Coordinate transformation from src to dst coords.


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