DART  6.6.2
dart::dynamics::Linkage::Criteria::Terminal Struct Reference

Any expansion performed by the criteria will be halted if mTerminal is reached. More...

#include <Linkage.hpp>

Public Member Functions

 Terminal (BodyNode *_terminal=nullptr, bool _inclusive=true)
 Default constructor for Terminal. More...
 

Public Attributes

WeakBodyNodePtr mTerminal
 BodyNode that should halt any expansion. More...
 
bool mInclusive
 Whether or not the BodyNode should be included after expansion has halted. More...
 

Detailed Description

Any expansion performed by the criteria will be halted if mTerminal is reached.

If mInclusive is set to true, then mTerminal will be included in the Linkage. If mInclusive is set to false, then mTerminal will not be included in the Linkage. Note that the BodyNode of mStart may be included as an inclusive terminal, but NOT as an exclusive terminal.

Constructor & Destructor Documentation

◆ Terminal()

dart::dynamics::Linkage::Criteria::Terminal::Terminal ( BodyNode _terminal = nullptr,
bool  _inclusive = true 
)

Default constructor for Terminal.

Member Data Documentation

◆ mInclusive

bool dart::dynamics::Linkage::Criteria::Terminal::mInclusive

Whether or not the BodyNode should be included after expansion has halted.

◆ mTerminal

WeakBodyNodePtr dart::dynamics::Linkage::Criteria::Terminal::mTerminal

BodyNode that should halt any expansion.