From: jfa Date: Fri, 15 Apr 2022 15:29:38 +0000 (+0300) Subject: [bos #29336] problem in inertia calculus X-Git-Tag: V9_9_0b1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=736d34a14fab7b5dcf8a2dd152a1b2f499aaaa36;p=modules%2Fgeom.git [bos #29336] problem in inertia calculus --- diff --git a/doc/salome/gui/GEOM/images/measures4.png b/doc/salome/gui/GEOM/images/measures4.png index dcf0f8f47..48acff105 100644 Binary files a/doc/salome/gui/GEOM/images/measures4.png and b/doc/salome/gui/GEOM/images/measures4.png differ diff --git a/doc/salome/gui/GEOM/input/inertia.doc b/doc/salome/gui/GEOM/input/inertia.doc index d0a37107f..74b839de7 100644 --- a/doc/salome/gui/GEOM/input/inertia.doc +++ b/doc/salome/gui/GEOM/input/inertia.doc @@ -7,8 +7,8 @@ This operation returns the axial moments of inertia for the selected geometrical \image html measures4.png The table displays: -- 3*3 matrix of its own moments of inertia (in rows 1:1, 2:1 and 3:1) and -- the main (principal) moments of inertia (in row IX & IY & IZ) + - 3*3 matrix of its own moments of inertia (in cells i:j) and + - the main (principal) moments of inertia Ip1, Ip2 and Ip3 \note The matrix of inertia is returned in the central coordinate system (G, Gx, Gy, Gz) where G is the centre of mass of the system diff --git a/src/MeasureGUI/MeasureGUI_InertiaDlg.cxx b/src/MeasureGUI/MeasureGUI_InertiaDlg.cxx index 7d92448ce..ee0150091 100644 --- a/src/MeasureGUI/MeasureGUI_InertiaDlg.cxx +++ b/src/MeasureGUI/MeasureGUI_InertiaDlg.cxx @@ -71,9 +71,9 @@ MeasureGUI_InertiaDlg::MeasureGUI_InertiaDlg( GeometryGUI* GUI, QWidget* parent myGrp->TextLabel4_1->setText( "3:1" ); myGrp->TextLabel4_2->setText( "3:2" ); myGrp->TextLabel4_3->setText( "3:3" ); - myGrp->TextLabel5_1->setText( "IX" ); - myGrp->TextLabel5_2->setText( "IY" ); - myGrp->TextLabel5_3->setText( "IZ" ); + myGrp->TextLabel5_1->setText( "Ip1" ); // old name "IX" + myGrp->TextLabel5_2->setText( "Ip2" ); // old name "IY" + myGrp->TextLabel5_3->setText( "Ip3" ); // old name "IZ" myGrp->LineEdit11->setReadOnly( true ); myGrp->LineEdit12->setReadOnly( true ); myGrp->LineEdit13->setReadOnly( true );