修订版 | e3e6681825ce94f1a4d0c4660f7bb5aefa0a0bf8 (tree) |
---|---|
时间 | 2011-01-07 10:14:56 |
作者 | Mikiya Fujii <mikiya.fujii@gmai...> |
Commiter | Mikiya Fujii |
Some comments are added.
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/MolDS/trunk@43 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -339,6 +339,9 @@ void Molecule::SetInertiaTensorOrigin(double x, double y, double z){ | ||
339 | 339 | |
340 | 340 | } |
341 | 341 | |
342 | +/**** | |
343 | + * Call this->SetInertiaTensorOrigin before calling this-function. | |
344 | + ***/ | |
342 | 345 | void Molecule::CalcPrincipalAxes(){ |
343 | 346 | |
344 | 347 | cout << this->messageStartPrincipalAxes; |
@@ -462,6 +465,11 @@ void Molecule::SetRotatingType(RotatingType rotatingType){ | ||
462 | 465 | this->rotatingType = rotatingType; |
463 | 466 | } |
464 | 467 | |
468 | +/**** | |
469 | + * Call this->SetRotatingOrigin and this->SetRotatingAxis for this->rotatingType=Axis or | |
470 | + * this->SetRotatingEularAngles for this->rotatingType=Eular before calling this-function. | |
471 | + * In addition, this->SetRotatingType bay be needed to be called. | |
472 | + ***/ | |
465 | 473 | void Molecule::Rotate(){ |
466 | 474 | |
467 | 475 | cout << this->messageStartRotate; |
@@ -546,6 +554,9 @@ void Molecule::SetTranslatingDifference(double x, double y, double z){ | ||
546 | 554 | |
547 | 555 | } |
548 | 556 | |
557 | +/**** | |
558 | + * Call this->SetTranslatingDifference before calling this-function. | |
559 | + ***/ | |
549 | 560 | void Molecule::Translate(){ |
550 | 561 | |
551 | 562 | cout << this->messageStartTranslate; |