本文整理汇总了C++中Joint::make_composite方法的典型用法代码示例。如果您正苦于以下问题:C++ Joint::make_composite方法的具体用法?C++ Joint::make_composite怎么用?C++ Joint::make_composite使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Joint
的用法示例。
在下文中一共展示了Joint::make_composite方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: universal
/**
merging a universal (oii) and spherical (iii) constraint may result in:
<ul>
<li> fixed : all other cases
</ul>
*/
Joint meld_oii_iii(const Joint& universal, const Joint& ball, const bool flip = false) {
//log4cpp::CategoryStream& log = universal.log_cf.infoStream();
//log << (flip ? "meld_iii_oii" : "meld_oii_iii");
//
isis_LOG(lg, isis_FILE, isis_INFO) << (flip ? "meld_iii_oii" : "meld_oii_iii");
return universal.make_composite(ball);
}
示例2: spherical
/**
merging a spherical (iii) and cylindrical (oof) constraint may result in:
<ul>
<li> fixed : all other cases
</ul>
*/
Joint meld_iii_oof(const Joint& ball, const Joint& axis, const bool flip = false) {
//log4cpp::CategoryStream& log = ball.log_cf.infoStream();
//log << (flip ? "meld_oof_iii" : "meld_iii_oof");
//
isis_LOG(lg, isis_FILE, isis_INFO) << (flip ? "meld_oof_iii" : "meld_iii_oof");
return ball.make_composite(axis);
}
示例3: revolute
/**
merging a revolute (ooi) and a universal (oii) constraint results in:
<ul>
<li> fixed : all other cases
</ul>
*/
Joint meld_oof_oii(const Joint& axis, const Joint& universal, const bool flip = false) {
//log4cpp::CategoryStream& log = axis.log_cf.infoStream();
//log << (flip ? "meld_oii_oof" : "meld_oof_oii");
//
isis_LOG(lg, isis_FILE, isis_INFO) << (flip ? "meld_oii_oof" : "meld_oof_oii");
return axis.make_composite(universal);
}
示例4: meld_oii_oii
/**
merging a pair of universal (oii) joints:
<ul>
<li> fixed : all other cases
</ul>
*/
Joint meld_oii_oii(const Joint& major, const Joint& minor) {
//log4cpp::CategoryStream& log = major.log_cf.infoStream();
//log << "meld_oii_oii";
//
isis_LOG(lg, isis_FILE, isis_INFO) << "meld_oii_oii";
return major.make_composite(minor);
}