You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Calculation of Compound Center of Masses (#1822)
* Added a new method to help inspect compound shapes
* Extended Center of mass.
It now supports an optional argument that helps correctly analyze the shape.
* Refactored Center method.
Reimplemented Center of a Compound class
* Moved the compound-specific method implementation inside the child class
* Added new test-case.
The test case compares the center of mass of a compound consisting of faces with the expected value
* Add docstring
---------
Co-authored-by: AU <[email protected]>
0 commit comments