#include <rigworker.h>

Public Member Functions | |
| CRigWorker (const CRigDef &d) | |
| CPanelGroup | makeRig () const |
| CPoint3d | mastCenter (const real &h) const |
Definition at line 33 of file rigworker.h.
| CRigWorker::CRigWorker | ( | const CRigDef & | d | ) |
The constructor does some preliminary calculations to set internal variables.
Definition at line 29 of file rigworker.cpp.
| CPanelGroup CRigWorker::makeRig | ( | ) | const |
Creates the rig.
Definition at line 38 of file rigworker.cpp.
References CPanel::bottom, CRigDef::CSH, CSide::fill(), CPanel::left, mastCenter(), CRigDef::MCord, CRigDef::MHeight, CRigDef::MRakeM, CRigDef::MWidth, CPanel::right, CRigDef::rigID, CMatrix::rot3d(), CPanel::rotate(), CRigDef::SPH, CRigDef::SPNB, CRigDef::SPW, CPanelGroup::title, CPanel::top, and CPanelGroup::type.
| CPoint3d CRigWorker::mastCenter | ( | const real & | HM | ) | const |
Routine for computing the 3D point at center of mast at a given height
Definition at line 213 of file rigworker.cpp.
References CRigDef::foreI, CRigDef::foreJ, CRigDef::MCord, CRigDef::MHeight, CRigDef::MRakeM, CRigDef::MRnd, CRigDef::MRndPos, CMatrix::rot3d(), and CVector::unit().
Referenced by CFormRigDef::check(), and makeRig().
1.5.6