]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
Improve GeomAlgoAPI_ShapeTools::volume() method to return the volume of the shape...
authorArtem Zhidkov <Artem.Zhidkov@opencascade.com>
Tue, 9 Feb 2021 14:47:18 +0000 (17:47 +0300)
committerArtem Zhidkov <Artem.Zhidkov@gmail.com>
Wed, 10 Feb 2021 10:21:16 +0000 (13:21 +0300)
commitd04ea67117f609da08de8ae7631e8f2f844ea437
treed9a4e81100d0531ca3b91dd7ac0abb83915a3ae5
parentd5db68d0ef6b0baa2435923268dc69167d970c81
Improve GeomAlgoAPI_ShapeTools::volume() method to return the volume of the shape only, and forbid to return an area. For the calculation of area GeomAlgoAPI_ShapeTools::area() should be used.

Update test cases according to the new behavior of shape properties calculation.
54 files changed:
src/BuildPlugin/Test/Test20513_1.py
src/BuildPlugin/Test/Test20513_2.py
src/BuildPlugin/Test/Test2398.py
src/BuildPlugin/Test/Test2409.py
src/BuildPlugin/Test/TestFace_WholeSketch_1.py
src/BuildPlugin/Test/TestFace_WholeSketch_2.py
src/BuildPlugin/Test/TestShell_WholeSketch_1.py
src/BuildPlugin/Test/TestShell_WholeSketch_2.py
src/CollectionPlugin/Test/Test2977.py
src/CollectionPlugin/Test/TestGroupAddition.py
src/CollectionPlugin/Test/TestGroupIntersection.py
src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp
src/FeaturesPlugin/FeaturesPlugin_BooleanSmash.cpp
src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.cpp
src/FeaturesPlugin/Test/Test17261.py
src/FeaturesPlugin/Test/Test17281.py
src/FeaturesPlugin/Test/Test18836.py
src/FeaturesPlugin/Test/Test19065.py
src/FeaturesPlugin/Test/Test19066.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces13.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces14.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces15.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces16.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces17.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces18.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces19.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestPipe_Edge.py
src/FeaturesPlugin/Test/TestPipe_Wire.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_5.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_6.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_5.py
src/FeaturesPlugin/Test/TestRevolutionOfEdge.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_5.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_5.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v95_4.py
src/Locale/Test/TestUTF8.py
src/ModelAPI/Test/Test19019_1.py
src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp
src/PythonAPI/model/tests/tests.py