]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Merge branch 'csgroup_IS2'
authorArtem Zhidkov <Artem.Zhidkov@gmail.com>
Fri, 2 Apr 2021 06:25:58 +0000 (09:25 +0300)
committerArtem Zhidkov <Artem.Zhidkov@gmail.com>
Fri, 2 Apr 2021 06:25:58 +0000 (09:25 +0300)
3186 files changed:
CMakeCommon/Common.cmake
CMakeCommon/FindEclipse.cmake
CMakeCommon/FindPlaneGCS.cmake
CMakeCommon/FindPython.cmake
CMakeCommon/FindSUIT.cmake
CMakeCommon/FindSalome.cmake
CMakeCommon/FindSalomeOpenCASCADE.cmake
CMakeCommon/FindSalomeQt5.cmake
CMakeCommon/FindSolveSpace.cmake
CMakeCommon/FindSphinx.cmake
CMakeCommon/FindTInspector.cmake
CMakeCommon/Logger.cmake
CMakeCommon/PythonAPI.cmake
CMakeCommon/SalomeMacros.cmake
CMakeCommon/UnitTest.cmake
CMakeCommon/UseQtExt.cmake
CMakeCommon/XMLProcessing.cmake
CMakeCommon/cmake_uninstall.cmake.in
CMakeLists.txt
correction_auto_2.py
doc/CMakeLists.txt
doc/gui/CMakeLists.txt
doc/gui/build_index.py
doc/gui/conf.py.in
doc/gui/templates/layout.html
doc/tui/CMakeLists.txt
env.sh
salome_pid.py
shaper_test.py
src/BuildAPI/BuildAPI.h
src/BuildAPI/BuildAPI.i
src/BuildAPI/BuildAPI_CompSolid.cpp
src/BuildAPI/BuildAPI_CompSolid.h
src/BuildAPI/BuildAPI_Compound.cpp
src/BuildAPI/BuildAPI_Compound.h
src/BuildAPI/BuildAPI_Edge.cpp
src/BuildAPI/BuildAPI_Edge.h
src/BuildAPI/BuildAPI_Face.cpp
src/BuildAPI/BuildAPI_Face.h
src/BuildAPI/BuildAPI_Filling.cpp
src/BuildAPI/BuildAPI_Filling.h
src/BuildAPI/BuildAPI_Interpolation.cpp
src/BuildAPI/BuildAPI_Interpolation.h
src/BuildAPI/BuildAPI_Polyline.cpp
src/BuildAPI/BuildAPI_Polyline.h
src/BuildAPI/BuildAPI_Shell.cpp
src/BuildAPI/BuildAPI_Shell.h
src/BuildAPI/BuildAPI_Solid.cpp
src/BuildAPI/BuildAPI_Solid.h
src/BuildAPI/BuildAPI_SubShapes.cpp
src/BuildAPI/BuildAPI_SubShapes.h
src/BuildAPI/BuildAPI_Vertex.cpp
src/BuildAPI/BuildAPI_Vertex.h
src/BuildAPI/BuildAPI_Wire.cpp
src/BuildAPI/BuildAPI_Wire.h
src/BuildAPI/BuildAPI_swig.h
src/BuildAPI/CMakeLists.txt
src/BuildPlugin/BuildPlugin.h
src/BuildPlugin/BuildPlugin_CompSolid.cpp
src/BuildPlugin/BuildPlugin_CompSolid.h
src/BuildPlugin/BuildPlugin_Compound.cpp
src/BuildPlugin/BuildPlugin_Compound.h
src/BuildPlugin/BuildPlugin_Edge.cpp
src/BuildPlugin/BuildPlugin_Edge.h
src/BuildPlugin/BuildPlugin_Face.cpp
src/BuildPlugin/BuildPlugin_Face.h
src/BuildPlugin/BuildPlugin_Filling.cpp
src/BuildPlugin/BuildPlugin_Filling.h
src/BuildPlugin/BuildPlugin_Interpolation.cpp
src/BuildPlugin/BuildPlugin_Interpolation.h
src/BuildPlugin/BuildPlugin_Plugin.cpp
src/BuildPlugin/BuildPlugin_Plugin.h
src/BuildPlugin/BuildPlugin_Polyline.cpp
src/BuildPlugin/BuildPlugin_Polyline.h
src/BuildPlugin/BuildPlugin_Shape.cpp
src/BuildPlugin/BuildPlugin_Shape.h
src/BuildPlugin/BuildPlugin_Shell.cpp
src/BuildPlugin/BuildPlugin_Shell.h
src/BuildPlugin/BuildPlugin_Solid.cpp
src/BuildPlugin/BuildPlugin_Solid.h
src/BuildPlugin/BuildPlugin_SubShapes.cpp
src/BuildPlugin/BuildPlugin_SubShapes.h
src/BuildPlugin/BuildPlugin_Validators.cpp
src/BuildPlugin/BuildPlugin_Validators.h
src/BuildPlugin/BuildPlugin_Vertex.cpp
src/BuildPlugin/BuildPlugin_Vertex.h
src/BuildPlugin/BuildPlugin_Wire.cpp
src/BuildPlugin/BuildPlugin_Wire.h
src/BuildPlugin/BuildPlugin_msg_fr.ts
src/BuildPlugin/CMakeLists.txt
src/BuildPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/BuildPlugin/Test/Test19056.py
src/BuildPlugin/Test/Test1920.py
src/BuildPlugin/Test/Test20469.py
src/BuildPlugin/Test/Test20513.py [deleted file]
src/BuildPlugin/Test/Test20513_1.py [new file with mode: 0644]
src/BuildPlugin/Test/Test20513_2.py [new file with mode: 0644]
src/BuildPlugin/Test/Test2398.py [changed mode: 0644->0755]
src/BuildPlugin/Test/Test2409.py
src/BuildPlugin/Test/Test2415.py
src/BuildPlugin/Test/Test2439.py
src/BuildPlugin/Test/Test2454.py
src/BuildPlugin/Test/Test3125.py
src/BuildPlugin/Test/Test3271.py
src/BuildPlugin/Test/TestCompSolid.py
src/BuildPlugin/Test/TestCompound.py
src/BuildPlugin/Test/TestCompound_ErrorMsg.py
src/BuildPlugin/Test/TestCompound_History.py
src/BuildPlugin/Test/TestEdge.py
src/BuildPlugin/Test/TestEdge_ByPoints.py
src/BuildPlugin/Test/TestEdge_ErrorMsg.py
src/BuildPlugin/Test/TestEdge_WholeSketch_1.py
src/BuildPlugin/Test/TestEdge_WholeSketch_2.py
src/BuildPlugin/Test/TestEdge_WholeSketch_3.py
src/BuildPlugin/Test/TestEdge_WholeSketch_4.py
src/BuildPlugin/Test/TestFace.py
src/BuildPlugin/Test/TestFace_ErrorMsg.py
src/BuildPlugin/Test/TestFace_WholeSketch_1.py
src/BuildPlugin/Test/TestFace_WholeSketch_2.py
src/BuildPlugin/Test/TestFilling.py
src/BuildPlugin/Test/TestFilling_ByEdges.py
src/BuildPlugin/Test/TestFilling_ByWires.py
src/BuildPlugin/Test/TestFilling_ErrorMsg.py
src/BuildPlugin/Test/TestFilling_Mixed.py
src/BuildPlugin/Test/TestInterpolation.py
src/BuildPlugin/Test/TestPolyline.py
src/BuildPlugin/Test/TestShell.py
src/BuildPlugin/Test/TestShell_WholeSketch_1.py
src/BuildPlugin/Test/TestShell_WholeSketch_2.py
src/BuildPlugin/Test/TestSolid.py
src/BuildPlugin/Test/TestSolid_ErrorMsg.py
src/BuildPlugin/Test/TestSubShapes.py
src/BuildPlugin/Test/TestSubShapes_ErrorMsg.py
src/BuildPlugin/Test/TestVertex.py
src/BuildPlugin/Test/TestVertex_ErrorMsg.py
src/BuildPlugin/Test/TestVertex_WholeSketch_1.py
src/BuildPlugin/Test/TestVertex_WholeSketch_2.py
src/BuildPlugin/Test/TestWire.py
src/BuildPlugin/Test/TestWire_ErrorMsg.py
src/BuildPlugin/Test/TestWire_WholeSketch_1.py
src/BuildPlugin/Test/TestWire_WholeSketch_2.py
src/BuildPlugin/Test/TestWire_WholeSketch_3.py
src/BuildPlugin/Test/TestWire_WholeSketch_4.py
src/BuildPlugin/Test/TestWire_WholeSketch_5.py
src/BuildPlugin/Test/TestWire_WholeSketch_6.py
src/BuildPlugin/doc/TUI_interpolationAnalytical.rst [new file with mode: 0644]
src/BuildPlugin/doc/TUI_interpolationBySelection.rst [new file with mode: 0644]
src/BuildPlugin/doc/TUI_interpolationFeature.rst [deleted file]
src/BuildPlugin/doc/examples/interpolationAnalytical.py [new file with mode: 0644]
src/BuildPlugin/doc/images/CreateInterpolationAnalytical.png [new file with mode: 0644]
src/BuildPlugin/doc/images/Interpolation.png
src/BuildPlugin/doc/images/InterpolationAnalytical.png [new file with mode: 0644]
src/BuildPlugin/doc/images/feature_interpolation_analytical.png [new file with mode: 0644]
src/BuildPlugin/doc/images/feature_interpolation_by_selection.png [new file with mode: 0644]
src/BuildPlugin/doc/interpolationFeature.rst
src/BuildPlugin/icons/feature_interpolation_analytical.png [new file with mode: 0644]
src/BuildPlugin/icons/feature_interpolation_by_selection.png [new file with mode: 0644]
src/BuildPlugin/interpolation_widget.xml
src/BuildPlugin/tests.set [new file with mode: 0644]
src/CTestTestfileInstall.cmake
src/CollectionAPI/CMakeLists.txt
src/CollectionAPI/CollectionAPI.h
src/CollectionAPI/CollectionAPI.i
src/CollectionAPI/CollectionAPI_Field.cpp
src/CollectionAPI/CollectionAPI_Field.h
src/CollectionAPI/CollectionAPI_Group.cpp
src/CollectionAPI/CollectionAPI_Group.h
src/CollectionAPI/CollectionAPI_GroupAddition.cpp
src/CollectionAPI/CollectionAPI_GroupAddition.h
src/CollectionAPI/CollectionAPI_GroupIntersection.cpp
src/CollectionAPI/CollectionAPI_GroupIntersection.h
src/CollectionAPI/CollectionAPI_GroupSubstraction.cpp
src/CollectionAPI/CollectionAPI_GroupSubstraction.h
src/CollectionPlugin/CMakeLists.txt
src/CollectionPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/CollectionPlugin/CollectionPlugin.h
src/CollectionPlugin/CollectionPlugin_Field.cpp
src/CollectionPlugin/CollectionPlugin_Field.h
src/CollectionPlugin/CollectionPlugin_Group.cpp
src/CollectionPlugin/CollectionPlugin_Group.h
src/CollectionPlugin/CollectionPlugin_GroupAddition.cpp
src/CollectionPlugin/CollectionPlugin_GroupAddition.h
src/CollectionPlugin/CollectionPlugin_GroupIntersection.cpp
src/CollectionPlugin/CollectionPlugin_GroupIntersection.h
src/CollectionPlugin/CollectionPlugin_GroupOperation.cpp
src/CollectionPlugin/CollectionPlugin_GroupOperation.h
src/CollectionPlugin/CollectionPlugin_GroupSubstraction.cpp
src/CollectionPlugin/CollectionPlugin_GroupSubstraction.h
src/CollectionPlugin/CollectionPlugin_Plugin.cpp
src/CollectionPlugin/CollectionPlugin_Plugin.h
src/CollectionPlugin/CollectionPlugin_Validators.cpp
src/CollectionPlugin/CollectionPlugin_Validators.h
src/CollectionPlugin/CollectionPlugin_WidgetCreator.cpp
src/CollectionPlugin/CollectionPlugin_WidgetCreator.h
src/CollectionPlugin/CollectionPlugin_WidgetField.cpp
src/CollectionPlugin/CollectionPlugin_WidgetField.h
src/CollectionPlugin/Test/Test18739.py
src/CollectionPlugin/Test/Test2977.py
src/CollectionPlugin/Test/Test3031.py
src/CollectionPlugin/Test/Test3114.py
src/CollectionPlugin/Test/TestField.py
src/CollectionPlugin/Test/TestGroup.py
src/CollectionPlugin/Test/TestGroup1799.py
src/CollectionPlugin/Test/TestGroup2.py
src/CollectionPlugin/Test/TestGroupAddition.py
src/CollectionPlugin/Test/TestGroupAddition_Error.py
src/CollectionPlugin/Test/TestGroupIntersection.py
src/CollectionPlugin/Test/TestGroupIntersection_Error.py
src/CollectionPlugin/Test/TestGroupMove01.py
src/CollectionPlugin/Test/TestGroupMove02.py
src/CollectionPlugin/Test/TestGroupMove03.py
src/CollectionPlugin/Test/TestGroupMove04.py
src/CollectionPlugin/Test/TestGroupMove05.py
src/CollectionPlugin/Test/TestGroupMove06.py
src/CollectionPlugin/Test/TestGroupMove07.py
src/CollectionPlugin/Test/TestGroupMove08.py
src/CollectionPlugin/Test/TestGroupMove09.py
src/CollectionPlugin/Test/TestGroupMove10.py
src/CollectionPlugin/Test/TestGroupMove11.py
src/CollectionPlugin/Test/TestGroupMove12.py
src/CollectionPlugin/Test/TestGroupMove13.py
src/CollectionPlugin/Test/TestGroupMove14.py
src/CollectionPlugin/Test/TestGroupMove15.py
src/CollectionPlugin/Test/TestGroupMove16.py
src/CollectionPlugin/Test/TestGroupMove17.py
src/CollectionPlugin/Test/TestGroupMove18.py
src/CollectionPlugin/Test/TestGroupMove19.py
src/CollectionPlugin/Test/TestGroupMove20.py
src/CollectionPlugin/Test/TestGroupMove21.py
src/CollectionPlugin/Test/TestGroupMove22.py
src/CollectionPlugin/Test/TestGroupMove23.py
src/CollectionPlugin/Test/TestGroupMove24.py
src/CollectionPlugin/Test/TestGroupMove25.py
src/CollectionPlugin/Test/TestGroupMove26.py
src/CollectionPlugin/Test/TestGroupMoveAndSplit1.py
src/CollectionPlugin/Test/TestGroupMoveAndSplit2.py
src/CollectionPlugin/Test/TestGroupMoveAndSplit3.py
src/CollectionPlugin/Test/TestGroupMoveAndSplit4.py
src/CollectionPlugin/Test/TestGroupShareTopology.py
src/CollectionPlugin/Test/TestGroupSubstraction.py
src/CollectionPlugin/Test/TestGroupSubstraction2.py
src/CollectionPlugin/Test/TestGroupSubstraction_Error1.py
src/CollectionPlugin/Test/TestGroupSubstraction_Error2.py
src/CollectionPlugin/Test/TestGroupWholeFeature1.py
src/CollectionPlugin/Test/TestGroupWholeFeature2.py
src/CollectionPlugin/Test/TestGroupWholeResult1.py
src/CollectionPlugin/Test/TestGroupWholeResult2.py
src/CollectionPlugin/tests.set [new file with mode: 0644]
src/Config/CMakeLists.txt
src/Config/CTestTestfileInstall.cmake [new file with mode: 0644]
src/Config/ConfigAPI.i
src/Config/Config_AttributeMessage.cpp
src/Config/Config_AttributeMessage.h
src/Config/Config_Common.cpp
src/Config/Config_Common.h
src/Config/Config_DataModelReader.cpp
src/Config/Config_DataModelReader.h
src/Config/Config_FeatureMessage.cpp
src/Config/Config_FeatureMessage.h
src/Config/Config_FeatureReader.cpp
src/Config/Config_FeatureReader.h
src/Config/Config_Keywords.h
src/Config/Config_ModuleReader.cpp
src/Config/Config_ModuleReader.h
src/Config/Config_PluginMessage.cpp
src/Config/Config_PluginMessage.h
src/Config/Config_PointerMessage.cpp
src/Config/Config_PointerMessage.h
src/Config/Config_Prop.cpp
src/Config/Config_Prop.h
src/Config/Config_PropManager.cpp
src/Config/Config_PropManager.h
src/Config/Config_Translator.cpp
src/Config/Config_Translator.h
src/Config/Config_ValidatorMessage.cpp
src/Config/Config_ValidatorMessage.h
src/Config/Config_ValidatorReader.cpp
src/Config/Config_ValidatorReader.h
src/Config/Config_WidgetAPI.cpp
src/Config/Config_WidgetAPI.h
src/Config/Config_WidgetReader.cpp
src/Config/Config_WidgetReader.h
src/Config/Config_XMLReader.cpp
src/Config/Config_XMLReader.h
src/Config/Config_def.h
src/Config/Config_swig.h
src/Config/Test/TestConfig.py
src/Config/tests.set [new file with mode: 0644]
src/ConnectorAPI/CMakeLists.txt
src/ConnectorAPI/ConnectorAPI.h
src/ConnectorAPI/ConnectorAPI.i
src/ConnectorAPI/ConnectorAPI_Connector.cpp
src/ConnectorAPI/ConnectorAPI_Connector.h
src/ConnectorAPI/ConnectorAPI_swig.h
src/ConnectorAPI/Test/CMakeLists.txt
src/ConnectorAPI/Test/CTestTestfileInstall.cmake
src/ConnectorAPI/Test/Test17917.py
src/ConnectorAPI/Test/Test18887.py
src/ConnectorAPI/Test/Test2882.py
src/ConnectorAPI/Test/Test3195.py
src/ConnectorAPI/Test/TestExportSTL.py
src/ConnectorAPI/Test/TestExportToGEOM.py
src/ConnectorAPI/Test/TestExportToGEOMAllGroupsAndFields.py
src/ConnectorAPI/Test/TestExportToGEOMPartSet.py
src/ConnectorAPI/Test/TestExportToGEOMWholeFeature.py
src/ConnectorAPI/Test/TestExportToGEOMWholeResult.py
src/ConnectorAPI/Test/TestImportSTEP.py
src/ConnectorAPI/Test/__main__.py
src/ConnectorAPI/Test/testme.py
src/ConnectorAPI/Test/tests.set
src/ConnectorPlugin/CMakeLists.txt
src/ConnectorPlugin/ConnectorPlugin.py
src/ConnectorPlugin/ConnectorPlugin_ExportFeature.py
src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py
src/ConstructionAPI/CMakeLists.txt
src/ConstructionAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ConstructionAPI/ConstructionAPI.h
src/ConstructionAPI/ConstructionAPI.i
src/ConstructionAPI/ConstructionAPI_Axis.cpp
src/ConstructionAPI/ConstructionAPI_Axis.h
src/ConstructionAPI/ConstructionAPI_Plane.cpp
src/ConstructionAPI/ConstructionAPI_Plane.h
src/ConstructionAPI/ConstructionAPI_Point.cpp
src/ConstructionAPI/ConstructionAPI_Point.h
src/ConstructionAPI/ConstructionAPI_swig.h
src/ConstructionAPI/Test/TestAxis.py
src/ConstructionAPI/Test/TestPoint.py
src/ConstructionAPI/tests.set [new file with mode: 0644]
src/ConstructionPlugin/CMakeLists.txt
src/ConstructionPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ConstructionPlugin/ConstructionPlugin.h
src/ConstructionPlugin/ConstructionPlugin_Axis.cpp
src/ConstructionPlugin/ConstructionPlugin_Axis.h
src/ConstructionPlugin/ConstructionPlugin_Plane.cpp
src/ConstructionPlugin/ConstructionPlugin_Plane.h
src/ConstructionPlugin/ConstructionPlugin_Plugin.cpp
src/ConstructionPlugin/ConstructionPlugin_Plugin.h
src/ConstructionPlugin/ConstructionPlugin_Point.cpp
src/ConstructionPlugin/ConstructionPlugin_Point.h
src/ConstructionPlugin/ConstructionPlugin_Validators.cpp
src/ConstructionPlugin/ConstructionPlugin_Validators.h
src/ConstructionPlugin/Test/Test19207.py
src/ConstructionPlugin/Test/Test19471.py
src/ConstructionPlugin/Test/TestAxisCreation.py
src/ConstructionPlugin/Test/TestAxis_ErrorMsg.py
src/ConstructionPlugin/Test/TestPlane.py
src/ConstructionPlugin/Test/TestPlane_ErrorMsg.py
src/ConstructionPlugin/Test/TestPlane_FaceValidator.py
src/ConstructionPlugin/Test/TestPointName.py
src/ConstructionPlugin/Test/TestPoint_Edge.py
src/ConstructionPlugin/Test/TestPoint_ErrorMsg.py
src/ConstructionPlugin/Test/TestPoint_FiniteValidator.py
src/ConstructionPlugin/Test/TestPoint_GeometricalPropertyCenterOfCircle.py
src/ConstructionPlugin/Test/TestPoint_GeometricalPropertyCenterOfGravity.py
src/ConstructionPlugin/Test/TestPoint_IntersectLineAndPlane.py
src/ConstructionPlugin/Test/TestPoint_IntersectLines.py
src/ConstructionPlugin/Test/TestPoint_IntersectPlanes.py
src/ConstructionPlugin/Test/TestPoint_ProjectOnEdge.py
src/ConstructionPlugin/Test/TestPoint_ProjectOnFace.py
src/ConstructionPlugin/Test/TestPoint_VertexSelection.py
src/ConstructionPlugin/Test/TestPoint_XYZ.py
src/ConstructionPlugin/Test/UnitTestAxis.py
src/ConstructionPlugin/tests.set [new file with mode: 0644]
src/Events/CMakeLists.txt
src/Events/Events.h
src/Events/Events.i
src/Events/Events_InfoMessage.cpp
src/Events/Events_InfoMessage.h
src/Events/Events_Listener.cpp
src/Events/Events_Listener.h
src/Events/Events_LongOp.cpp
src/Events/Events_LongOp.h
src/Events/Events_Loop.cpp
src/Events/Events_Loop.h
src/Events/Events_Message.cpp
src/Events/Events_Message.h
src/Events/Events_MessageGroup.cpp
src/Events/Events_MessageGroup.h
src/ExchangeAPI/CMakeLists.txt
src/ExchangeAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ExchangeAPI/ExchangeAPI.h
src/ExchangeAPI/ExchangeAPI.i
src/ExchangeAPI/ExchangeAPI_Export.cpp
src/ExchangeAPI/ExchangeAPI_Export.h
src/ExchangeAPI/ExchangeAPI_Import.cpp
src/ExchangeAPI/ExchangeAPI_Import.h
src/ExchangeAPI/ExchangeAPI_swig.h
src/ExchangeAPI/Test/TestExchange.py
src/ExchangeAPI/tests.set [new file with mode: 0644]
src/ExchangePlugin/CMakeLists.txt
src/ExchangePlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ExchangePlugin/ExchangePlugin.h
src/ExchangePlugin/ExchangePlugin_Dump.cpp
src/ExchangePlugin/ExchangePlugin_Dump.h
src/ExchangePlugin/ExchangePlugin_ExportFeature.cpp
src/ExchangePlugin/ExchangePlugin_ExportFeature.h
src/ExchangePlugin/ExchangePlugin_ExportPart.cpp
src/ExchangePlugin/ExchangePlugin_ExportPart.h
src/ExchangePlugin/ExchangePlugin_Import.cpp
src/ExchangePlugin/ExchangePlugin_Import.h
src/ExchangePlugin/ExchangePlugin_ImportFeature.cpp
src/ExchangePlugin/ExchangePlugin_ImportFeature.h
src/ExchangePlugin/ExchangePlugin_ImportPart.cpp
src/ExchangePlugin/ExchangePlugin_ImportPart.h
src/ExchangePlugin/ExchangePlugin_Plugin.cpp
src/ExchangePlugin/ExchangePlugin_Plugin.h
src/ExchangePlugin/ExchangePlugin_Tools.cpp
src/ExchangePlugin/ExchangePlugin_Tools.h
src/ExchangePlugin/ExchangePlugin_Validators.cpp
src/ExchangePlugin/ExchangePlugin_Validators.h
src/ExchangePlugin/Test/Test18710.py
src/ExchangePlugin/Test/Test2290.py
src/ExchangePlugin/Test/Test2459.py
src/ExchangePlugin/Test/TestExport.py [changed mode: 0644->0755]
src/ExchangePlugin/Test/TestExportPart_Failure_1.py
src/ExchangePlugin/Test/TestExportPart_Failure_2.py
src/ExchangePlugin/Test/TestExportPart_Failure_3.py
src/ExchangePlugin/Test/TestExportPart_FullPartSet.py
src/ExchangePlugin/Test/TestExportPart_FullPart_1.py
src/ExchangePlugin/Test/TestExportPart_FullPart_2.py
src/ExchangePlugin/Test/TestExportPart_PartSet.py
src/ExchangePlugin/Test/TestExportPart_Results_1.py
src/ExchangePlugin/Test/TestExportPart_Results_2.py
src/ExchangePlugin/Test/TestExportPart_Results_3.py
src/ExchangePlugin/Test/TestExportPart_Results_4.py
src/ExchangePlugin/Test/TestExportPart_Results_5.py
src/ExchangePlugin/Test/TestExportPart_Results_6.py
src/ExchangePlugin/Test/TestExportPart_Results_7.py
src/ExchangePlugin/Test/TestExportPart_Results_8.py
src/ExchangePlugin/Test/TestExportToXAOWithFields.py
src/ExchangePlugin/Test/TestExportToXAOWithGroupNotUpdated.py
src/ExchangePlugin/Test/TestExport_FiniteValidator.py
src/ExchangePlugin/Test/TestImport.py
src/ExchangePlugin/Test/TestImportPart_AfterCurrent_1.py
src/ExchangePlugin/Test/TestImportPart_AfterCurrent_2.py
src/ExchangePlugin/Test/TestImportPart_AfterLast_1.py
src/ExchangePlugin/Test/TestImportPart_AfterLast_2.py
src/ExchangePlugin/Test/TestImportPart_AfterLast_3.py
src/ExchangePlugin/Test/TestImportPart_AfterLast_4.py
src/ExchangePlugin/Test/TestImportPart_AfterLast_5.py
src/ExchangePlugin/Test/TestImportPart_AfterLast_6.py
src/ExchangePlugin/Test/TestImportPart_Construction_1.py
src/ExchangePlugin/Test/TestImportPart_Construction_2.py
src/ExchangePlugin/Test/TestImportPart_Construction_3.py
src/ExchangePlugin/Test/TestImportPart_Construction_4.py
src/ExchangePlugin/Test/TestImportPart_Multiple.py
src/ExchangePlugin/Test/TestImportPart_ToEmptyPart.py
src/ExchangePlugin/Test/TestImportPart_ToEmptyPartSet.py
src/ExchangePlugin/doc/examples/export.py
src/ExchangePlugin/doc/exportFeature.rst
src/ExchangePlugin/plugin-Exchange.xml
src/ExchangePlugin/tests.set [new file with mode: 0644]
src/FeaturesAPI/CMakeLists.txt
src/FeaturesAPI/FeaturesAPI.h
src/FeaturesAPI/FeaturesAPI.i
src/FeaturesAPI/FeaturesAPI_BooleanCommon.cpp
src/FeaturesAPI/FeaturesAPI_BooleanCommon.h
src/FeaturesAPI/FeaturesAPI_BooleanCut.cpp
src/FeaturesAPI/FeaturesAPI_BooleanCut.h
src/FeaturesAPI/FeaturesAPI_BooleanFill.cpp
src/FeaturesAPI/FeaturesAPI_BooleanFill.h
src/FeaturesAPI/FeaturesAPI_BooleanFuse.cpp
src/FeaturesAPI/FeaturesAPI_BooleanFuse.h
src/FeaturesAPI/FeaturesAPI_BooleanSmash.cpp
src/FeaturesAPI/FeaturesAPI_BooleanSmash.h
src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp [new file with mode: 0644]
src/FeaturesAPI/FeaturesAPI_BoundingBox.h [new file with mode: 0644]
src/FeaturesAPI/FeaturesAPI_Chamfer.cpp
src/FeaturesAPI/FeaturesAPI_Chamfer.h
src/FeaturesAPI/FeaturesAPI_Copy.cpp
src/FeaturesAPI/FeaturesAPI_Copy.h
src/FeaturesAPI/FeaturesAPI_Defeaturing.cpp
src/FeaturesAPI/FeaturesAPI_Defeaturing.h
src/FeaturesAPI/FeaturesAPI_Extrusion.cpp
src/FeaturesAPI/FeaturesAPI_Extrusion.h
src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.cpp
src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.h
src/FeaturesAPI/FeaturesAPI_Fillet.cpp
src/FeaturesAPI/FeaturesAPI_Fillet.h
src/FeaturesAPI/FeaturesAPI_FusionFaces.cpp
src/FeaturesAPI/FeaturesAPI_FusionFaces.h
src/FeaturesAPI/FeaturesAPI_GeometryCalculation.cpp [new file with mode: 0644]
src/FeaturesAPI/FeaturesAPI_GeometryCalculation.h [new file with mode: 0644]
src/FeaturesAPI/FeaturesAPI_ImportResult.cpp
src/FeaturesAPI/FeaturesAPI_ImportResult.h
src/FeaturesAPI/FeaturesAPI_Intersection.cpp
src/FeaturesAPI/FeaturesAPI_Intersection.h
src/FeaturesAPI/FeaturesAPI_Measurement.cpp
src/FeaturesAPI/FeaturesAPI_Measurement.h
src/FeaturesAPI/FeaturesAPI_MultiRotation.cpp
src/FeaturesAPI/FeaturesAPI_MultiRotation.h
src/FeaturesAPI/FeaturesAPI_MultiTranslation.cpp
src/FeaturesAPI/FeaturesAPI_MultiTranslation.h
src/FeaturesAPI/FeaturesAPI_Partition.cpp
src/FeaturesAPI/FeaturesAPI_Partition.h
src/FeaturesAPI/FeaturesAPI_Pipe.cpp
src/FeaturesAPI/FeaturesAPI_Pipe.h
src/FeaturesAPI/FeaturesAPI_Placement.cpp
src/FeaturesAPI/FeaturesAPI_Placement.h
src/FeaturesAPI/FeaturesAPI_PointCoordinates.cpp [new file with mode: 0644]
src/FeaturesAPI/FeaturesAPI_PointCoordinates.h [new file with mode: 0644]
src/FeaturesAPI/FeaturesAPI_Recover.cpp
src/FeaturesAPI/FeaturesAPI_Recover.h
src/FeaturesAPI/FeaturesAPI_RemoveResults.cpp
src/FeaturesAPI/FeaturesAPI_RemoveResults.h
src/FeaturesAPI/FeaturesAPI_RemoveSubShapes.cpp
src/FeaturesAPI/FeaturesAPI_RemoveSubShapes.h
src/FeaturesAPI/FeaturesAPI_Revolution.cpp
src/FeaturesAPI/FeaturesAPI_Revolution.h
src/FeaturesAPI/FeaturesAPI_RevolutionBoolean.cpp
src/FeaturesAPI/FeaturesAPI_RevolutionBoolean.h
src/FeaturesAPI/FeaturesAPI_Rotation.cpp
src/FeaturesAPI/FeaturesAPI_Rotation.h
src/FeaturesAPI/FeaturesAPI_Scale.cpp
src/FeaturesAPI/FeaturesAPI_Scale.h
src/FeaturesAPI/FeaturesAPI_Symmetry.cpp
src/FeaturesAPI/FeaturesAPI_Symmetry.h
src/FeaturesAPI/FeaturesAPI_Translation.cpp
src/FeaturesAPI/FeaturesAPI_Translation.h
src/FeaturesAPI/FeaturesAPI_Union.cpp
src/FeaturesAPI/FeaturesAPI_Union.h
src/FeaturesAPI/FeaturesAPI_swig.h
src/FeaturesPlugin/CMakeLists.txt
src/FeaturesPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin.h
src/FeaturesPlugin/FeaturesPlugin_Boolean.cpp
src/FeaturesPlugin/FeaturesPlugin_Boolean.h
src/FeaturesPlugin/FeaturesPlugin_BooleanCommon.cpp
src/FeaturesPlugin/FeaturesPlugin_BooleanCommon.h
src/FeaturesPlugin/FeaturesPlugin_BooleanCut.cpp
src/FeaturesPlugin/FeaturesPlugin_BooleanCut.h
src/FeaturesPlugin/FeaturesPlugin_BooleanFill.cpp
src/FeaturesPlugin/FeaturesPlugin_BooleanFill.h
src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.cpp
src/FeaturesPlugin/FeaturesPlugin_BooleanFuse.h
src/FeaturesPlugin/FeaturesPlugin_BooleanSmash.cpp
src/FeaturesPlugin/FeaturesPlugin_BooleanSmash.h
src/FeaturesPlugin/FeaturesPlugin_BoundingBox.cpp [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_BoundingBox.h [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_Chamfer.cpp
src/FeaturesPlugin/FeaturesPlugin_Chamfer.h
src/FeaturesPlugin/FeaturesPlugin_CommonBoundingBox.cpp [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_CommonBoundingBox.h [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.cpp
src/FeaturesPlugin/FeaturesPlugin_CompositeBoolean.h
src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.cpp
src/FeaturesPlugin/FeaturesPlugin_CompositeSketch.h
src/FeaturesPlugin/FeaturesPlugin_Copy.cpp
src/FeaturesPlugin/FeaturesPlugin_Copy.h
src/FeaturesPlugin/FeaturesPlugin_CreateBoundingBox.cpp [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_CreateBoundingBox.h [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_Defeaturing.cpp
src/FeaturesPlugin/FeaturesPlugin_Defeaturing.h
src/FeaturesPlugin/FeaturesPlugin_Extrusion.cpp
src/FeaturesPlugin/FeaturesPlugin_Extrusion.h
src/FeaturesPlugin/FeaturesPlugin_ExtrusionBoolean.cpp
src/FeaturesPlugin/FeaturesPlugin_ExtrusionBoolean.h
src/FeaturesPlugin/FeaturesPlugin_ExtrusionCut.cpp
src/FeaturesPlugin/FeaturesPlugin_ExtrusionCut.h
src/FeaturesPlugin/FeaturesPlugin_ExtrusionFuse.cpp
src/FeaturesPlugin/FeaturesPlugin_ExtrusionFuse.h
src/FeaturesPlugin/FeaturesPlugin_Fillet.cpp
src/FeaturesPlugin/FeaturesPlugin_Fillet.h
src/FeaturesPlugin/FeaturesPlugin_Fillet1D.cpp
src/FeaturesPlugin/FeaturesPlugin_Fillet1D.h
src/FeaturesPlugin/FeaturesPlugin_FusionFaces.cpp
src/FeaturesPlugin/FeaturesPlugin_FusionFaces.h
src/FeaturesPlugin/FeaturesPlugin_GeometryCalculation.cpp [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_GeometryCalculation.h [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_ImportResult.cpp
src/FeaturesPlugin/FeaturesPlugin_ImportResult.h
src/FeaturesPlugin/FeaturesPlugin_Intersection.cpp
src/FeaturesPlugin/FeaturesPlugin_Intersection.h
src/FeaturesPlugin/FeaturesPlugin_Measurement.cpp
src/FeaturesPlugin/FeaturesPlugin_Measurement.h
src/FeaturesPlugin/FeaturesPlugin_MultiRotation.cpp
src/FeaturesPlugin/FeaturesPlugin_MultiRotation.h
src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.cpp
src/FeaturesPlugin/FeaturesPlugin_MultiTranslation.h
src/FeaturesPlugin/FeaturesPlugin_Partition.cpp
src/FeaturesPlugin/FeaturesPlugin_Partition.h
src/FeaturesPlugin/FeaturesPlugin_Pipe.cpp
src/FeaturesPlugin/FeaturesPlugin_Pipe.h
src/FeaturesPlugin/FeaturesPlugin_Placement.cpp
src/FeaturesPlugin/FeaturesPlugin_Placement.h
src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp
src/FeaturesPlugin/FeaturesPlugin_Plugin.h
src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.cpp [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h [new file with mode: 0644]
src/FeaturesPlugin/FeaturesPlugin_Recover.cpp
src/FeaturesPlugin/FeaturesPlugin_Recover.h
src/FeaturesPlugin/FeaturesPlugin_RemoveResults.cpp
src/FeaturesPlugin/FeaturesPlugin_RemoveResults.h
src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.cpp
src/FeaturesPlugin/FeaturesPlugin_RemoveSubShapes.h
src/FeaturesPlugin/FeaturesPlugin_Revolution.cpp
src/FeaturesPlugin/FeaturesPlugin_Revolution.h
src/FeaturesPlugin/FeaturesPlugin_RevolutionBoolean.cpp
src/FeaturesPlugin/FeaturesPlugin_RevolutionBoolean.h
src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.cpp
src/FeaturesPlugin/FeaturesPlugin_RevolutionCut.h
src/FeaturesPlugin/FeaturesPlugin_RevolutionFuse.cpp
src/FeaturesPlugin/FeaturesPlugin_RevolutionFuse.h
src/FeaturesPlugin/FeaturesPlugin_Rotation.cpp
src/FeaturesPlugin/FeaturesPlugin_Rotation.h
src/FeaturesPlugin/FeaturesPlugin_Scale.cpp
src/FeaturesPlugin/FeaturesPlugin_Scale.h
src/FeaturesPlugin/FeaturesPlugin_Symmetry.cpp
src/FeaturesPlugin/FeaturesPlugin_Symmetry.h
src/FeaturesPlugin/FeaturesPlugin_Tools.cpp
src/FeaturesPlugin/FeaturesPlugin_Tools.h
src/FeaturesPlugin/FeaturesPlugin_Translation.cpp
src/FeaturesPlugin/FeaturesPlugin_Translation.h
src/FeaturesPlugin/FeaturesPlugin_Union.cpp
src/FeaturesPlugin/FeaturesPlugin_Union.h
src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.cpp
src/FeaturesPlugin/FeaturesPlugin_ValidatorTransform.h
src/FeaturesPlugin/FeaturesPlugin_Validators.cpp
src/FeaturesPlugin/FeaturesPlugin_Validators.h
src/FeaturesPlugin/FeaturesPlugin_VersionedBoolean.cpp
src/FeaturesPlugin/FeaturesPlugin_VersionedBoolean.h
src/FeaturesPlugin/FeaturesPlugin_VersionedChFi.cpp
src/FeaturesPlugin/FeaturesPlugin_VersionedChFi.h
src/FeaturesPlugin/FeaturesPlugin_msg_fr.ts
src/FeaturesPlugin/Test/Test1379.py
src/FeaturesPlugin/Test/Test1467.py
src/FeaturesPlugin/Test/Test17000.py
src/FeaturesPlugin/Test/Test17261.py
src/FeaturesPlugin/Test/Test17281.py
src/FeaturesPlugin/Test/Test17909.py
src/FeaturesPlugin/Test/Test1816.py
src/FeaturesPlugin/Test/Test1876.py
src/FeaturesPlugin/Test/Test18836.py
src/FeaturesPlugin/Test/Test19065.py
src/FeaturesPlugin/Test/Test19066.py
src/FeaturesPlugin/Test/Test19115.py
src/FeaturesPlugin/Test/Test1915.py
src/FeaturesPlugin/Test/Test19196.py
src/FeaturesPlugin/Test/Test1922.py
src/FeaturesPlugin/Test/Test1942.py
src/FeaturesPlugin/Test/Test19931.py
src/FeaturesPlugin/Test/Test20027.py
src/FeaturesPlugin/Test/Test2023.py
src/FeaturesPlugin/Test/Test20245_1.py
src/FeaturesPlugin/Test/Test20245_2.py
src/FeaturesPlugin/Test/Test20245_3.py
src/FeaturesPlugin/Test/Test20247.py
src/FeaturesPlugin/Test/Test2038.py
src/FeaturesPlugin/Test/Test2046.py
src/FeaturesPlugin/Test/Test2172.py
src/FeaturesPlugin/Test/Test2194.py
src/FeaturesPlugin/Test/Test2197_1.py
src/FeaturesPlugin/Test/Test2197_2.py
src/FeaturesPlugin/Test/Test2197_3.py
src/FeaturesPlugin/Test/Test2197_4.py
src/FeaturesPlugin/Test/Test2215.py
src/FeaturesPlugin/Test/Test2222.py
src/FeaturesPlugin/Test/Test2225.py
src/FeaturesPlugin/Test/Test2231.py
src/FeaturesPlugin/Test/Test2233.py
src/FeaturesPlugin/Test/Test2240.py
src/FeaturesPlugin/Test/Test2246.py
src/FeaturesPlugin/Test/Test2248.py
src/FeaturesPlugin/Test/Test2251.py
src/FeaturesPlugin/Test/Test2255.py
src/FeaturesPlugin/Test/Test22847.py [new file with mode: 0644]
src/FeaturesPlugin/Test/Test2289.py
src/FeaturesPlugin/Test/Test2304.py
src/FeaturesPlugin/Test/Test2304_2.py
src/FeaturesPlugin/Test/Test2375.py
src/FeaturesPlugin/Test/Test2377.py
src/FeaturesPlugin/Test/Test23885.py [new file with mode: 0644]
src/FeaturesPlugin/Test/Test2394.py
src/FeaturesPlugin/Test/Test2395.py
src/FeaturesPlugin/Test/Test2419_1.py
src/FeaturesPlugin/Test/Test2419_2.py
src/FeaturesPlugin/Test/Test2419_3.py
src/FeaturesPlugin/Test/Test2465.py
src/FeaturesPlugin/Test/Test2495.py
src/FeaturesPlugin/Test/Test2514.py
src/FeaturesPlugin/Test/Test2520.py
src/FeaturesPlugin/Test/Test2545.py
src/FeaturesPlugin/Test/Test2588.py
src/FeaturesPlugin/Test/Test2592.py
src/FeaturesPlugin/Test/Test2596.py
src/FeaturesPlugin/Test/Test2617.py
src/FeaturesPlugin/Test/Test2631.py
src/FeaturesPlugin/Test/Test2636.py
src/FeaturesPlugin/Test/Test2650.py
src/FeaturesPlugin/Test/Test2681.py
src/FeaturesPlugin/Test/Test2686.py
src/FeaturesPlugin/Test/Test2689.py
src/FeaturesPlugin/Test/Test2692.py
src/FeaturesPlugin/Test/Test2693.py
src/FeaturesPlugin/Test/Test2698.py
src/FeaturesPlugin/Test/Test2701.py
src/FeaturesPlugin/Test/Test2724.py
src/FeaturesPlugin/Test/Test2729.py
src/FeaturesPlugin/Test/Test2738.py
src/FeaturesPlugin/Test/Test2751.py
src/FeaturesPlugin/Test/Test2817.py
src/FeaturesPlugin/Test/Test2826.py
src/FeaturesPlugin/Test/Test2854.py
src/FeaturesPlugin/Test/Test2878.py
src/FeaturesPlugin/Test/Test2918.py
src/FeaturesPlugin/Test/Test2920.py
src/FeaturesPlugin/Test/Test2971.py
src/FeaturesPlugin/Test/Test3014.py
src/FeaturesPlugin/Test/Test3033.py
src/FeaturesPlugin/Test/Test3137_1.py
src/FeaturesPlugin/Test/Test3137_2.py
src/FeaturesPlugin/Test/Test3139.py
src/FeaturesPlugin/Test/TestBoolean1.py
src/FeaturesPlugin/Test/TestBoolean2.py
src/FeaturesPlugin/Test/TestBoolean3.py
src/FeaturesPlugin/Test/TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_CompSolidCompound_Face.py
src/FeaturesPlugin/Test/TestBooleanCommon_CompSolidCompound_Shell.py
src/FeaturesPlugin/Test/TestBooleanCommon_CompSolid_CompSolid.py
src/FeaturesPlugin/Test/TestBooleanCommon_CompSolid_Face.py
src/FeaturesPlugin/Test/TestBooleanCommon_CompSolid_Shell.py
src/FeaturesPlugin/Test/TestBooleanCommon_EdgeCompound_EdgeCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_Edge_Edge.py
src/FeaturesPlugin/Test/TestBooleanCommon_ErrorMsg.py
src/FeaturesPlugin/Test/TestBooleanCommon_FaceCompound_FaceCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_Face_Face.py
src/FeaturesPlugin/Test/TestBooleanCommon_Face_Plane.py
src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v20190506_1.py
src/FeaturesPlugin/Test/TestBooleanCommon_MultiLevelCompound_v20190506_2.py
src/FeaturesPlugin/Test/TestBooleanCommon_ShellCompound_ShellCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_Shell_Shell.py
src/FeaturesPlugin/Test/TestBooleanCommon_SolidCompound_Face.py
src/FeaturesPlugin/Test/TestBooleanCommon_SolidCompound_Shell.py
src/FeaturesPlugin/Test/TestBooleanCommon_SolidCompound_SolidCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_Solid_Face.py
src/FeaturesPlugin/Test/TestBooleanCommon_Solid_Shell.py
src/FeaturesPlugin/Test/TestBooleanCommon_Solid_Solid.py
src/FeaturesPlugin/Test/TestBooleanCommon_SolidsHistory.py
src/FeaturesPlugin/Test/TestBooleanCommon_SubCompound_Solid.py
src/FeaturesPlugin/Test/TestBooleanCommon_SubSolid_Solid.py
src/FeaturesPlugin/Test/TestBooleanCommon_VertexCompound_VertexCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_Vertex_Vertex.py
src/FeaturesPlugin/Test/TestBooleanCommon_WireCompound_WireCompound.py
src/FeaturesPlugin/Test/TestBooleanCommon_Wire_Wire.py
src/FeaturesPlugin/Test/TestBooleanCompSolids.py
src/FeaturesPlugin/Test/TestBooleanCut_CompSolidCompound_CompSolidCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_CompSolid_CompSolid.py
src/FeaturesPlugin/Test/TestBooleanCut_Compound_Solid.py
src/FeaturesPlugin/Test/TestBooleanCut_EdgeCompound_EdgeCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_EdgeCompound_Solid.py
src/FeaturesPlugin/Test/TestBooleanCut_Edge_Edge.py
src/FeaturesPlugin/Test/TestBooleanCut_Edge_Face.py
src/FeaturesPlugin/Test/TestBooleanCut_ErrorMsg.py
src/FeaturesPlugin/Test/TestBooleanCut_FaceCompound_FaceCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_Face_Face.py
src/FeaturesPlugin/Test/TestBooleanCut_Face_Solid.py
src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v20190506_1.py
src/FeaturesPlugin/Test/TestBooleanCut_MultiLevelCompound_v20190506_2.py
src/FeaturesPlugin/Test/TestBooleanCut_ShellCompound_ShellCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_Shell_Shell.py
src/FeaturesPlugin/Test/TestBooleanCut_SolidCompound_SolidCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_Solid_Solid.py
src/FeaturesPlugin/Test/TestBooleanCut_SolidsHistory.py
src/FeaturesPlugin/Test/TestBooleanCut_VertexCompound_Solid.py
src/FeaturesPlugin/Test/TestBooleanCut_VertexCompound_VertexCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_Vertex_Vertex.py
src/FeaturesPlugin/Test/TestBooleanCut_WireCompound_WireCompound.py
src/FeaturesPlugin/Test/TestBooleanCut_Wire_Face.py
src/FeaturesPlugin/Test/TestBooleanCut_Wire_Wire.py
src/FeaturesPlugin/Test/TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_CompSolid_CompSolid.py
src/FeaturesPlugin/Test/TestBooleanFuse_CompSolid_Face.py
src/FeaturesPlugin/Test/TestBooleanFuse_EdgeCompound_EdgeCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_Edge_Edge.py
src/FeaturesPlugin/Test/TestBooleanFuse_ErrorMsg.py
src/FeaturesPlugin/Test/TestBooleanFuse_FaceCompound_FaceCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_Face_Face.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_1.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_2.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_3.py
src/FeaturesPlugin/Test/TestBooleanFuse_MultiLevelCompound_v20190506_4.py
src/FeaturesPlugin/Test/TestBooleanFuse_RemoveEdges.py
src/FeaturesPlugin/Test/TestBooleanFuse_ShellCompound_ShellCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_Shell_Shell.py
src/FeaturesPlugin/Test/TestBooleanFuse_SimpleMode.py
src/FeaturesPlugin/Test/TestBooleanFuse_SolidCompound_SolidCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_Solid_Solid.py
src/FeaturesPlugin/Test/TestBooleanFuse_SolidsHistory.py
src/FeaturesPlugin/Test/TestBooleanFuse_VertexCompound_VertexCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_Vertex_Vertex.py
src/FeaturesPlugin/Test/TestBooleanFuse_WireCompound_WireCompound.py
src/FeaturesPlugin/Test/TestBooleanFuse_Wire_Wire.py
src/FeaturesPlugin/Test/TestBooleanSmash.py
src/FeaturesPlugin/Test/TestBooleanSmash_CompSolid_Solid.py
src/FeaturesPlugin/Test/TestBooleanSmash_ErrorMsg.py
src/FeaturesPlugin/Test/TestBooleanSmash_Face_Face.py
src/FeaturesPlugin/Test/TestBooleanSmash_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestBooleanSmash_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestBooleanSmash_MultiLevelCompound_v20190506_1.py
src/FeaturesPlugin/Test/TestBooleanSmash_MultiLevelCompound_v20190506_2.py
src/FeaturesPlugin/Test/TestBooleanSmash_SolidsHistory.py
src/FeaturesPlugin/Test/TestBooleanSmash_SubSolid_Solid.py
src/FeaturesPlugin/Test/TestBooleanSplit.py
src/FeaturesPlugin/Test/TestBooleanSplitWithPlane.py
src/FeaturesPlugin/Test/TestBooleanSplit_ErrorMsg.py
src/FeaturesPlugin/Test/TestBooleanSplit_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestBooleanSplit_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestBooleanSplit_MultiLevelCompound_v20190506_1.py
src/FeaturesPlugin/Test/TestBooleanSplit_MultiLevelCompound_v20190506_2.py
src/FeaturesPlugin/Test/TestBoolean_ErrorMsg.py
src/FeaturesPlugin/Test/TestBoundingBox.py [new file with mode: 0644]
src/FeaturesPlugin/Test/TestChamfer.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestChamfer_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestCompositeFeaturesOnCompSolids.py
src/FeaturesPlugin/Test/TestCopyFeature.py
src/FeaturesPlugin/Test/TestCopyFeatureMoveGroupOfFeature.py
src/FeaturesPlugin/Test/TestCopyMoveResult.py
src/FeaturesPlugin/Test/TestCopyMoveSubShapes.py
src/FeaturesPlugin/Test/TestCopyNames.py
src/FeaturesPlugin/Test/TestCopySubShapes.py
src/FeaturesPlugin/Test/TestCopyWholeFeature.py
src/FeaturesPlugin/Test/TestCopy_ErrorMsg.py
src/FeaturesPlugin/Test/TestDefeaturing_ErrorMsg.py
src/FeaturesPlugin/Test/TestDefeaturing_OnCompound.py
src/FeaturesPlugin/Test/TestDefeaturing_OnCompsolid1.py
src/FeaturesPlugin/Test/TestDefeaturing_OnCompsolid2.py
src/FeaturesPlugin/Test/TestDefeaturing_OnCompsolid3.py
src/FeaturesPlugin/Test/TestDefeaturing_OnSolid1.py
src/FeaturesPlugin/Test/TestDefeaturing_OnSolid2.py
src/FeaturesPlugin/Test/TestDefeaturing_OnSolid3.py
src/FeaturesPlugin/Test/TestExtrusion.py
src/FeaturesPlugin/Test/TestExtrusionCut.py
src/FeaturesPlugin/Test/TestExtrusionCut_ByFaces.py
src/FeaturesPlugin/Test/TestExtrusionCut_ByPlanesAndOffsets.py
src/FeaturesPlugin/Test/TestExtrusionCut_BySize.py
src/FeaturesPlugin/Test/TestExtrusionCut_ThroughAll.py
src/FeaturesPlugin/Test/TestExtrusionFuse.py
src/FeaturesPlugin/Test/TestExtrusionFuse_ByPlanesAndOffsets.py
src/FeaturesPlugin/Test/TestExtrusionFuse_BySize.py
src/FeaturesPlugin/Test/TestExtrusionFuse_ThroughAll.py
src/FeaturesPlugin/Test/TestExtrusionOfCompound.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces01.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces02.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces03.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces04.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces05.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces06.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces07.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces08.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces09.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces10.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces11.py
src/FeaturesPlugin/Test/TestExtrusion_ByFaces12.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/TestExtrusion_ErrorMsg.py
src/FeaturesPlugin/Test/TestExtrusion_ZeroOffsetError.py
src/FeaturesPlugin/Test/TestFillet.py
src/FeaturesPlugin/Test/TestFillet1.py
src/FeaturesPlugin/Test/TestFillet1D_ErrorMsg.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_1.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_2.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_3.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_4.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_5.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_6.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_7.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_8.py
src/FeaturesPlugin/Test/TestFillet1D_Vertices_9.py
src/FeaturesPlugin/Test/TestFillet1D_Wire_1.py
src/FeaturesPlugin/Test/TestFillet1D_Wire_2.py
src/FeaturesPlugin/Test/TestFillet1D_Wire_3.py
src/FeaturesPlugin/Test/TestFillet1D_Wire_4.py
src/FeaturesPlugin/Test/TestFillet1D_Wire_5.py
src/FeaturesPlugin/Test/TestFillet_ErrorMsg.py
src/FeaturesPlugin/Test/TestFillet_History.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestFillet_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestFusionFaces.py
src/FeaturesPlugin/Test/TestFusionFaces2697.py
src/FeaturesPlugin/Test/TestGeometryCalculation.py [new file with mode: 0644]
src/FeaturesPlugin/Test/TestImportResult.py
src/FeaturesPlugin/Test/TestIntersection.py
src/FeaturesPlugin/Test/TestIntersection_ErrorMsg.py
src/FeaturesPlugin/Test/TestIntersection_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestIntersection_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestIntersection_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestIntersection_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestMeasurementAngle.py
src/FeaturesPlugin/Test/TestMeasurementAngle3Points.py
src/FeaturesPlugin/Test/TestMeasurementDistance.py
src/FeaturesPlugin/Test/TestMeasurementLength.py
src/FeaturesPlugin/Test/TestMeasurementPresentation.py
src/FeaturesPlugin/Test/TestMeasurementRadius.py
src/FeaturesPlugin/Test/TestMultiBoolean.py
src/FeaturesPlugin/Test/TestMultiRotation_ErrorMsg.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestMultiRotation_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestMultiRotation_Part.py
src/FeaturesPlugin/Test/TestMultiTranslation_ErrorMsg.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestMultiTranslation_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestMultiTranslation_Part.py
src/FeaturesPlugin/Test/TestPartition.py
src/FeaturesPlugin/Test/TestPartition2Faces.py
src/FeaturesPlugin/Test/TestPartition2Solids.py
src/FeaturesPlugin/Test/TestPartition2Wires.py
src/FeaturesPlugin/Test/TestPartitionArgsUpdate.py
src/FeaturesPlugin/Test/TestPartitionBox4Planes.py
src/FeaturesPlugin/Test/TestPartitionEdgeSolid.py
src/FeaturesPlugin/Test/TestPartitionFace2Solid.py
src/FeaturesPlugin/Test/TestPartitionFaceSolid.py
src/FeaturesPlugin/Test/TestPartitionFaceWire.py
src/FeaturesPlugin/Test/TestPartitionInclinedFaceSolid.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithCompSolid1.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithCompSolid2.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithCompSolid3.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithFace1.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithFace2.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithFace3.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithFace4.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithFace5.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithPlane1.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithPlane2.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithPlane3.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithPlane4.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithPlane5.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithSolid1.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithSolid2.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithSolid3.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithSolid4.py
src/FeaturesPlugin/Test/TestPartitionSubCompsolidWithSolid5.py
src/FeaturesPlugin/Test/TestPartitionWireFaceSolid.py
src/FeaturesPlugin/Test/TestPartition_ErrorMsg.py
src/FeaturesPlugin/Test/TestPartition_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestPartition_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestPartition_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestPartition_MultiLevelCompound_v20190506_1.py
src/FeaturesPlugin/Test/TestPartition_MultiLevelCompound_v20190506_2.py
src/FeaturesPlugin/Test/TestPartition_MultiLevelCompound_v20190506_3.py
src/FeaturesPlugin/Test/TestPartition_SolidsHistory.py
src/FeaturesPlugin/Test/TestPipe.py
src/FeaturesPlugin/Test/TestPipe_Compound.py
src/FeaturesPlugin/Test/TestPipe_Edge.py
src/FeaturesPlugin/Test/TestPipe_ErrorMsg.py
src/FeaturesPlugin/Test/TestPipe_Wire.py
src/FeaturesPlugin/Test/TestPlacement_BodyShapesValidator.py
src/FeaturesPlugin/Test/TestPlacement_Complex.py
src/FeaturesPlugin/Test/TestPlacement_Edge_Edge.py
src/FeaturesPlugin/Test/TestPlacement_Edge_Vertex.py
src/FeaturesPlugin/Test/TestPlacement_ErrorMsg.py
src/FeaturesPlugin/Test/TestPlacement_Face_Edge.py
src/FeaturesPlugin/Test/TestPlacement_Face_Face.py
src/FeaturesPlugin/Test/TestPlacement_Face_Vertex.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_5.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v0_6.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_5.py
src/FeaturesPlugin/Test/TestPlacement_MultiLevelCompound_v95_6.py
src/FeaturesPlugin/Test/TestPlacement_Part_Part.py
src/FeaturesPlugin/Test/TestPlacement_Vertex_Vertex.py
src/FeaturesPlugin/Test/TestPointCoordinates.py [new file with mode: 0644]
src/FeaturesPlugin/Test/TestRecover.py
src/FeaturesPlugin/Test/TestRecover1798.py
src/FeaturesPlugin/Test/TestRecover_Compound.py
src/FeaturesPlugin/Test/TestRecover_Compsolid1.py
src/FeaturesPlugin/Test/TestRecover_Compsolid2.py
src/FeaturesPlugin/Test/TestRemoveResultsBody.py
src/FeaturesPlugin/Test/TestRemoveResultsConstruction.py
src/FeaturesPlugin/Test/TestRemoveResultsPart.py
src/FeaturesPlugin/Test/TestRemoveSubShapes.py
src/FeaturesPlugin/Test/TestRemoveSubShapes2.py
src/FeaturesPlugin/Test/TestRemoveSubShapes3.py
src/FeaturesPlugin/Test/TestRemoveSubShapes4.py
src/FeaturesPlugin/Test/TestRemoveSubShapes5.py
src/FeaturesPlugin/Test/TestRemoveSubShapes6.py
src/FeaturesPlugin/Test/TestRevolution.py
src/FeaturesPlugin/Test/TestRevolutionCut.py
src/FeaturesPlugin/Test/TestRevolutionCut_ByAngle.py
src/FeaturesPlugin/Test/TestRevolutionCut_ByPlanesAndOffsets.py
src/FeaturesPlugin/Test/TestRevolutionCut_ThroughAll.py
src/FeaturesPlugin/Test/TestRevolutionFuse.py
src/FeaturesPlugin/Test/TestRevolutionFuse_ByAngle.py
src/FeaturesPlugin/Test/TestRevolutionFuse_ByPlanesAndOffsets.py
src/FeaturesPlugin/Test/TestRevolutionFuse_ThroughAll.py
src/FeaturesPlugin/Test/TestRevolutionOfCompound.py
src/FeaturesPlugin/Test/TestRevolutionOfEdge.py
src/FeaturesPlugin/Test/TestRevolutionOfPoint.py
src/FeaturesPlugin/Test/TestRevolution_ByAngle.py
src/FeaturesPlugin/Test/TestRotation.py
src/FeaturesPlugin/Test/TestRotation_ByAxis.py
src/FeaturesPlugin/Test/TestRotation_ByPoints.py
src/FeaturesPlugin/Test/TestRotation_ErrorMsg.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestRotation_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestScale1.py
src/FeaturesPlugin/Test/TestScale2.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestScale_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestScriptSolidEdge.py
src/FeaturesPlugin/Test/TestSerialBoolean.py
src/FeaturesPlugin/Test/TestSplitCompFaceSolid.py
src/FeaturesPlugin/Test/TestSplitCompsolidPlane.py
src/FeaturesPlugin/Test/TestSplitEdgeEdge.py
src/FeaturesPlugin/Test/TestSplitEdgeEdgeIntersected.py
src/FeaturesPlugin/Test/TestSplitEdgeFace.py
src/FeaturesPlugin/Test/TestSplitEdgeShell.py
src/FeaturesPlugin/Test/TestSplitEdgeSolid.py
src/FeaturesPlugin/Test/TestSplitEdgeSolidIntersected.py
src/FeaturesPlugin/Test/TestSplitEdgeVertex.py
src/FeaturesPlugin/Test/TestSplitEdgeWire.py
src/FeaturesPlugin/Test/TestSplitFaceEdge.py
src/FeaturesPlugin/Test/TestSplitFaceEdgeInside.py
src/FeaturesPlugin/Test/TestSplitFaceEdgePerpendicular.py
src/FeaturesPlugin/Test/TestSplitFaceFace.py
src/FeaturesPlugin/Test/TestSplitFaceShell.py
src/FeaturesPlugin/Test/TestSplitFaceSolid.py
src/FeaturesPlugin/Test/TestSplitFaceVertex.py
src/FeaturesPlugin/Test/TestSplitFaceWire.py
src/FeaturesPlugin/Test/TestSplitShellConstrPlane.py
src/FeaturesPlugin/Test/TestSplitShellEdge.py
src/FeaturesPlugin/Test/TestSplitShellFace.py
src/FeaturesPlugin/Test/TestSplitShellShell.py
src/FeaturesPlugin/Test/TestSplitShellSolid.py
src/FeaturesPlugin/Test/TestSplitShellVertex.py
src/FeaturesPlugin/Test/TestSplitShellWire.py
src/FeaturesPlugin/Test/TestSplitSolid2ConstructionPlanes.py
src/FeaturesPlugin/Test/TestSplitSolidCompFace.py
src/FeaturesPlugin/Test/TestSplitSolidCompShell.py
src/FeaturesPlugin/Test/TestSplitSolidEdge.py
src/FeaturesPlugin/Test/TestSplitSolidFace.py
src/FeaturesPlugin/Test/TestSplitSolidShell.py
src/FeaturesPlugin/Test/TestSplitWireEdge.py
src/FeaturesPlugin/Test/TestSplitWireFace.py
src/FeaturesPlugin/Test/TestSplitWireShell.py
src/FeaturesPlugin/Test/TestSplitWireSolid.py
src/FeaturesPlugin/Test/TestSplitWireVertex.py
src/FeaturesPlugin/Test/TestSplitWireWire.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v0_5.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestSymmetry_MultiLevelCompound_v95_5.py
src/FeaturesPlugin/Test/TestSymmetry_Part.py
src/FeaturesPlugin/Test/TestTranslation.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_1.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_2.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_3.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_4.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v0_5.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v95_1.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v95_2.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v95_3.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v95_4.py
src/FeaturesPlugin/Test/TestTranslation_MultiLevelCompound_v95_5.py
src/FeaturesPlugin/Test/TestTranslation_Part.py
src/FeaturesPlugin/Test/TestUnion.py
src/FeaturesPlugin/Test/TestUnion4CurvedFaces.py
src/FeaturesPlugin/Test/TestUnion4CurvedFaces_2.py
src/FeaturesPlugin/Test/TestUnion4Faces.py
src/FeaturesPlugin/Test/TestUnionFaces.py
src/FeaturesPlugin/Test/TestUnionFaces_v20190506.py
src/FeaturesPlugin/Test/TestUnionOfUnion.py
src/FeaturesPlugin/Test/TestUnion_ErrorMsg.py
src/FeaturesPlugin/Test/TestUnion_MultiLevelCompound_v0.py
src/FeaturesPlugin/Test/TestUnion_MultiLevelCompound_v20190506.py
src/FeaturesPlugin/bounding_box_widget.xml [new file with mode: 0644]
src/FeaturesPlugin/create_bounding_box_widget.xml [new file with mode: 0644]
src/FeaturesPlugin/doc/FeaturesPlugin.rst
src/FeaturesPlugin/doc/TUI_boundingBoxFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/doc/TUI_geometryCalculation.rst [new file with mode: 0644]
src/FeaturesPlugin/doc/TUI_pointCoordinates.rst [new file with mode: 0644]
src/FeaturesPlugin/doc/boundingBoxFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/doc/examples/create_bounding_box.py [new file with mode: 0644]
src/FeaturesPlugin/doc/examples/geometry_calculation.py [new file with mode: 0644]
src/FeaturesPlugin/doc/examples/point_coordinates.py [new file with mode: 0644]
src/FeaturesPlugin/doc/geometryCalculationFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/doc/images/BoundingBoxResult.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/bounding.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/boundingBoxPropertyPanel.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/geometryCalculation.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/geometryCalculationPropertyPanel.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png [new file with mode: 0644]
src/FeaturesPlugin/doc/images/point_coord.png [new file with mode: 0644]
src/FeaturesPlugin/doc/pointCoordinatesFeature.rst [new file with mode: 0644]
src/FeaturesPlugin/geometry_calculation_widget.xml [new file with mode: 0644]
src/FeaturesPlugin/icons/bounding.png [new file with mode: 0644]
src/FeaturesPlugin/icons/geometryCalculation.png [new file with mode: 0644]
src/FeaturesPlugin/icons/point_coord.png [new file with mode: 0644]
src/FeaturesPlugin/plugin-Features.xml
src/FeaturesPlugin/point_coordinates_widget.xml [new file with mode: 0644]
src/FeaturesPlugin/tests.set [new file with mode: 0644]
src/FiltersAPI/CMakeLists.txt
src/FiltersAPI/FiltersAPI.h
src/FiltersAPI/FiltersAPI.i
src/FiltersAPI/FiltersAPI_Argument.cpp
src/FiltersAPI/FiltersAPI_Argument.h
src/FiltersAPI/FiltersAPI_Feature.cpp
src/FiltersAPI/FiltersAPI_Feature.h
src/FiltersAPI/FiltersAPI_Filter.cpp
src/FiltersAPI/FiltersAPI_Filter.h
src/FiltersAPI/FiltersAPI_Selection.cpp
src/FiltersAPI/FiltersAPI_Selection.h
src/FiltersAPI/FiltersAPI_swig.h
src/FiltersPlugin/CMakeLists.txt
src/FiltersPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/FiltersPlugin/FiltersPlugin.h
src/FiltersPlugin/FiltersPlugin_BelongsTo.cpp
src/FiltersPlugin/FiltersPlugin_BelongsTo.h
src/FiltersPlugin/FiltersPlugin_ExternalFaces.cpp
src/FiltersPlugin/FiltersPlugin_ExternalFaces.h
src/FiltersPlugin/FiltersPlugin_HorizontalFace.cpp
src/FiltersPlugin/FiltersPlugin_HorizontalFace.h
src/FiltersPlugin/FiltersPlugin_OnGeometry.cpp
src/FiltersPlugin/FiltersPlugin_OnGeometry.h
src/FiltersPlugin/FiltersPlugin_OnLine.cpp
src/FiltersPlugin/FiltersPlugin_OnLine.h
src/FiltersPlugin/FiltersPlugin_OnPlane.cpp
src/FiltersPlugin/FiltersPlugin_OnPlane.h
src/FiltersPlugin/FiltersPlugin_OnPlaneSide.cpp
src/FiltersPlugin/FiltersPlugin_OnPlaneSide.h
src/FiltersPlugin/FiltersPlugin_OppositeToEdge.cpp
src/FiltersPlugin/FiltersPlugin_OppositeToEdge.h
src/FiltersPlugin/FiltersPlugin_Plugin.cpp
src/FiltersPlugin/FiltersPlugin_Plugin.h
src/FiltersPlugin/FiltersPlugin_RelativeToSolid.cpp
src/FiltersPlugin/FiltersPlugin_RelativeToSolid.h
src/FiltersPlugin/FiltersPlugin_Selection.cpp
src/FiltersPlugin/FiltersPlugin_Selection.h
src/FiltersPlugin/FiltersPlugin_TopoConnectedFaces.py
src/FiltersPlugin/FiltersPlugin_Validators.cpp
src/FiltersPlugin/FiltersPlugin_Validators.h
src/FiltersPlugin/FiltersPlugin_VerticalFace.cpp
src/FiltersPlugin/FiltersPlugin_VerticalFace.h
src/FiltersPlugin/Test/Test17924.py
src/FiltersPlugin/Test/Test17962.py
src/FiltersPlugin/Test/Test19190.py
src/FiltersPlugin/Test/Test2946.py
src/FiltersPlugin/Test/Test2951.py
src/FiltersPlugin/Test/Test3241.py
src/FiltersPlugin/Test/TestFilter_BelongsTo.py
src/FiltersPlugin/Test/TestFilter_BelongsTo_Exclude.py
src/FiltersPlugin/Test/TestFilter_ExternalFaces1.py
src/FiltersPlugin/Test/TestFilter_ExternalFaces2.py
src/FiltersPlugin/Test/TestFilter_ExternalFaces_Exclude1.py
src/FiltersPlugin/Test/TestFilter_ExternalFaces_Exclude2.py
src/FiltersPlugin/Test/TestFilter_HorizontalFaces.py
src/FiltersPlugin/Test/TestFilter_HorizontalFaces_Exclude.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Edge1.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Edge2.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Exclude_Edge1.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Exclude_Edge2.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Exclude_Face1.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Exclude_Face2.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Exclude_Face3.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Exclude_Face4.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Face1.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Face2.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Face3.py
src/FiltersPlugin/Test/TestFilter_OnGeometry_Face4.py
src/FiltersPlugin/Test/TestFilter_OnLine.py
src/FiltersPlugin/Test/TestFilter_OnLine_Exclude.py
src/FiltersPlugin/Test/TestFilter_OnLine_Multi.py
src/FiltersPlugin/Test/TestFilter_OnPlane.py
src/FiltersPlugin/Test/TestFilter_OnPlaneSide_Exclude_Face.py
src/FiltersPlugin/Test/TestFilter_OnPlaneSide_Exclude_Plane.py
src/FiltersPlugin/Test/TestFilter_OnPlaneSide_Face.py
src/FiltersPlugin/Test/TestFilter_OnPlaneSide_Multi.py
src/FiltersPlugin/Test/TestFilter_OnPlaneSide_Plane.py
src/FiltersPlugin/Test/TestFilter_OnPlane_Exclude.py
src/FiltersPlugin/Test/TestFilter_OnPlane_Multi.py
src/FiltersPlugin/Test/TestFilter_OppositeToEdge.py
src/FiltersPlugin/Test/TestFilter_OppositeToEdge_Exclude.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Exclude_In.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Exclude_InAndOn.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Exclude_NotOn.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Exclude_On.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Exclude_Out.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Exclude_OutAndOn.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_In.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_InAndOn.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Multi.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_NotOn.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_On.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_Out.py
src/FiltersPlugin/Test/TestFilter_RelativeToSolid_OutAndOn.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Edge1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Edge2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Edge3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Edge1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Edge2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Edge3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Face1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Face2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Face3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Vertex1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Vertex2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Exclude_Vertex3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Face1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Face2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Face3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Multi.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Edge1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Edge2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Edge3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Edge1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Edge2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Edge3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Face1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Face2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Face3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Face1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Face2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Face3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Vertex1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Vertex2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Prop_Vertex3.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Vertex1.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Vertex2.py
src/FiltersPlugin/Test/TestFilter_TopoConnectedFaces_Vertex3.py
src/FiltersPlugin/Test/TestFilter_VerticalFaces.py
src/FiltersPlugin/Test/TestFilter_VerticalFaces_Exclude.py
src/FiltersPlugin/Test/TestFilters.py
src/FiltersPlugin/Test/TestFilters_FilterName.py
src/FiltersPlugin/Test/TestFilters_IsReversed.py
src/FiltersPlugin/Test/TestFilters_Mixed1.py
src/FiltersPlugin/Test/TestFilters_Mixed2.py
src/FiltersPlugin/Test/TestFilters_Remove.py
src/FiltersPlugin/Test/TestFilters_Supported.py
src/FiltersPlugin/Test/TestFilters_Validator.py
src/FiltersPlugin/Test/TestFilters_Xml.py
src/FiltersPlugin/tests.set [new file with mode: 0644]
src/GDMLAPI/CMakeLists.txt
src/GDMLAPI/GDMLAPI.h
src/GDMLAPI/GDMLAPI.i
src/GDMLAPI/GDMLAPI_ConeSegment.cpp
src/GDMLAPI/GDMLAPI_ConeSegment.h
src/GDMLAPI/GDMLAPI_Ellipsoid.cpp
src/GDMLAPI/GDMLAPI_Ellipsoid.h
src/GDMLAPI/GDMLAPI_swig.h
src/GDMLPlugin/CMakeLists.txt
src/GDMLPlugin/GDMLPlugin.h
src/GDMLPlugin/GDMLPlugin_ConeSegment.cpp
src/GDMLPlugin/GDMLPlugin_ConeSegment.h
src/GDMLPlugin/GDMLPlugin_Ellipsoid.cpp
src/GDMLPlugin/GDMLPlugin_Ellipsoid.h
src/GDMLPlugin/GDMLPlugin_Plugin.cpp
src/GDMLPlugin/GDMLPlugin_Plugin.h
src/GDMLPlugin/Test/TestCone.py
src/GDMLPlugin/Test/TestEllipsoid.py
src/GeomAPI/CMakeLists.txt
src/GeomAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/GeomAPI/GeomAPI.h
src/GeomAPI/GeomAPI.i
src/GeomAPI/GeomAPI_AISObject.cpp
src/GeomAPI/GeomAPI_AISObject.h
src/GeomAPI/GeomAPI_Angle.cpp
src/GeomAPI/GeomAPI_Angle.h
src/GeomAPI/GeomAPI_Angle2d.cpp
src/GeomAPI/GeomAPI_Angle2d.h
src/GeomAPI/GeomAPI_Ax1.cpp
src/GeomAPI/GeomAPI_Ax1.h
src/GeomAPI/GeomAPI_Ax2.cpp
src/GeomAPI/GeomAPI_Ax2.h
src/GeomAPI/GeomAPI_Ax3.cpp
src/GeomAPI/GeomAPI_Ax3.h
src/GeomAPI/GeomAPI_BSpline.cpp
src/GeomAPI/GeomAPI_BSpline.h
src/GeomAPI/GeomAPI_BSpline2d.cpp
src/GeomAPI/GeomAPI_BSpline2d.h
src/GeomAPI/GeomAPI_Box.cpp
src/GeomAPI/GeomAPI_Box.h
src/GeomAPI/GeomAPI_Circ.cpp
src/GeomAPI/GeomAPI_Circ.h
src/GeomAPI/GeomAPI_Circ2d.cpp
src/GeomAPI/GeomAPI_Circ2d.h
src/GeomAPI/GeomAPI_Cone.cpp
src/GeomAPI/GeomAPI_Cone.h
src/GeomAPI/GeomAPI_Curve.cpp
src/GeomAPI/GeomAPI_Curve.h
src/GeomAPI/GeomAPI_Cylinder.cpp
src/GeomAPI/GeomAPI_Cylinder.h
src/GeomAPI/GeomAPI_DataMapOfShapeMapOfShapes.cpp
src/GeomAPI/GeomAPI_DataMapOfShapeMapOfShapes.h
src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp
src/GeomAPI/GeomAPI_DataMapOfShapeShape.h
src/GeomAPI/GeomAPI_Dir.cpp
src/GeomAPI/GeomAPI_Dir.h
src/GeomAPI/GeomAPI_Dir2d.cpp
src/GeomAPI/GeomAPI_Dir2d.h
src/GeomAPI/GeomAPI_Edge.cpp
src/GeomAPI/GeomAPI_Edge.h
src/GeomAPI/GeomAPI_Ellipse.cpp
src/GeomAPI/GeomAPI_Ellipse.h
src/GeomAPI/GeomAPI_Ellipse2d.cpp
src/GeomAPI/GeomAPI_Ellipse2d.h
src/GeomAPI/GeomAPI_Face.cpp
src/GeomAPI/GeomAPI_Face.h
src/GeomAPI/GeomAPI_ICustomPrs.cpp
src/GeomAPI/GeomAPI_ICustomPrs.h
src/GeomAPI/GeomAPI_IPresentable.cpp
src/GeomAPI/GeomAPI_IPresentable.h
src/GeomAPI/GeomAPI_IScreenParams.h
src/GeomAPI/GeomAPI_Interface.cpp
src/GeomAPI/GeomAPI_Interface.h
src/GeomAPI/GeomAPI_Lin.cpp
src/GeomAPI/GeomAPI_Lin.h
src/GeomAPI/GeomAPI_Lin2d.cpp
src/GeomAPI/GeomAPI_Lin2d.h
src/GeomAPI/GeomAPI_PlanarEdges.cpp
src/GeomAPI/GeomAPI_PlanarEdges.h
src/GeomAPI/GeomAPI_Pln.cpp
src/GeomAPI/GeomAPI_Pln.h
src/GeomAPI/GeomAPI_Pnt.cpp
src/GeomAPI/GeomAPI_Pnt.h
src/GeomAPI/GeomAPI_Pnt2d.cpp
src/GeomAPI/GeomAPI_Pnt2d.h
src/GeomAPI/GeomAPI_Shape.cpp
src/GeomAPI/GeomAPI_Shape.h
src/GeomAPI/GeomAPI_ShapeExplorer.cpp
src/GeomAPI/GeomAPI_ShapeExplorer.h
src/GeomAPI/GeomAPI_ShapeHierarchy.cpp
src/GeomAPI/GeomAPI_ShapeHierarchy.h
src/GeomAPI/GeomAPI_ShapeIterator.cpp
src/GeomAPI/GeomAPI_ShapeIterator.h
src/GeomAPI/GeomAPI_Shell.cpp
src/GeomAPI/GeomAPI_Shell.h
src/GeomAPI/GeomAPI_Solid.cpp
src/GeomAPI/GeomAPI_Solid.h
src/GeomAPI/GeomAPI_Sphere.cpp
src/GeomAPI/GeomAPI_Sphere.h
src/GeomAPI/GeomAPI_Tools.cpp
src/GeomAPI/GeomAPI_Tools.h
src/GeomAPI/GeomAPI_Torus.cpp
src/GeomAPI/GeomAPI_Torus.h
src/GeomAPI/GeomAPI_Trsf.cpp
src/GeomAPI/GeomAPI_Trsf.h
src/GeomAPI/GeomAPI_Vertex.cpp
src/GeomAPI/GeomAPI_Vertex.h
src/GeomAPI/GeomAPI_Wire.cpp
src/GeomAPI/GeomAPI_Wire.h
src/GeomAPI/GeomAPI_WireExplorer.cpp
src/GeomAPI/GeomAPI_WireExplorer.h
src/GeomAPI/GeomAPI_XY.cpp
src/GeomAPI/GeomAPI_XY.h
src/GeomAPI/GeomAPI_XYZ.cpp
src/GeomAPI/GeomAPI_XYZ.h
src/GeomAPI/GeomAPI_swig.h
src/GeomAPI/Test/Test2675.py
src/GeomAPI/Test/Test2879.py
src/GeomAPI/Test/TestAx123.py
src/GeomAPI/Test/TestBox.py
src/GeomAPI/Test/TestBuilders.py
src/GeomAPI/Test/TestCone.py
src/GeomAPI/Test/TestCylinder.py
src/GeomAPI/Test/TestEllipse2d.py
src/GeomAPI/Test/TestLine.py
src/GeomAPI/Test/TestPlanarEdge.py
src/GeomAPI/Test/TestPolygon.py
src/GeomAPI/Test/TestSphere.py
src/GeomAPI/Test/TestTorus.py
src/GeomAPI/tests.set [new file with mode: 0644]
src/GeomAlgoAPI/CMakeLists.txt
src/GeomAlgoAPI/GeomAlgoAPI.h
src/GeomAlgoAPI/GeomAlgoAPI.i
src/GeomAlgoAPI/GeomAlgoAPI_BREPExport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_BREPExport.h
src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_BREPImport.h
src/GeomAlgoAPI/GeomAlgoAPI_Boolean.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Boolean.h
src/GeomAlgoAPI/GeomAlgoAPI_BoundingBox.cpp [new file with mode: 0644]
src/GeomAlgoAPI/GeomAlgoAPI_BoundingBox.h [new file with mode: 0644]
src/GeomAlgoAPI/GeomAlgoAPI_Box.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Box.h
src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Chamfer.h
src/GeomAlgoAPI/GeomAlgoAPI_Circ2dBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Circ2dBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_CompoundBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_Cone.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Cone.h
src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.cpp
src/GeomAlgoAPI/GeomAlgoAPI_ConeSegment.h
src/GeomAlgoAPI/GeomAlgoAPI_Copy.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Copy.h
src/GeomAlgoAPI/GeomAlgoAPI_CurveBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_CurveBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_Cylinder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Cylinder.h
src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.cpp
src/GeomAlgoAPI/GeomAlgoAPI_DFLoader.h
src/GeomAlgoAPI/GeomAlgoAPI_Defeaturing.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Defeaturing.h
src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_EdgeBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_Ellipsoid.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Ellipsoid.h
src/GeomAlgoAPI/GeomAlgoAPI_Exception.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Exception.h
src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_FaceBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_Fillet.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Fillet.h
src/GeomAlgoAPI/GeomAlgoAPI_Fillet1D.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Fillet1D.h
src/GeomAlgoAPI/GeomAlgoAPI_Filling.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Filling.h
src/GeomAlgoAPI/GeomAlgoAPI_IGESExport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_IGESExport.h
src/GeomAlgoAPI/GeomAlgoAPI_IGESImport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_IGESImport.h
src/GeomAlgoAPI/GeomAlgoAPI_Intersection.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Intersection.h
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.cpp
src/GeomAlgoAPI/GeomAlgoAPI_MakeShape.h
src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeCustom.cpp
src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeCustom.h
src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.cpp
src/GeomAlgoAPI/GeomAlgoAPI_MakeShapeList.h
src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.cpp
src/GeomAlgoAPI/GeomAlgoAPI_MakeSweep.h
src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.cpp
src/GeomAlgoAPI/GeomAlgoAPI_MakeVolume.h
src/GeomAlgoAPI/GeomAlgoAPI_MapShapesAndAncestors.cpp
src/GeomAlgoAPI/GeomAlgoAPI_MapShapesAndAncestors.h
src/GeomAlgoAPI/GeomAlgoAPI_NExplode.cpp
src/GeomAlgoAPI/GeomAlgoAPI_NExplode.h
src/GeomAlgoAPI/GeomAlgoAPI_Offset.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Offset.h
src/GeomAlgoAPI/GeomAlgoAPI_Partition.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Partition.h
src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.cpp
src/GeomAlgoAPI/GeomAlgoAPI_PaveFiller.h
src/GeomAlgoAPI/GeomAlgoAPI_Pipe.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Pipe.h
src/GeomAlgoAPI/GeomAlgoAPI_Placement.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Placement.h
src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_PointBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_Prism.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Prism.h
src/GeomAlgoAPI/GeomAlgoAPI_Projection.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Projection.h
src/GeomAlgoAPI/GeomAlgoAPI_Revolution.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Revolution.h
src/GeomAlgoAPI/GeomAlgoAPI_Rotation.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Rotation.h
src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_STEPExport.h
src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_STEPImport.h
src/GeomAlgoAPI/GeomAlgoAPI_STEPImportXCAF.cpp
src/GeomAlgoAPI/GeomAlgoAPI_STEPImportXCAF.h
src/GeomAlgoAPI/GeomAlgoAPI_STLExport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_STLExport.h
src/GeomAlgoAPI/GeomAlgoAPI_Scale.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Scale.h
src/GeomAlgoAPI/GeomAlgoAPI_Sewing.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Sewing.h
src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp
src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.h
src/GeomAlgoAPI/GeomAlgoAPI_ShapeBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_ShapeBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.cpp
src/GeomAlgoAPI/GeomAlgoAPI_ShapeTools.h
src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_SketchBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_SolidClassifier.cpp
src/GeomAlgoAPI/GeomAlgoAPI_SolidClassifier.h
src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.cpp
src/GeomAlgoAPI/GeomAlgoAPI_SortListOfShapes.h
src/GeomAlgoAPI/GeomAlgoAPI_Sphere.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Sphere.h
src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.h
src/GeomAlgoAPI/GeomAlgoAPI_ThroughAll.cpp
src/GeomAlgoAPI/GeomAlgoAPI_ThroughAll.h
src/GeomAlgoAPI/GeomAlgoAPI_Tools.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Tools.h
src/GeomAlgoAPI/GeomAlgoAPI_Torus.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Torus.h
src/GeomAlgoAPI/GeomAlgoAPI_Transform.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Transform.h
src/GeomAlgoAPI/GeomAlgoAPI_Translation.cpp
src/GeomAlgoAPI/GeomAlgoAPI_Translation.h
src/GeomAlgoAPI/GeomAlgoAPI_UnifySameDomain.cpp
src/GeomAlgoAPI/GeomAlgoAPI_UnifySameDomain.h
src/GeomAlgoAPI/GeomAlgoAPI_WireBuilder.cpp
src/GeomAlgoAPI/GeomAlgoAPI_WireBuilder.h
src/GeomAlgoAPI/GeomAlgoAPI_XAOExport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_XAOExport.h
src/GeomAlgoAPI/GeomAlgoAPI_XAOImport.cpp
src/GeomAlgoAPI/GeomAlgoAPI_XAOImport.h
src/GeomAlgoAPI/GeomAlgoAPI_swig.h
src/GeomAlgoImpl/CMakeLists.txt
src/GeomAlgoImpl/GEOMAlgo_Splitter.cxx
src/GeomAlgoImpl/GEOMAlgo_Splitter.hxx
src/GeomAlgoImpl/GEOMImpl_Fillet1d.cxx
src/GeomAlgoImpl/GEOMImpl_Fillet1d.hxx
src/GeomAlgoImpl/GeomAlgoImpl.h
src/GeomData/CMakeLists.txt
src/GeomData/GeomData.h
src/GeomData/GeomData_Dir.cpp
src/GeomData/GeomData_Dir.h
src/GeomData/GeomData_Point.cpp
src/GeomData/GeomData_Point.h
src/GeomData/GeomData_Point2D.cpp
src/GeomData/GeomData_Point2D.h
src/GeomData/GeomData_Point2DArray.cpp
src/GeomData/GeomData_Point2DArray.h
src/GeomDataAPI/CMakeLists.txt
src/GeomDataAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/GeomDataAPI/GeomDataAPI.h
src/GeomDataAPI/GeomDataAPI.i
src/GeomDataAPI/GeomDataAPI_Dir.cpp
src/GeomDataAPI/GeomDataAPI_Dir.h
src/GeomDataAPI/GeomDataAPI_Point.cpp
src/GeomDataAPI/GeomDataAPI_Point.h
src/GeomDataAPI/GeomDataAPI_Point2D.cpp
src/GeomDataAPI/GeomDataAPI_Point2D.h
src/GeomDataAPI/GeomDataAPI_Point2DArray.cpp
src/GeomDataAPI/GeomDataAPI_Point2DArray.h
src/GeomDataAPI/GeomDataAPI_swig.h
src/GeomDataAPI/Test/TestConstants.py
src/GeomDataAPI/tests.set [new file with mode: 0644]
src/GeomValidators/CMakeLists.txt
src/GeomValidators/GeomValidators.h
src/GeomValidators/GeomValidators_BodyShapes.cpp
src/GeomValidators/GeomValidators_BodyShapes.h
src/GeomValidators/GeomValidators_ConstructionComposite.cpp
src/GeomValidators/GeomValidators_ConstructionComposite.h
src/GeomValidators/GeomValidators_Different.cpp
src/GeomValidators/GeomValidators_Different.h
src/GeomValidators/GeomValidators_DifferentShapes.cpp
src/GeomValidators/GeomValidators_DifferentShapes.h
src/GeomValidators/GeomValidators_Face.cpp
src/GeomValidators/GeomValidators_Face.h
src/GeomValidators/GeomValidators_FeatureKind.cpp
src/GeomValidators/GeomValidators_FeatureKind.h
src/GeomValidators/GeomValidators_Finite.cpp
src/GeomValidators/GeomValidators_Finite.h
src/GeomValidators/GeomValidators_GlobalSelection.cpp
src/GeomValidators/GeomValidators_GlobalSelection.h
src/GeomValidators/GeomValidators_Intersected.cpp
src/GeomValidators/GeomValidators_Intersected.h
src/GeomValidators/GeomValidators_IntersectionSelection.cpp
src/GeomValidators/GeomValidators_MinObjectsSelected.cpp
src/GeomValidators/GeomValidators_MinObjectsSelected.h
src/GeomValidators/GeomValidators_NotSelfIntersected.cpp
src/GeomValidators/GeomValidators_NotSelfIntersected.h
src/GeomValidators/GeomValidators_Plugin.cpp
src/GeomValidators/GeomValidators_Plugin.h
src/GeomValidators/GeomValidators_Positive.cpp
src/GeomValidators/GeomValidators_Positive.h
src/GeomValidators/GeomValidators_ShapeType.cpp
src/GeomValidators/GeomValidators_ShapeType.h
src/GeomValidators/GeomValidators_Tools.cpp
src/GeomValidators/GeomValidators_Tools.h
src/GeomValidators/GeomValidators_ValueOrder.cpp
src/GeomValidators/GeomValidators_ValueOrder.h
src/GeomValidators/GeomValidators_ZeroOffset.cpp
src/GeomValidators/GeomValidators_ZeroOffset.h
src/InitializationPlugin/CMakeLists.txt
src/InitializationPlugin/InitializationPlugin.h
src/InitializationPlugin/InitializationPlugin_EvalListener.cpp
src/InitializationPlugin/InitializationPlugin_EvalListener.h
src/InitializationPlugin/InitializationPlugin_Plugin.cpp
src/InitializationPlugin/InitializationPlugin_Plugin.h
src/InitializationPlugin/InitializationPlugin_PyInterp.cpp
src/InitializationPlugin/InitializationPlugin_PyInterp.h
src/Locale/CMakeLists.txt
src/Locale/CTestTestfileInstall.cmake [new file with mode: 0644]
src/Locale/Locale_Convert.cpp
src/Locale/Locale_Convert.h
src/Locale/Locale_def.h
src/Locale/Test/TestUTF8.py
src/Locale/tests.set [new file with mode: 0644]
src/Model/CMakeLists.txt
src/Model/Model.h
src/Model/Model_Application.cpp
src/Model/Model_Application.h
src/Model/Model_AttributeBoolean.cpp
src/Model/Model_AttributeBoolean.h
src/Model/Model_AttributeDocRef.cpp
src/Model/Model_AttributeDocRef.h
src/Model/Model_AttributeDouble.cpp
src/Model/Model_AttributeDouble.h
src/Model/Model_AttributeDoubleArray.cpp
src/Model/Model_AttributeDoubleArray.h
src/Model/Model_AttributeIntArray.cpp
src/Model/Model_AttributeIntArray.h
src/Model/Model_AttributeInteger.cpp
src/Model/Model_AttributeInteger.h
src/Model/Model_AttributeRefAttr.cpp
src/Model/Model_AttributeRefAttr.h
src/Model/Model_AttributeRefAttrList.cpp
src/Model/Model_AttributeRefAttrList.h
src/Model/Model_AttributeRefList.cpp
src/Model/Model_AttributeRefList.h
src/Model/Model_AttributeReference.cpp
src/Model/Model_AttributeReference.h
src/Model/Model_AttributeSelection.cpp
src/Model/Model_AttributeSelection.h
src/Model/Model_AttributeSelectionList.cpp
src/Model/Model_AttributeSelectionList.h
src/Model/Model_AttributeString.cpp
src/Model/Model_AttributeString.h
src/Model/Model_AttributeStringArray.cpp
src/Model/Model_AttributeStringArray.h
src/Model/Model_AttributeTables.cpp
src/Model/Model_AttributeTables.h
src/Model/Model_AttributeValidator.cpp
src/Model/Model_AttributeValidator.h
src/Model/Model_BodyBuilder.cpp
src/Model/Model_BodyBuilder.h
src/Model/Model_Data.cpp
src/Model/Model_Data.h
src/Model/Model_Document.cpp
src/Model/Model_Document.h
src/Model/Model_Events.cpp
src/Model/Model_Events.h
src/Model/Model_Expression.cpp
src/Model/Model_Expression.h
src/Model/Model_FeatureValidator.cpp
src/Model/Model_FeatureValidator.h
src/Model/Model_FiltersFactory.cpp
src/Model/Model_FiltersFactory.h
src/Model/Model_Objects.cpp
src/Model/Model_Objects.h
src/Model/Model_ResultBody.cpp
src/Model/Model_ResultBody.h
src/Model/Model_ResultConstruction.cpp
src/Model/Model_ResultConstruction.h
src/Model/Model_ResultField.cpp
src/Model/Model_ResultField.h
src/Model/Model_ResultGroup.cpp
src/Model/Model_ResultGroup.h
src/Model/Model_ResultParameter.cpp
src/Model/Model_ResultParameter.h
src/Model/Model_ResultPart.cpp
src/Model/Model_ResultPart.h
src/Model/Model_Session.cpp
src/Model/Model_Session.h
src/Model/Model_Tools.cpp
src/Model/Model_Tools.h
src/Model/Model_Update.cpp
src/Model/Model_Update.h
src/Model/Model_Validator.cpp
src/Model/Model_Validator.h
src/ModelAPI/CMakeLists.txt
src/ModelAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ModelAPI/ModelAPI.h
src/ModelAPI/ModelAPI.i
src/ModelAPI/ModelAPI_Attribute.cpp
src/ModelAPI/ModelAPI_Attribute.h
src/ModelAPI/ModelAPI_AttributeBoolean.cpp
src/ModelAPI/ModelAPI_AttributeBoolean.h
src/ModelAPI/ModelAPI_AttributeDocRef.cpp
src/ModelAPI/ModelAPI_AttributeDocRef.h
src/ModelAPI/ModelAPI_AttributeDouble.cpp
src/ModelAPI/ModelAPI_AttributeDouble.h
src/ModelAPI/ModelAPI_AttributeDoubleArray.cpp
src/ModelAPI/ModelAPI_AttributeDoubleArray.h
src/ModelAPI/ModelAPI_AttributeIntArray.cpp
src/ModelAPI/ModelAPI_AttributeIntArray.h
src/ModelAPI/ModelAPI_AttributeInteger.cpp
src/ModelAPI/ModelAPI_AttributeInteger.h
src/ModelAPI/ModelAPI_AttributeRefAttr.cpp
src/ModelAPI/ModelAPI_AttributeRefAttr.h
src/ModelAPI/ModelAPI_AttributeRefAttrList.cpp
src/ModelAPI/ModelAPI_AttributeRefAttrList.h
src/ModelAPI/ModelAPI_AttributeRefList.cpp
src/ModelAPI/ModelAPI_AttributeRefList.h
src/ModelAPI/ModelAPI_AttributeReference.cpp
src/ModelAPI/ModelAPI_AttributeReference.h
src/ModelAPI/ModelAPI_AttributeSelection.cpp
src/ModelAPI/ModelAPI_AttributeSelection.h
src/ModelAPI/ModelAPI_AttributeSelectionList.cpp
src/ModelAPI/ModelAPI_AttributeSelectionList.h
src/ModelAPI/ModelAPI_AttributeString.cpp
src/ModelAPI/ModelAPI_AttributeString.h
src/ModelAPI/ModelAPI_AttributeStringArray.cpp
src/ModelAPI/ModelAPI_AttributeStringArray.h
src/ModelAPI/ModelAPI_AttributeTables.cpp
src/ModelAPI/ModelAPI_AttributeTables.h
src/ModelAPI/ModelAPI_AttributeValidator.cpp
src/ModelAPI/ModelAPI_AttributeValidator.h
src/ModelAPI/ModelAPI_BodyBuilder.cpp
src/ModelAPI/ModelAPI_BodyBuilder.h
src/ModelAPI/ModelAPI_CompositeFeature.cpp
src/ModelAPI/ModelAPI_CompositeFeature.h
src/ModelAPI/ModelAPI_Data.cpp
src/ModelAPI/ModelAPI_Data.h
src/ModelAPI/ModelAPI_Document.cpp
src/ModelAPI/ModelAPI_Document.h
src/ModelAPI/ModelAPI_Entity.h
src/ModelAPI/ModelAPI_EventReentrantMessage.cpp
src/ModelAPI/ModelAPI_EventReentrantMessage.h
src/ModelAPI/ModelAPI_Events.cpp
src/ModelAPI/ModelAPI_Events.h
src/ModelAPI/ModelAPI_Expression.cpp
src/ModelAPI/ModelAPI_Expression.h
src/ModelAPI/ModelAPI_Feature.cpp
src/ModelAPI/ModelAPI_Feature.h
src/ModelAPI/ModelAPI_FeatureValidator.cpp
src/ModelAPI/ModelAPI_FeatureValidator.h
src/ModelAPI/ModelAPI_Filter.cpp
src/ModelAPI/ModelAPI_Filter.h
src/ModelAPI/ModelAPI_FiltersArgs.h
src/ModelAPI/ModelAPI_FiltersFactory.h
src/ModelAPI/ModelAPI_FiltersFeature.h
src/ModelAPI/ModelAPI_Folder.cpp
src/ModelAPI/ModelAPI_Folder.h
src/ModelAPI/ModelAPI_IReentrant.cpp
src/ModelAPI/ModelAPI_IReentrant.h
src/ModelAPI/ModelAPI_Object.cpp
src/ModelAPI/ModelAPI_Object.h
src/ModelAPI/ModelAPI_Plugin.cpp
src/ModelAPI/ModelAPI_Plugin.h
src/ModelAPI/ModelAPI_Result.cpp
src/ModelAPI/ModelAPI_Result.h
src/ModelAPI/ModelAPI_ResultBody.cpp
src/ModelAPI/ModelAPI_ResultBody.h
src/ModelAPI/ModelAPI_ResultConstruction.cpp
src/ModelAPI/ModelAPI_ResultConstruction.h
src/ModelAPI/ModelAPI_ResultField.cpp
src/ModelAPI/ModelAPI_ResultField.h
src/ModelAPI/ModelAPI_ResultGroup.cpp
src/ModelAPI/ModelAPI_ResultGroup.h
src/ModelAPI/ModelAPI_ResultParameter.cpp
src/ModelAPI/ModelAPI_ResultParameter.h
src/ModelAPI/ModelAPI_ResultPart.cpp
src/ModelAPI/ModelAPI_ResultPart.h
src/ModelAPI/ModelAPI_Session.cpp
src/ModelAPI/ModelAPI_Session.h
src/ModelAPI/ModelAPI_Tools.cpp
src/ModelAPI/ModelAPI_Tools.h
src/ModelAPI/ModelAPI_Validator.h
src/ModelAPI/ModelAPI_swig.h
src/ModelAPI/Test/Test1064.py
src/ModelAPI/Test/Test1512.py
src/ModelAPI/Test/Test1562.py
src/ModelAPI/Test/Test1757.py
src/ModelAPI/Test/Test19019_1.py
src/ModelAPI/Test/Test19019_2.py
src/ModelAPI/Test/Test19031.py
src/ModelAPI/Test/Test19058.py
src/ModelAPI/Test/Test19217.py
src/ModelAPI/Test/Test19707.py
src/ModelAPI/Test/Test19726.py
src/ModelAPI/Test/Test19912.py
src/ModelAPI/Test/Test19932.py
src/ModelAPI/Test/Test1995.py
src/ModelAPI/Test/Test1998.py
src/ModelAPI/Test/Test19989.py
src/ModelAPI/Test/Test20170.py
src/ModelAPI/Test/Test2170.py
src/ModelAPI/Test/Test2228.py
src/ModelAPI/Test/Test2241.py
src/ModelAPI/Test/Test2252.py
src/ModelAPI/Test/Test2276.py
src/ModelAPI/Test/Test2358_1.py
src/ModelAPI/Test/Test2358_2.py
src/ModelAPI/Test/Test2389.py
src/ModelAPI/Test/Test2391.py
src/ModelAPI/Test/Test2396.py
src/ModelAPI/Test/Test2401.py
src/ModelAPI/Test/Test2413.py
src/ModelAPI/Test/Test2491.py
src/ModelAPI/Test/Test2493.py
src/ModelAPI/Test/Test2496.py
src/ModelAPI/Test/Test2510.py
src/ModelAPI/Test/Test2607.py
src/ModelAPI/Test/Test2627.py
src/ModelAPI/Test/Test2685.py
src/ModelAPI/Test/Test2828.py
src/ModelAPI/Test/Test2859.py
src/ModelAPI/Test/Test2873.py
src/ModelAPI/Test/Test2901.py
src/ModelAPI/Test/Test2903.py
src/ModelAPI/Test/Test3020.py
src/ModelAPI/Test/Test3116.py
src/ModelAPI/Test/TestBlockRecalculation.py
src/ModelAPI/Test/TestConstants.py
src/ModelAPI/Test/TestContainerSelector.py
src/ModelAPI/Test/TestCustomName_BooleanCut.py
src/ModelAPI/Test/TestCustomName_CommonCompSolid.py
src/ModelAPI/Test/TestCustomName_CutCompSolid.py
src/ModelAPI/Test/TestCustomName_CutGroup.py
src/ModelAPI/Test/TestCustomName_DefaultName.py
src/ModelAPI/Test/TestCustomName_ExtrudeFace.py
src/ModelAPI/Test/TestCustomName_ExtrusionCut.py
src/ModelAPI/Test/TestCustomName_ExtrusionCutFace.py
src/ModelAPI/Test/TestCustomName_MultiTranslation.py
src/ModelAPI/Test/TestCustomName_Partition.py
src/ModelAPI/Test/TestCustomName_Placement.py
src/ModelAPI/Test/TestCustomName_Recover.py
src/ModelAPI/Test/TestCustomName_Rename.py
src/ModelAPI/Test/TestCustomName_RotateGroup.py
src/ModelAPI/Test/TestCustomName_Translation.py
src/ModelAPI/Test/TestDocument.py
src/ModelAPI/Test/TestDoubleArray.py
src/ModelAPI/Test/TestExternalConstruction.py
src/ModelAPI/Test/TestFeatureSelection_1.py
src/ModelAPI/Test/TestFeatureSelection_2.py
src/ModelAPI/Test/TestFolder_Create.py
src/ModelAPI/Test/TestFolder_CustomName.py
src/ModelAPI/Test/TestFolder_Empty.py
src/ModelAPI/Test/TestFolder_Remove.py
src/ModelAPI/Test/TestFolder_Sketch.py
src/ModelAPI/Test/TestFolder_Stability.py
src/ModelAPI/Test/TestFolder_Update.py
src/ModelAPI/Test/TestGeomNamingBoxWithFillet.py
src/ModelAPI/Test/TestGeomNamingEdgeByFilter.py
src/ModelAPI/Test/TestGeomNamingPlacement.py
src/ModelAPI/Test/TestGeomNamingRevolution.py
src/ModelAPI/Test/TestGeomNamingSketchPlane.py
src/ModelAPI/Test/TestIntArray.py
src/ModelAPI/Test/TestResults.py
src/ModelAPI/Test/TestSaveOpen1.py
src/ModelAPI/Test/TestSaveOpen2.py
src/ModelAPI/Test/TestSelectionCircleCenter.py
src/ModelAPI/Test/TestSelectionInPart.py
src/ModelAPI/Test/TestSelectionInitialization.py
src/ModelAPI/Test/TestSelectionRestore.py
src/ModelAPI/Test/TestSelectionScope.py
src/ModelAPI/Test/TestSelectorShell.py
src/ModelAPI/Test/TestUndoRedo.py
src/ModelAPI/Test/TestWeakNaming2125.py
src/ModelAPI/Test/TestWeakNaming2222.py
src/ModelAPI/Test/TestWeakNaming2245.py
src/ModelAPI/Test/TestWeakNaming2247.py
src/ModelAPI/Test/TestWeakNaming2248.py
src/ModelAPI/Test/TestWeakNaming2261.py
src/ModelAPI/Test/TestWeakNaming2291.py
src/ModelAPI/Test/TestWeakNaming2335.py
src/ModelAPI/Test/TestWeakNaming2375.py
src/ModelAPI/Test/TestWeakNaming2437.py
src/ModelAPI/Test/TestWeakNaming2445.py
src/ModelAPI/Test/TestWeakNaming2446.py
src/ModelAPI/Test/TestWeakNaming2452.py
src/ModelAPI/Test/TestWeakNamingSortOrder.py
src/ModelAPI/tests.set [new file with mode: 0644]
src/ModelGeomAlgo/CMakeLists.txt
src/ModelGeomAlgo/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ModelGeomAlgo/ModelGeomAlgo.h
src/ModelGeomAlgo/ModelGeomAlgo.i
src/ModelGeomAlgo/ModelGeomAlgo_Point2D.cpp
src/ModelGeomAlgo/ModelGeomAlgo_Point2D.h
src/ModelGeomAlgo/ModelGeomAlgo_Shape.cpp
src/ModelGeomAlgo/ModelGeomAlgo_Shape.h
src/ModelGeomAlgo/ModelGeomAlgo_swig.h
src/ModelGeomAlgo/Test/TestPoint2D.py
src/ModelGeomAlgo/tests.set [new file with mode: 0644]
src/ModelHighAPI/CMakeLists.txt
src/ModelHighAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ModelHighAPI/ModelHighAPI.h
src/ModelHighAPI/ModelHighAPI.i
src/ModelHighAPI/ModelHighAPI_Double.cpp
src/ModelHighAPI/ModelHighAPI_Double.h
src/ModelHighAPI/ModelHighAPI_Dumper.cpp
src/ModelHighAPI/ModelHighAPI_Dumper.h
src/ModelHighAPI/ModelHighAPI_FeatureStore.cpp
src/ModelHighAPI/ModelHighAPI_FeatureStore.h
src/ModelHighAPI/ModelHighAPI_Folder.cpp
src/ModelHighAPI/ModelHighAPI_Folder.h
src/ModelHighAPI/ModelHighAPI_Integer.cpp
src/ModelHighAPI/ModelHighAPI_Integer.h
src/ModelHighAPI/ModelHighAPI_Interface.cpp
src/ModelHighAPI/ModelHighAPI_Interface.h
src/ModelHighAPI/ModelHighAPI_Macro.h
src/ModelHighAPI/ModelHighAPI_RefAttr.cpp
src/ModelHighAPI/ModelHighAPI_RefAttr.h
src/ModelHighAPI/ModelHighAPI_Reference.cpp
src/ModelHighAPI/ModelHighAPI_Reference.h
src/ModelHighAPI/ModelHighAPI_Selection.cpp
src/ModelHighAPI/ModelHighAPI_Selection.h
src/ModelHighAPI/ModelHighAPI_Services.cpp
src/ModelHighAPI/ModelHighAPI_Services.h
src/ModelHighAPI/ModelHighAPI_Tools.cpp
src/ModelHighAPI/ModelHighAPI_Tools.h
src/ModelHighAPI/ModelHighAPI_swig.h
src/ModelHighAPI/Test/Test18451.py
src/ModelHighAPI/Test/Test19031.py
src/ModelHighAPI/Test/Test19990_1.py
src/ModelHighAPI/Test/Test19990_2.py
src/ModelHighAPI/Test/Test20167.py
src/ModelHighAPI/Test/Test2488.py
src/ModelHighAPI/Test/TestDeflectionDump.py
src/ModelHighAPI/Test/TestDouble.py
src/ModelHighAPI/Test/TestInteger.py
src/ModelHighAPI/Test/TestRefAttr.py
src/ModelHighAPI/Test/TestReference.py
src/ModelHighAPI/Test/TestUndoRedo.py
src/ModelHighAPI/tests.set [new file with mode: 0644]
src/ModuleBase/CMakeLists.txt
src/ModuleBase/ModuleBase.h
src/ModuleBase/ModuleBase_ActionInfo.cpp
src/ModuleBase/ModuleBase_ActionInfo.h
src/ModuleBase/ModuleBase_ActionIntParameter.h
src/ModuleBase/ModuleBase_ActionParameter.h
src/ModuleBase/ModuleBase_ActionType.h
src/ModuleBase/ModuleBase_BRepOwner.cpp
src/ModuleBase/ModuleBase_BRepOwner.h
src/ModuleBase/ModuleBase_ChoiceCtrl.cpp
src/ModuleBase/ModuleBase_ChoiceCtrl.h
src/ModuleBase/ModuleBase_Definitions.h
src/ModuleBase/ModuleBase_Dialog.cpp
src/ModuleBase/ModuleBase_Dialog.h
src/ModuleBase/ModuleBase_DoubleSpinBox.cpp
src/ModuleBase/ModuleBase_DoubleSpinBox.h
src/ModuleBase/ModuleBase_Events.h
src/ModuleBase/ModuleBase_Filter.cpp
src/ModuleBase/ModuleBase_Filter.h
src/ModuleBase/ModuleBase_FilterValidated.cpp
src/ModuleBase/ModuleBase_FilterValidated.h
src/ModuleBase/ModuleBase_IErrorMgr.cpp
src/ModuleBase/ModuleBase_IErrorMgr.h
src/ModuleBase/ModuleBase_IModule.cpp
src/ModuleBase/ModuleBase_IModule.h
src/ModuleBase/ModuleBase_IPrefMgr.cpp
src/ModuleBase/ModuleBase_IPrefMgr.h
src/ModuleBase/ModuleBase_IPropertyPanel.cpp
src/ModuleBase/ModuleBase_IPropertyPanel.h
src/ModuleBase/ModuleBase_ISelection.cpp
src/ModuleBase/ModuleBase_ISelection.h
src/ModuleBase/ModuleBase_ISelectionActivate.h
src/ModuleBase/ModuleBase_IStepPrs.cpp
src/ModuleBase/ModuleBase_IStepPrs.h
src/ModuleBase/ModuleBase_ITreeNode.h
src/ModuleBase/ModuleBase_IViewWindow.cpp
src/ModuleBase/ModuleBase_IViewWindow.h
src/ModuleBase/ModuleBase_IViewer.cpp
src/ModuleBase/ModuleBase_IViewer.h
src/ModuleBase/ModuleBase_IWidgetCreator.cpp
src/ModuleBase/ModuleBase_IWidgetCreator.h
src/ModuleBase/ModuleBase_IWorkshop.cpp
src/ModuleBase/ModuleBase_IWorkshop.h
src/ModuleBase/ModuleBase_IconFactory.cpp
src/ModuleBase/ModuleBase_IconFactory.h
src/ModuleBase/ModuleBase_IntSpinBox.cpp
src/ModuleBase/ModuleBase_IntSpinBox.h
src/ModuleBase/ModuleBase_LabelValue.cpp
src/ModuleBase/ModuleBase_LabelValue.h
src/ModuleBase/ModuleBase_ListView.cpp
src/ModuleBase/ModuleBase_ListView.h
src/ModuleBase/ModuleBase_ModelDialogWidget.h
src/ModuleBase/ModuleBase_ModelWidget.cpp
src/ModuleBase/ModuleBase_ModelWidget.h
src/ModuleBase/ModuleBase_Operation.cpp
src/ModuleBase/ModuleBase_Operation.h
src/ModuleBase/ModuleBase_OperationDescription.cpp
src/ModuleBase/ModuleBase_OperationDescription.h
src/ModuleBase/ModuleBase_OperationFeature.cpp
src/ModuleBase/ModuleBase_OperationFeature.h
src/ModuleBase/ModuleBase_PageBase.cpp
src/ModuleBase/ModuleBase_PageBase.h
src/ModuleBase/ModuleBase_PageGroupBox.cpp
src/ModuleBase/ModuleBase_PageGroupBox.h
src/ModuleBase/ModuleBase_PageWidget.cpp
src/ModuleBase/ModuleBase_PageWidget.h
src/ModuleBase/ModuleBase_PagedContainer.cpp
src/ModuleBase/ModuleBase_PagedContainer.h
src/ModuleBase/ModuleBase_ParamIntSpinBox.cpp
src/ModuleBase/ModuleBase_ParamIntSpinBox.h
src/ModuleBase/ModuleBase_ParamSpinBox.cpp
src/ModuleBase/ModuleBase_ParamSpinBox.h
src/ModuleBase/ModuleBase_Preferences.cpp
src/ModuleBase/ModuleBase_Preferences.h
src/ModuleBase/ModuleBase_ResultPrs.cpp
src/ModuleBase/ModuleBase_ResultPrs.h
src/ModuleBase/ModuleBase_SelectionFilterType.h
src/ModuleBase/ModuleBase_SelectionValidator.cpp
src/ModuleBase/ModuleBase_SelectionValidator.h
src/ModuleBase/ModuleBase_ToolBox.cpp
src/ModuleBase/ModuleBase_ToolBox.h
src/ModuleBase/ModuleBase_Tools.cpp
src/ModuleBase/ModuleBase_Tools.h
src/ModuleBase/ModuleBase_ViewerFilters.cpp
src/ModuleBase/ModuleBase_ViewerFilters.h
src/ModuleBase/ModuleBase_ViewerPrs.cpp
src/ModuleBase/ModuleBase_ViewerPrs.h
src/ModuleBase/ModuleBase_WidgetAction.cpp
src/ModuleBase/ModuleBase_WidgetAction.h
src/ModuleBase/ModuleBase_WidgetBoolValue.cpp
src/ModuleBase/ModuleBase_WidgetBoolValue.h
src/ModuleBase/ModuleBase_WidgetChoice.cpp
src/ModuleBase/ModuleBase_WidgetChoice.h
src/ModuleBase/ModuleBase_WidgetConcealedObjects.cpp
src/ModuleBase/ModuleBase_WidgetConcealedObjects.h
src/ModuleBase/ModuleBase_WidgetCreatorFactory.cpp
src/ModuleBase/ModuleBase_WidgetCreatorFactory.h
src/ModuleBase/ModuleBase_WidgetDoubleValue.cpp
src/ModuleBase/ModuleBase_WidgetDoubleValue.h
src/ModuleBase/ModuleBase_WidgetEditor.cpp
src/ModuleBase/ModuleBase_WidgetEditor.h
src/ModuleBase/ModuleBase_WidgetExprEditor.cpp
src/ModuleBase/ModuleBase_WidgetExprEditor.h
src/ModuleBase/ModuleBase_WidgetFactory.cpp
src/ModuleBase/ModuleBase_WidgetFactory.h
src/ModuleBase/ModuleBase_WidgetFeatureSelector.cpp
src/ModuleBase/ModuleBase_WidgetFeatureSelector.h
src/ModuleBase/ModuleBase_WidgetFileSelector.cpp
src/ModuleBase/ModuleBase_WidgetFileSelector.h
src/ModuleBase/ModuleBase_WidgetIntValue.cpp
src/ModuleBase/ModuleBase_WidgetIntValue.h
src/ModuleBase/ModuleBase_WidgetLabel.cpp
src/ModuleBase/ModuleBase_WidgetLabel.h
src/ModuleBase/ModuleBase_WidgetLabelValue.cpp
src/ModuleBase/ModuleBase_WidgetLabelValue.h
src/ModuleBase/ModuleBase_WidgetLineEdit.cpp
src/ModuleBase/ModuleBase_WidgetLineEdit.h
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
src/ModuleBase/ModuleBase_WidgetMultiSelector.h
src/ModuleBase/ModuleBase_WidgetNameEdit.cpp
src/ModuleBase/ModuleBase_WidgetNameEdit.h
src/ModuleBase/ModuleBase_WidgetOptionalBox.cpp
src/ModuleBase/ModuleBase_WidgetOptionalBox.h
src/ModuleBase/ModuleBase_WidgetPointInput.cpp
src/ModuleBase/ModuleBase_WidgetPointInput.h
src/ModuleBase/ModuleBase_WidgetRadiobox.cpp
src/ModuleBase/ModuleBase_WidgetRadiobox.h
src/ModuleBase/ModuleBase_WidgetSelectionFilter.cpp
src/ModuleBase/ModuleBase_WidgetSelectionFilter.h
src/ModuleBase/ModuleBase_WidgetSelector.cpp
src/ModuleBase/ModuleBase_WidgetSelector.h
src/ModuleBase/ModuleBase_WidgetSelectorStore.cpp
src/ModuleBase/ModuleBase_WidgetSelectorStore.h
src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp
src/ModuleBase/ModuleBase_WidgetShapeSelector.h
src/ModuleBase/ModuleBase_WidgetSwitch.cpp
src/ModuleBase/ModuleBase_WidgetSwitch.h
src/ModuleBase/ModuleBase_WidgetToolbox.cpp
src/ModuleBase/ModuleBase_WidgetToolbox.h
src/ModuleBase/ModuleBase_WidgetUndoLabel.cpp
src/ModuleBase/ModuleBase_WidgetUndoLabel.h
src/ModuleBase/ModuleBase_WidgetValidated.cpp
src/ModuleBase/ModuleBase_WidgetValidated.h
src/ModuleBase/ModuleBase_WidgetValidator.cpp
src/ModuleBase/ModuleBase_WidgetValidator.h
src/ParametersAPI/CMakeLists.txt
src/ParametersAPI/ParametersAPI.h
src/ParametersAPI/ParametersAPI.i
src/ParametersAPI/ParametersAPI_Parameter.cpp
src/ParametersAPI/ParametersAPI_Parameter.h
src/ParametersAPI/ParametersAPI_swig.h
src/ParametersPlugin/CMakeLists.txt
src/ParametersPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/ParametersPlugin/ParametersPlugin.h
src/ParametersPlugin/ParametersPlugin_EvalListener.cpp
src/ParametersPlugin/ParametersPlugin_EvalListener.h
src/ParametersPlugin/ParametersPlugin_Parameter.cpp
src/ParametersPlugin/ParametersPlugin_Parameter.h
src/ParametersPlugin/ParametersPlugin_ParametersMgr.cpp
src/ParametersPlugin/ParametersPlugin_ParametersMgr.h
src/ParametersPlugin/ParametersPlugin_Plugin.cpp
src/ParametersPlugin/ParametersPlugin_Plugin.h
src/ParametersPlugin/ParametersPlugin_Validators.cpp
src/ParametersPlugin/ParametersPlugin_Validators.h
src/ParametersPlugin/ParametersPlugin_WidgetCreator.cpp
src/ParametersPlugin/ParametersPlugin_WidgetCreator.h
src/ParametersPlugin/ParametersPlugin_WidgetParamsMgr.cpp
src/ParametersPlugin/ParametersPlugin_WidgetParamsMgr.h
src/ParametersPlugin/Test/Test1806.py
src/ParametersPlugin/Test/Test19036.py
src/ParametersPlugin/Test/Test2392.py
src/ParametersPlugin/Test/Test2474.py
src/ParametersPlugin/Test/TestParameterChangeValue.py
src/ParametersPlugin/Test/TestParameterCreation.py
src/ParametersPlugin/Test/TestParameterDelete.py
src/ParametersPlugin/Test/TestParameterErrorMsg.py
src/ParametersPlugin/Test/TestParameterRename.py
src/ParametersPlugin/Test/TestParametersMgr.py
src/ParametersPlugin/tests.set [new file with mode: 0644]
src/PartSet/CMakeLists.txt
src/PartSet/PartSet.h
src/PartSet/PartSet_BSplineWidget.cpp
src/PartSet/PartSet_BSplineWidget.h
src/PartSet/PartSet_CenterPrs.cpp
src/PartSet/PartSet_CenterPrs.h
src/PartSet/PartSet_Constants.h
src/PartSet/PartSet_CustomPrs.cpp
src/PartSet/PartSet_CustomPrs.h
src/PartSet/PartSet_DataModel.cpp
src/PartSet/PartSet_DataModel.h
src/PartSet/PartSet_ExternalObjectsMgr.cpp
src/PartSet/PartSet_ExternalObjectsMgr.h
src/PartSet/PartSet_ExternalPointsMgr.cpp
src/PartSet/PartSet_ExternalPointsMgr.h
src/PartSet/PartSet_FieldStepPrs.cpp
src/PartSet/PartSet_FieldStepPrs.h
src/PartSet/PartSet_FilterInfinite.cpp
src/PartSet/PartSet_FilterInfinite.h
src/PartSet/PartSet_Filters.cpp
src/PartSet/PartSet_Filters.h
src/PartSet/PartSet_IconFactory.cpp
src/PartSet/PartSet_IconFactory.h
src/PartSet/PartSet_MenuMgr.cpp
src/PartSet/PartSet_MenuMgr.h
src/PartSet/PartSet_Module.cpp
src/PartSet/PartSet_Module.h
src/PartSet/PartSet_MouseProcessor.h
src/PartSet/PartSet_OperationPrs.cpp
src/PartSet/PartSet_OperationPrs.h
src/PartSet/PartSet_OverconstraintListener.cpp
src/PartSet/PartSet_OverconstraintListener.h
src/PartSet/PartSet_PreviewPlanes.cpp
src/PartSet/PartSet_PreviewPlanes.h
src/PartSet/PartSet_PreviewSketchPlane.cpp
src/PartSet/PartSet_PreviewSketchPlane.h
src/PartSet/PartSet_ResultSketchPrs.cpp
src/PartSet/PartSet_ResultSketchPrs.h
src/PartSet/PartSet_SketcherMgr.cpp
src/PartSet/PartSet_SketcherMgr.h
src/PartSet/PartSet_SketcherReentrantMgr.cpp
src/PartSet/PartSet_SketcherReentrantMgr.h
src/PartSet/PartSet_Tools.cpp
src/PartSet/PartSet_Tools.h
src/PartSet/PartSet_TreeNodes.cpp
src/PartSet/PartSet_TreeNodes.h
src/PartSet/PartSet_Validators.cpp
src/PartSet/PartSet_Validators.h
src/PartSet/PartSet_WidgetBSplinePoints.cpp
src/PartSet/PartSet_WidgetBSplinePoints.h
src/PartSet/PartSet_WidgetEditor.cpp
src/PartSet/PartSet_WidgetEditor.h
src/PartSet/PartSet_WidgetFeaturePointSelector.cpp
src/PartSet/PartSet_WidgetFeaturePointSelector.h
src/PartSet/PartSet_WidgetFileSelector.cpp
src/PartSet/PartSet_WidgetFileSelector.h
src/PartSet/PartSet_WidgetMultiSelector.cpp
src/PartSet/PartSet_WidgetMultiSelector.h
src/PartSet/PartSet_WidgetPoint2DFlyout.cpp
src/PartSet/PartSet_WidgetPoint2DFlyout.h
src/PartSet/PartSet_WidgetPoint2d.cpp
src/PartSet/PartSet_WidgetPoint2d.h
src/PartSet/PartSet_WidgetShapeSelector.cpp
src/PartSet/PartSet_WidgetShapeSelector.h
src/PartSet/PartSet_WidgetSketchCreator.cpp
src/PartSet/PartSet_WidgetSketchCreator.h
src/PartSet/PartSet_WidgetSketchLabel.cpp
src/PartSet/PartSet_WidgetSketchLabel.h
src/PartSetAPI/CMakeLists.txt
src/PartSetAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/PartSetAPI/PartSetAPI.h
src/PartSetAPI/PartSetAPI.i
src/PartSetAPI/PartSetAPI_Part.cpp
src/PartSetAPI/PartSetAPI_Part.h
src/PartSetAPI/PartSetAPI_swig.h
src/PartSetAPI/Test/TestRemoveDuplicate.py
src/PartSetAPI/tests.set [new file with mode: 0644]
src/PartSetPlugin/CMakeLists.txt
src/PartSetPlugin/PartSetPlugin.h
src/PartSetPlugin/PartSetPlugin_Duplicate.cpp
src/PartSetPlugin/PartSetPlugin_Duplicate.h
src/PartSetPlugin/PartSetPlugin_Part.cpp
src/PartSetPlugin/PartSetPlugin_Part.h
src/PartSetPlugin/PartSetPlugin_Plugin.cpp
src/PartSetPlugin/PartSetPlugin_Plugin.h
src/PartSetPlugin/PartSetPlugin_Remove.cpp
src/PartSetPlugin/PartSetPlugin_Remove.h
src/PrimitivesAPI/CMakeLists.txt
src/PrimitivesAPI/PrimitivesAPI.h
src/PrimitivesAPI/PrimitivesAPI.i
src/PrimitivesAPI/PrimitivesAPI_Box.cpp
src/PrimitivesAPI/PrimitivesAPI_Box.h
src/PrimitivesAPI/PrimitivesAPI_Cone.cpp
src/PrimitivesAPI/PrimitivesAPI_Cone.h
src/PrimitivesAPI/PrimitivesAPI_Cylinder.cpp
src/PrimitivesAPI/PrimitivesAPI_Cylinder.h
src/PrimitivesAPI/PrimitivesAPI_Sphere.cpp
src/PrimitivesAPI/PrimitivesAPI_Sphere.h
src/PrimitivesAPI/PrimitivesAPI_Torus.cpp
src/PrimitivesAPI/PrimitivesAPI_Torus.h
src/PrimitivesAPI/PrimitivesAPI_swig.h
src/PrimitivesPlugin/CMakeLists.txt
src/PrimitivesPlugin/PrimitivesPlugin.h
src/PrimitivesPlugin/PrimitivesPlugin_Box.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Box.h
src/PrimitivesPlugin/PrimitivesPlugin_Cone.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Cone.h
src/PrimitivesPlugin/PrimitivesPlugin_Cylinder.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Cylinder.h
src/PrimitivesPlugin/PrimitivesPlugin_Plugin.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Plugin.h
src/PrimitivesPlugin/PrimitivesPlugin_Sphere.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Sphere.h
src/PrimitivesPlugin/PrimitivesPlugin_Torus.cpp
src/PrimitivesPlugin/PrimitivesPlugin_Torus.h
src/PythonAPI/CMakeLists.txt
src/PythonAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/PythonAPI/Test/Test2044.py
src/PythonAPI/Test/TestFeatures.py
src/PythonAPI/Test/TestFeaturesExtrusion.py
src/PythonAPI/Test/TestFeaturesRevolution.py
src/PythonAPI/Test/TestMakeBrick1.py
src/PythonAPI/Test/TestMakeBrick2.py
src/PythonAPI/Test/TestModel.py
src/PythonAPI/Test/TestPlatine.py
src/PythonAPI/Test/TestPrimitivesBox.py
src/PythonAPI/Test/TestPythonAPI.py
src/PythonAPI/Test/TestSketcher.py
src/PythonAPI/Test/TestSketcherAddArc.py
src/PythonAPI/Test/TestSketcherAddCircle.py
src/PythonAPI/Test/TestSketcherAddLine.py
src/PythonAPI/Test/TestSketcherAddMirror.py
src/PythonAPI/Test/TestSketcherAddPoint.py
src/PythonAPI/Test/TestSketcherSetAngle.py
src/PythonAPI/Test/TestSketcherSetCoincident.py
src/PythonAPI/Test/TestSketcherSetEqual.py
src/PythonAPI/Test/TestSketcherSetFillet.py
src/PythonAPI/Test/TestSketcherSetFixed.py
src/PythonAPI/Test/TestSketcherSetHorizontal.py
src/PythonAPI/Test/TestSketcherSetLength.py
src/PythonAPI/Test/TestSketcherSetParallel.py
src/PythonAPI/Test/TestSketcherSetPerpendicular.py
src/PythonAPI/Test/TestSketcherSetRadius.py
src/PythonAPI/Test/TestSketcherSetTangent.py
src/PythonAPI/Test/TestSketcherSetVertical.py
src/PythonAPI/__init__.py
src/PythonAPI/doc/source/conf.py
src/PythonAPI/examples/MakeBrick1.py
src/PythonAPI/examples/MakeBrick2.py
src/PythonAPI/examples/Platine.py
src/PythonAPI/geom/__init__.py
src/PythonAPI/initConfig.py
src/PythonAPI/model/__init__.py
src/PythonAPI/model/build/__init__.py
src/PythonAPI/model/collection/__init__.py
src/PythonAPI/model/connection/__init__.py
src/PythonAPI/model/construction/__init__.py
src/PythonAPI/model/dump/DumpAssistant.py
src/PythonAPI/model/dump/__init__.py
src/PythonAPI/model/exchange/__init__.py
src/PythonAPI/model/exchange/tools.py
src/PythonAPI/model/features/__init__.py
src/PythonAPI/model/filters/__init__.py
src/PythonAPI/model/gdml/__init__.py
src/PythonAPI/model/parameter/__init__.py
src/PythonAPI/model/partset/__init__.py
src/PythonAPI/model/primitives/__init__.py
src/PythonAPI/model/roots.py
src/PythonAPI/model/services/__init__.py
src/PythonAPI/model/sketcher/__init__.py
src/PythonAPI/model/sketcher/tests.py
src/PythonAPI/model/sketcher/tools.py
src/PythonAPI/model/tests/__init__.py
src/PythonAPI/model/tests/tests.py
src/PythonAPI/tests.set [new file with mode: 0644]
src/PythonAddons/CMakeLists.txt
src/PythonAddons/CTestTestfileInstall.cmake [new file with mode: 0644]
src/PythonAddons/Test/TestRectangle.py
src/PythonAddons/Test/TestcompoundVertices.py
src/PythonAddons/Test/TestimportParameters.py
src/PythonAddons/__init__.py
src/PythonAddons/addons_Features.py
src/PythonAddons/doc/examples/rectangle/feature.py
src/PythonAddons/macros/__init__.py
src/PythonAddons/macros/compoundVertices/__init__.py
src/PythonAddons/macros/compoundVertices/feature.py
src/PythonAddons/macros/importParameters/__init__.py
src/PythonAddons/macros/importParameters/feature.py
src/PythonAddons/macros/rectangle/__init__.py
src/PythonAddons/macros/rectangle/feature.py
src/PythonAddons/tests.set [new file with mode: 0644]
src/SHAPERGUI/CMakeLists.txt
src/SHAPERGUI/SHAPERGUI.cpp
src/SHAPERGUI/SHAPERGUI.h
src/SHAPERGUI/SHAPERGUI_DataModel.cpp
src/SHAPERGUI/SHAPERGUI_DataModel.h
src/SHAPERGUI/SHAPERGUI_NestedButton.cpp
src/SHAPERGUI/SHAPERGUI_NestedButton.h
src/SHAPERGUI/SHAPERGUI_OCCSelector.cpp
src/SHAPERGUI/SHAPERGUI_OCCSelector.h
src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp
src/SHAPERGUI/SHAPERGUI_SalomeViewer.h
src/SHAPERGUI/SHAPERGUI_ToolbarsMgr.cpp
src/SHAPERGUI/SHAPERGUI_ToolbarsMgr.h
src/SHAPERGUI/SHAPER_SHAPERGUI.h
src/SHAPERGUI/shapergui_app.cpp [new file with mode: 0644]
src/SamplePanelPlugin/CMakeLists.txt
src/SamplePanelPlugin/SamplePanelPlugin.h
src/SamplePanelPlugin/SamplePanelPlugin_Feature.cpp
src/SamplePanelPlugin/SamplePanelPlugin_Feature.h
src/SamplePanelPlugin/SamplePanelPlugin_ModelWidget.cpp
src/SamplePanelPlugin/SamplePanelPlugin_ModelWidget.h
src/SamplePanelPlugin/SamplePanelPlugin_ModelWidgetCreator.cpp
src/SamplePanelPlugin/SamplePanelPlugin_ModelWidgetCreator.h
src/SamplePanelPlugin/SamplePanelPlugin_Panel.cpp
src/SamplePanelPlugin/SamplePanelPlugin_Panel.h
src/SamplePanelPlugin/SamplePanelPlugin_Plugin.cpp
src/SamplePanelPlugin/SamplePanelPlugin_Plugin.h
src/SamplePanelPlugin/SamplePanelPlugin_WidgetCreator.cpp
src/SamplePanelPlugin/SamplePanelPlugin_WidgetCreator.h
src/Selector/CMakeLists.txt
src/Selector/Selector.h
src/Selector/Selector_Algo.cpp
src/Selector/Selector_Algo.h
src/Selector/Selector_AlgoWithSubs.cpp
src/Selector/Selector_AlgoWithSubs.h
src/Selector/Selector_Container.cpp
src/Selector/Selector_Container.h
src/Selector/Selector_FilterByNeighbors.cpp
src/Selector/Selector_FilterByNeighbors.h
src/Selector/Selector_Intersect.cpp
src/Selector/Selector_Intersect.h
src/Selector/Selector_Modify.cpp
src/Selector/Selector_Modify.h
src/Selector/Selector_NExplode.cpp
src/Selector/Selector_NExplode.h
src/Selector/Selector_NameGenerator.cpp
src/Selector/Selector_NameGenerator.h
src/Selector/Selector_Primitive.cpp
src/Selector/Selector_Primitive.h
src/Selector/Selector_Selector.cpp
src/Selector/Selector_Selector.h
src/Selector/Selector_WeakName.cpp
src/Selector/Selector_WeakName.h
src/SketchAPI/CMakeLists.txt
src/SketchAPI/CTestTestfileInstall.cmake [new file with mode: 0644]
src/SketchAPI/SketchAPI.h
src/SketchAPI/SketchAPI.i
src/SketchAPI/SketchAPI_Arc.cpp
src/SketchAPI/SketchAPI_Arc.h
src/SketchAPI/SketchAPI_BSpline.cpp
src/SketchAPI/SketchAPI_BSpline.h
src/SketchAPI/SketchAPI_Circle.cpp
src/SketchAPI/SketchAPI_Circle.h
src/SketchAPI/SketchAPI_Constraint.cpp
src/SketchAPI/SketchAPI_Constraint.h
src/SketchAPI/SketchAPI_ConstraintAngle.cpp
src/SketchAPI/SketchAPI_ConstraintAngle.h
src/SketchAPI/SketchAPI_Ellipse.cpp
src/SketchAPI/SketchAPI_Ellipse.h
src/SketchAPI/SketchAPI_EllipticArc.cpp
src/SketchAPI/SketchAPI_EllipticArc.h
src/SketchAPI/SketchAPI_IntersectionPoint.cpp
src/SketchAPI/SketchAPI_IntersectionPoint.h
src/SketchAPI/SketchAPI_Line.cpp
src/SketchAPI/SketchAPI_Line.h
src/SketchAPI/SketchAPI_MacroArc.cpp
src/SketchAPI/SketchAPI_MacroArc.h
src/SketchAPI/SketchAPI_MacroCircle.cpp
src/SketchAPI/SketchAPI_MacroCircle.h
src/SketchAPI/SketchAPI_MacroEllipse.cpp
src/SketchAPI/SketchAPI_MacroEllipse.h
src/SketchAPI/SketchAPI_MacroEllipticArc.cpp
src/SketchAPI/SketchAPI_MacroEllipticArc.h
src/SketchAPI/SketchAPI_Mirror.cpp
src/SketchAPI/SketchAPI_Mirror.h
src/SketchAPI/SketchAPI_Offset.cpp
src/SketchAPI/SketchAPI_Offset.h
src/SketchAPI/SketchAPI_Point.cpp
src/SketchAPI/SketchAPI_Point.h
src/SketchAPI/SketchAPI_Projection.cpp
src/SketchAPI/SketchAPI_Projection.h
src/SketchAPI/SketchAPI_Rectangle.cpp
src/SketchAPI/SketchAPI_Rectangle.h
src/SketchAPI/SketchAPI_Rotation.cpp
src/SketchAPI/SketchAPI_Rotation.h
src/SketchAPI/SketchAPI_Sketch.cpp
src/SketchAPI/SketchAPI_Sketch.h
src/SketchAPI/SketchAPI_SketchEntity.cpp
src/SketchAPI/SketchAPI_SketchEntity.h
src/SketchAPI/SketchAPI_Translation.cpp
src/SketchAPI/SketchAPI_Translation.h
src/SketchAPI/SketchAPI_swig.h
src/SketchAPI/Test/TestFreePoints.py
src/SketchAPI/Test/TestSketch.py
src/SketchAPI/tests.set [new file with mode: 0644]
src/SketchPlugin/CMakeLists.txt
src/SketchPlugin/CTestTestfileInstall.cmake [new file with mode: 0644]
src/SketchPlugin/SketchPlugin.h
src/SketchPlugin/SketchPlugin_Arc.cpp
src/SketchPlugin/SketchPlugin_Arc.h
src/SketchPlugin/SketchPlugin_BSpline.cpp
src/SketchPlugin/SketchPlugin_BSpline.h
src/SketchPlugin/SketchPlugin_BSplineBase.cpp
src/SketchPlugin/SketchPlugin_BSplineBase.h
src/SketchPlugin/SketchPlugin_BSplinePeriodic.cpp
src/SketchPlugin/SketchPlugin_BSplinePeriodic.h
src/SketchPlugin/SketchPlugin_Circle.cpp
src/SketchPlugin/SketchPlugin_Circle.h
src/SketchPlugin/SketchPlugin_Constraint.cpp
src/SketchPlugin/SketchPlugin_Constraint.h
src/SketchPlugin/SketchPlugin_ConstraintAngle.cpp
src/SketchPlugin/SketchPlugin_ConstraintAngle.h
src/SketchPlugin/SketchPlugin_ConstraintBase.h
src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp
src/SketchPlugin/SketchPlugin_ConstraintCoincidence.h
src/SketchPlugin/SketchPlugin_ConstraintCoincidenceInternal.cpp
src/SketchPlugin/SketchPlugin_ConstraintCoincidenceInternal.h
src/SketchPlugin/SketchPlugin_ConstraintCollinear.cpp
src/SketchPlugin/SketchPlugin_ConstraintCollinear.h
src/SketchPlugin/SketchPlugin_ConstraintDistance.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistance.h
src/SketchPlugin/SketchPlugin_ConstraintDistanceAlongDir.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistanceAlongDir.h
src/SketchPlugin/SketchPlugin_ConstraintDistanceHorizontal.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistanceHorizontal.h
src/SketchPlugin/SketchPlugin_ConstraintDistanceVertical.cpp
src/SketchPlugin/SketchPlugin_ConstraintDistanceVertical.h
src/SketchPlugin/SketchPlugin_ConstraintEqual.cpp
src/SketchPlugin/SketchPlugin_ConstraintEqual.h
src/SketchPlugin/SketchPlugin_ConstraintHorizontal.cpp
src/SketchPlugin/SketchPlugin_ConstraintHorizontal.h
src/SketchPlugin/SketchPlugin_ConstraintLength.cpp
src/SketchPlugin/SketchPlugin_ConstraintLength.h
src/SketchPlugin/SketchPlugin_ConstraintMiddle.cpp
src/SketchPlugin/SketchPlugin_ConstraintMiddle.h
src/SketchPlugin/SketchPlugin_ConstraintMirror.cpp
src/SketchPlugin/SketchPlugin_ConstraintMirror.h
src/SketchPlugin/SketchPlugin_ConstraintParallel.cpp
src/SketchPlugin/SketchPlugin_ConstraintParallel.h
src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.cpp
src/SketchPlugin/SketchPlugin_ConstraintPerpendicular.h
src/SketchPlugin/SketchPlugin_ConstraintRadius.cpp
src/SketchPlugin/SketchPlugin_ConstraintRadius.h
src/SketchPlugin/SketchPlugin_ConstraintRigid.cpp
src/SketchPlugin/SketchPlugin_ConstraintRigid.h
src/SketchPlugin/SketchPlugin_ConstraintTangent.cpp
src/SketchPlugin/SketchPlugin_ConstraintTangent.h
src/SketchPlugin/SketchPlugin_ConstraintVertical.cpp
src/SketchPlugin/SketchPlugin_ConstraintVertical.h
src/SketchPlugin/SketchPlugin_CurveFitting.cpp
src/SketchPlugin/SketchPlugin_CurveFitting.h
src/SketchPlugin/SketchPlugin_Ellipse.cpp
src/SketchPlugin/SketchPlugin_Ellipse.h
src/SketchPlugin/SketchPlugin_EllipticArc.cpp
src/SketchPlugin/SketchPlugin_EllipticArc.h
src/SketchPlugin/SketchPlugin_ExternalValidator.cpp
src/SketchPlugin/SketchPlugin_ExternalValidator.h
src/SketchPlugin/SketchPlugin_Feature.cpp
src/SketchPlugin/SketchPlugin_Feature.h
src/SketchPlugin/SketchPlugin_Fillet.cpp
src/SketchPlugin/SketchPlugin_Fillet.h
src/SketchPlugin/SketchPlugin_IntersectionPoint.cpp
src/SketchPlugin/SketchPlugin_IntersectionPoint.h
src/SketchPlugin/SketchPlugin_Line.cpp
src/SketchPlugin/SketchPlugin_Line.h
src/SketchPlugin/SketchPlugin_MacroArc.cpp
src/SketchPlugin/SketchPlugin_MacroArc.h
src/SketchPlugin/SketchPlugin_MacroArcReentrantMessage.h
src/SketchPlugin/SketchPlugin_MacroBSpline.cpp
src/SketchPlugin/SketchPlugin_MacroBSpline.h
src/SketchPlugin/SketchPlugin_MacroCircle.cpp
src/SketchPlugin/SketchPlugin_MacroCircle.h
src/SketchPlugin/SketchPlugin_MacroEllipse.cpp
src/SketchPlugin/SketchPlugin_MacroEllipse.h
src/SketchPlugin/SketchPlugin_MacroEllipticArc.cpp
src/SketchPlugin/SketchPlugin_MacroEllipticArc.h
src/SketchPlugin/SketchPlugin_MultiRotation.cpp
src/SketchPlugin/SketchPlugin_MultiRotation.h
src/SketchPlugin/SketchPlugin_MultiTranslation.cpp
src/SketchPlugin/SketchPlugin_MultiTranslation.h
src/SketchPlugin/SketchPlugin_Offset.cpp
src/SketchPlugin/SketchPlugin_Offset.h
src/SketchPlugin/SketchPlugin_Plugin.cpp
src/SketchPlugin/SketchPlugin_Plugin.h
src/SketchPlugin/SketchPlugin_Point.cpp
src/SketchPlugin/SketchPlugin_Point.h
src/SketchPlugin/SketchPlugin_Projection.cpp
src/SketchPlugin/SketchPlugin_Projection.h
src/SketchPlugin/SketchPlugin_Sketch.cpp
src/SketchPlugin/SketchPlugin_Sketch.h
src/SketchPlugin/SketchPlugin_SketchCopy.cpp
src/SketchPlugin/SketchPlugin_SketchCopy.h
src/SketchPlugin/SketchPlugin_SketchDrawer.cpp
src/SketchPlugin/SketchPlugin_SketchDrawer.h
src/SketchPlugin/SketchPlugin_SketchEntity.cpp
src/SketchPlugin/SketchPlugin_SketchEntity.h
src/SketchPlugin/SketchPlugin_Split.cpp
src/SketchPlugin/SketchPlugin_Split.h
src/SketchPlugin/SketchPlugin_Tools.cpp
src/SketchPlugin/SketchPlugin_Tools.h
src/SketchPlugin/SketchPlugin_Trim.cpp
src/SketchPlugin/SketchPlugin_Trim.h
src/SketchPlugin/SketchPlugin_Validators.cpp
src/SketchPlugin/SketchPlugin_Validators.h
src/SketchPlugin/Test/Test1061.py
src/SketchPlugin/Test/Test1577.py
src/SketchPlugin/Test/Test1578.py
src/SketchPlugin/Test/Test1673.py
src/SketchPlugin/Test/Test1779.py
src/SketchPlugin/Test/Test19089.py
src/SketchPlugin/Test/Test19101.py
src/SketchPlugin/Test/Test1924.py
src/SketchPlugin/Test/Test1963.py
src/SketchPlugin/Test/Test1966.py
src/SketchPlugin/Test/Test1967.py
src/SketchPlugin/Test/Test2018.py
src/SketchPlugin/Test/Test20274_1.py
src/SketchPlugin/Test/Test20274_2.py
src/SketchPlugin/Test/Test20274_3.py
src/SketchPlugin/Test/Test2034_1.py
src/SketchPlugin/Test/Test2034_2.py
src/SketchPlugin/Test/Test2034_3.py
src/SketchPlugin/Test/Test2062.py
src/SketchPlugin/Test/Test2095.py
src/SketchPlugin/Test/Test2115.py
src/SketchPlugin/Test/Test2119.py
src/SketchPlugin/Test/Test2134.py
src/SketchPlugin/Test/Test2157.py
src/SketchPlugin/Test/Test2157_2.py
src/SketchPlugin/Test/Test2224.py
src/SketchPlugin/Test/Test2229.py
src/SketchPlugin/Test/Test2239.py
src/SketchPlugin/Test/Test2273.py
src/SketchPlugin/Test/Test2280.py
src/SketchPlugin/Test/Test2287.py
src/SketchPlugin/Test/Test2341.py
src/SketchPlugin/Test/Test2376.py
src/SketchPlugin/Test/Test2390.py
src/SketchPlugin/Test/Test2393.py
src/SketchPlugin/Test/Test24015.py [new file with mode: 0644]
src/SketchPlugin/Test/Test2425.py
src/SketchPlugin/Test/Test2427.py
src/SketchPlugin/Test/Test2440.py
src/SketchPlugin/Test/Test2481.py
src/SketchPlugin/Test/Test2654.py
src/SketchPlugin/Test/Test2711.py
src/SketchPlugin/Test/Test2741.py
src/SketchPlugin/Test/Test2810.py
src/SketchPlugin/Test/Test2824.py
src/SketchPlugin/Test/Test2860.py
src/SketchPlugin/Test/Test2894.py
src/SketchPlugin/Test/Test3019.py
src/SketchPlugin/Test/Test3087_1.py
src/SketchPlugin/Test/Test3087_2.py
src/SketchPlugin/Test/Test3132.py
src/SketchPlugin/Test/Test3154.py
src/SketchPlugin/Test/Test3170.py
src/SketchPlugin/Test/Test3240.py
src/SketchPlugin/Test/TestArcBehavior.py
src/SketchPlugin/Test/TestBSplineAddPole.py
src/SketchPlugin/Test/TestCenteredRectangle.py [new file with mode: 0644]
src/SketchPlugin/Test/TestChangeSketchPlane1.py
src/SketchPlugin/Test/TestChangeSketchPlane2.py
src/SketchPlugin/Test/TestChangeSketchPlane3.py
src/SketchPlugin/Test/TestChangeSketchPlane4.py
src/SketchPlugin/Test/TestConstraintAngle.py
src/SketchPlugin/Test/TestConstraintAngleBehaviorBackward_1.py
src/SketchPlugin/Test/TestConstraintAngleBehaviorBackward_2.py
src/SketchPlugin/Test/TestConstraintAngleBehaviorDirect.py
src/SketchPlugin/Test/TestConstraintAngleBehaviorSupplementary_1.py
src/SketchPlugin/Test/TestConstraintAngleBehaviorSupplementary_2.py
src/SketchPlugin/Test/TestConstraintAngleEllipse.py
src/SketchPlugin/Test/TestConstraintAngle_v0_1.py
src/SketchPlugin/Test/TestConstraintAngle_v0_2.py
src/SketchPlugin/Test/TestConstraintAngle_v20191210_1.py
src/SketchPlugin/Test/TestConstraintAngle_v20191210_2.py
src/SketchPlugin/Test/TestConstraintCoincidence.py
src/SketchPlugin/Test/TestConstraintCoincidenceBSpline.py
src/SketchPlugin/Test/TestConstraintCoincidenceEllipse.py
src/SketchPlugin/Test/TestConstraintCoincidenceEllipticArc.py
src/SketchPlugin/Test/TestConstraintCollinear.py
src/SketchPlugin/Test/TestConstraintCollinearEllipse.py
src/SketchPlugin/Test/TestConstraintDistance.py
src/SketchPlugin/Test/TestConstraintDistanceBehavior.py
src/SketchPlugin/Test/TestConstraintDistanceEllipse.py
src/SketchPlugin/Test/TestConstraintDistanceHorizontal.py
src/SketchPlugin/Test/TestConstraintDistanceHorizontalZero.py
src/SketchPlugin/Test/TestConstraintDistanceVertical.py
src/SketchPlugin/Test/TestConstraintDistanceVerticalZero.py
src/SketchPlugin/Test/TestConstraintDistanceZero.py
src/SketchPlugin/Test/TestConstraintEqual.py
src/SketchPlugin/Test/TestConstraintEqualEllipse.py
src/SketchPlugin/Test/TestConstraintFixed.py
src/SketchPlugin/Test/TestConstraintHorizontal.py
src/SketchPlugin/Test/TestConstraintHorizontalValidator.py
src/SketchPlugin/Test/TestConstraintLength.py
src/SketchPlugin/Test/TestConstraintMiddlePoint.py
src/SketchPlugin/Test/TestConstraintMiddlePointOnArc.py
src/SketchPlugin/Test/TestConstraintMiddlePointOnEllipticArc.py
src/SketchPlugin/Test/TestConstraintParallel.py
src/SketchPlugin/Test/TestConstraintPerpendicular.py
src/SketchPlugin/Test/TestConstraintPerpendicularArcLine.py
src/SketchPlugin/Test/TestConstraintPerpendicularEllipseLine.py
src/SketchPlugin/Test/TestConstraintRadius.py
src/SketchPlugin/Test/TestConstraintRadiusFailure.py
src/SketchPlugin/Test/TestConstraintTangent.py
src/SketchPlugin/Test/TestConstraintTangentBSpline.py
src/SketchPlugin/Test/TestConstraintTangentEllipse.py
src/SketchPlugin/Test/TestConstraintTangentEllipticArc.py
src/SketchPlugin/Test/TestConstraintVertical.py
src/SketchPlugin/Test/TestCreateArcByCenterStartEnd.py
src/SketchPlugin/Test/TestCreateArcByTangentEdge.py
src/SketchPlugin/Test/TestCreateArcByThreePoints.py
src/SketchPlugin/Test/TestCreateArcByTransversalLine.py
src/SketchPlugin/Test/TestCreateArcChangeType.py
src/SketchPlugin/Test/TestCreateBSpline.py
src/SketchPlugin/Test/TestCreateBSplinePeriodic.py
src/SketchPlugin/Test/TestCreateCircleByCenterAndPassed.py
src/SketchPlugin/Test/TestCreateCircleByThreePoints.py
src/SketchPlugin/Test/TestCreateCircleChangeType.py
src/SketchPlugin/Test/TestCreateEllipseByCenterSemiaxisAndPassed.py
src/SketchPlugin/Test/TestCreateEllipseByExternal.py
src/SketchPlugin/Test/TestCreateEllipseByMajorAxisAndPassed.py
src/SketchPlugin/Test/TestCreateEllipticArc.py
src/SketchPlugin/Test/TestCreateEllipticArcByExternal.py
src/SketchPlugin/Test/TestCreateMacroBSpline.py
src/SketchPlugin/Test/TestCurveFitting1.py
src/SketchPlugin/Test/TestCurveFitting2.py
src/SketchPlugin/Test/TestCurveFitting3.py
src/SketchPlugin/Test/TestCurveFitting4.py
src/SketchPlugin/Test/TestDegeneratedGeometry.py
src/SketchPlugin/Test/TestDistanceDump.py
src/SketchPlugin/Test/TestDistanceSignedVsUnsigned01.py
src/SketchPlugin/Test/TestDistanceSignedVsUnsigned02.py
src/SketchPlugin/Test/TestDistanceSignedVsUnsigned03.py
src/SketchPlugin/Test/TestDistanceSignedVsUnsigned04.py
src/SketchPlugin/Test/TestDistanceSignedVsUnsigned05.py
src/SketchPlugin/Test/TestEdgesOrder.py
src/SketchPlugin/Test/TestFillet.py
src/SketchPlugin/Test/TestFilletAfterFolder.py
src/SketchPlugin/Test/TestFilletInteracting.py
src/SketchPlugin/Test/TestHighload.py
src/SketchPlugin/Test/TestIntersectionChangeEdge.py
src/SketchPlugin/Test/TestIntersectionWithCircle.py
src/SketchPlugin/Test/TestIntersectionWithLine.py
src/SketchPlugin/Test/TestIntersectionWithSpline.py
src/SketchPlugin/Test/TestMirror.py
src/SketchPlugin/Test/TestMoveArc.py
src/SketchPlugin/Test/TestMoveBSpline.py
src/SketchPlugin/Test/TestMoveBSplinePeriodic.py
src/SketchPlugin/Test/TestMoveCircle.py
src/SketchPlugin/Test/TestMoveEllipse.py
src/SketchPlugin/Test/TestMoveEllipticArc.py
src/SketchPlugin/Test/TestMoveLine.py
src/SketchPlugin/Test/TestMovePoint.py
src/SketchPlugin/Test/TestMovementComplex.py
src/SketchPlugin/Test/TestMultiRotation.py
src/SketchPlugin/Test/TestMultiRotation01.py
src/SketchPlugin/Test/TestMultiRotation02.py
src/SketchPlugin/Test/TestMultiRotation03.py
src/SketchPlugin/Test/TestMultiRotation04.py
src/SketchPlugin/Test/TestMultiRotation05.py
src/SketchPlugin/Test/TestMultiRotationWithParameter.py
src/SketchPlugin/Test/TestMultiTranslation.py
src/SketchPlugin/Test/TestOffset1.py
src/SketchPlugin/Test/TestOffset2.py
src/SketchPlugin/Test/TestPresentation.py
src/SketchPlugin/Test/TestProjection.py
src/SketchPlugin/Test/TestProjectionBSpline.py
src/SketchPlugin/Test/TestProjectionBSplinePeriodic.py
src/SketchPlugin/Test/TestProjectionBSplinePeriodicError.py
src/SketchPlugin/Test/TestProjectionEllipse.py
src/SketchPlugin/Test/TestProjectionEllipticArc.py
src/SketchPlugin/Test/TestProjectionIntoResult.py
src/SketchPlugin/Test/TestProjectionUpdate.py
src/SketchPlugin/Test/TestProjectionWithoutReference.py
src/SketchPlugin/Test/TestRectangle.py
src/SketchPlugin/Test/TestRemainingDoF.py
src/SketchPlugin/Test/TestRemoveBSpline.py
src/SketchPlugin/Test/TestRemoveBSplinePeriodic.py
src/SketchPlugin/Test/TestRemoveEllipse.py
src/SketchPlugin/Test/TestRemoveEllipticArc.py
src/SketchPlugin/Test/TestRemoveSketch.py
src/SketchPlugin/Test/TestSignedDistancePointLine.py
src/SketchPlugin/Test/TestSignedDistancePointPoint.py
src/SketchPlugin/Test/TestSketchCopy01.py
src/SketchPlugin/Test/TestSketchCopy02.py
src/SketchPlugin/Test/TestSketchCopy03.py
src/SketchPlugin/Test/TestSketchCopy04.py
src/SketchPlugin/Test/TestSketchCopy05.py
src/SketchPlugin/Test/TestSketchCopy06.py
src/SketchPlugin/Test/TestSketchCopy07.py
src/SketchPlugin/Test/TestSketchCopy08.py
src/SketchPlugin/Test/TestSketchCopy09.py
src/SketchPlugin/Test/TestSketchCopy10.py
src/SketchPlugin/Test/TestSketchCopy11.py
src/SketchPlugin/Test/TestSketchCopy12.py
src/SketchPlugin/Test/TestSketchCopy13.py
src/SketchPlugin/Test/TestSketchCopy14.py
src/SketchPlugin/Test/TestSketchDrawer.py
src/SketchPlugin/Test/TestSketchPointLine.py
src/SketchPlugin/Test/TestSnowflake.py
src/SketchPlugin/Test/TestSplit.py
src/SketchPlugin/Test/TestSplitEllipse.py
src/SketchPlugin/Test/TestSplitLine.py
src/SketchPlugin/Test/TestSplitPreview.py
src/SketchPlugin/Test/TestTrimArc01.py
src/SketchPlugin/Test/TestTrimArc02.py
src/SketchPlugin/Test/TestTrimArc03.py
src/SketchPlugin/Test/TestTrimArc04.py
src/SketchPlugin/Test/TestTrimArc05.py
src/SketchPlugin/Test/TestTrimArc06.py
src/SketchPlugin/Test/TestTrimArc07.py
src/SketchPlugin/Test/TestTrimArc08.py
src/SketchPlugin/Test/TestTrimCircle01.py
src/SketchPlugin/Test/TestTrimCircle02.py
src/SketchPlugin/Test/TestTrimCircle03.py
src/SketchPlugin/Test/TestTrimCircle04.py
src/SketchPlugin/Test/TestTrimCircle05.py
src/SketchPlugin/Test/TestTrimCircleAndArc01.py
src/SketchPlugin/Test/TestTrimEllipse.py
src/SketchPlugin/Test/TestTrimLine01.py
src/SketchPlugin/Test/TestTrimLine02.py
src/SketchPlugin/Test/TestTrimLine03.py
src/SketchPlugin/Test/TestTrimPreview.py
src/SketchPlugin/Test/TestUpdateSketch.py
src/SketchPlugin/doc/examples/rectangle.py
src/SketchPlugin/tests.set [new file with mode: 0644]
src/SketchPlugin/tests_change_radius.set [new file with mode: 0644]
src/SketchSolver/CMakeLists.txt
src/SketchSolver/PlaneGCSSolver/CMakeLists.txt
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AngleWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AngleWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_AttributeBuilder.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_BooleanWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_BooleanWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_ConstraintWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_ConstraintWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Defs.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_EdgeWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_EdgeWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_EntityBuilder.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_EntityDestroyer.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_EntityDestroyer.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_EntityWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_FeatureBuilder.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_FeatureBuilder.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_GeoExtensions.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_GeoExtensions.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_PointArrayWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_PointArrayWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_PointWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_PointWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_ScalarArrayWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_ScalarArrayWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_ScalarWrapper.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_ScalarWrapper.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Solver.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Tools.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Update.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateCoincidence.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateCoincidence.h
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateFeature.cpp
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_UpdateFeature.h
src/SketchSolver/SketchSolver_Constraint.cpp
src/SketchSolver/SketchSolver_Constraint.h
src/SketchSolver/SketchSolver_ConstraintAngle.cpp
src/SketchSolver/SketchSolver_ConstraintAngle.h
src/SketchSolver/SketchSolver_ConstraintCoincidence.cpp
src/SketchSolver/SketchSolver_ConstraintCoincidence.h
src/SketchSolver/SketchSolver_ConstraintCollinear.cpp
src/SketchSolver/SketchSolver_ConstraintCollinear.h
src/SketchSolver/SketchSolver_ConstraintDistance.cpp
src/SketchSolver/SketchSolver_ConstraintDistance.h
src/SketchSolver/SketchSolver_ConstraintEqual.cpp
src/SketchSolver/SketchSolver_ConstraintEqual.h
src/SketchSolver/SketchSolver_ConstraintFixed.cpp
src/SketchSolver/SketchSolver_ConstraintFixed.h
src/SketchSolver/SketchSolver_ConstraintLength.cpp
src/SketchSolver/SketchSolver_ConstraintLength.h
src/SketchSolver/SketchSolver_ConstraintMiddle.cpp
src/SketchSolver/SketchSolver_ConstraintMiddle.h
src/SketchSolver/SketchSolver_ConstraintMirror.cpp
src/SketchSolver/SketchSolver_ConstraintMirror.h
src/SketchSolver/SketchSolver_ConstraintMovement.cpp
src/SketchSolver/SketchSolver_ConstraintMovement.h
src/SketchSolver/SketchSolver_ConstraintMulti.cpp
src/SketchSolver/SketchSolver_ConstraintMulti.h
src/SketchSolver/SketchSolver_ConstraintMultiRotation.cpp
src/SketchSolver/SketchSolver_ConstraintMultiRotation.h
src/SketchSolver/SketchSolver_ConstraintMultiTranslation.cpp
src/SketchSolver/SketchSolver_ConstraintMultiTranslation.h
src/SketchSolver/SketchSolver_ConstraintOffset.cpp
src/SketchSolver/SketchSolver_ConstraintOffset.h
src/SketchSolver/SketchSolver_ConstraintPerpendicular.cpp
src/SketchSolver/SketchSolver_ConstraintPerpendicular.h
src/SketchSolver/SketchSolver_ConstraintTangent.cpp
src/SketchSolver/SketchSolver_ConstraintTangent.h
src/SketchSolver/SketchSolver_Error.h
src/SketchSolver/SketchSolver_Group.cpp
src/SketchSolver/SketchSolver_Group.h
src/SketchSolver/SketchSolver_Manager.cpp
src/SketchSolver/SketchSolver_Manager.h
src/SketchSolver/SketchSolver_Storage.cpp
src/SketchSolver/SketchSolver_Storage.h
src/SketchSolver/SolveSpaceSolver/CMakeLists.txt
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Builder.cpp
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Builder.h
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintType.h
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintWrapper.cpp
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ConstraintWrapper.h
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_EntityWrapper.cpp
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_EntityWrapper.h
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ParameterWrapper.cpp
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_ParameterWrapper.h
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Solver.cpp
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Solver.h
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.cpp
src/SketchSolver/SolveSpaceSolver/SolveSpaceSolver_Storage.h
src/SketcherPrs/CMakeLists.txt
src/SketcherPrs/SketcherPrs.h
src/SketcherPrs/SketcherPrs_Angle.cpp
src/SketcherPrs/SketcherPrs_Angle.h
src/SketcherPrs/SketcherPrs_Coincident.cpp
src/SketcherPrs/SketcherPrs_Coincident.h
src/SketcherPrs/SketcherPrs_Collinear.cpp
src/SketcherPrs/SketcherPrs_Collinear.h
src/SketcherPrs/SketcherPrs_DimensionStyle.cpp
src/SketcherPrs/SketcherPrs_DimensionStyle.h
src/SketcherPrs/SketcherPrs_Equal.cpp
src/SketcherPrs/SketcherPrs_Equal.h
src/SketcherPrs/SketcherPrs_Factory.cpp
src/SketcherPrs/SketcherPrs_Factory.h
src/SketcherPrs/SketcherPrs_HVDirection.cpp
src/SketcherPrs/SketcherPrs_HVDirection.h
src/SketcherPrs/SketcherPrs_LengthDimension.cpp
src/SketcherPrs/SketcherPrs_LengthDimension.h
src/SketcherPrs/SketcherPrs_Middle.cpp
src/SketcherPrs/SketcherPrs_Middle.h
src/SketcherPrs/SketcherPrs_Mirror.cpp
src/SketcherPrs/SketcherPrs_Mirror.h
src/SketcherPrs/SketcherPrs_Offset.cpp
src/SketcherPrs/SketcherPrs_Offset.h
src/SketcherPrs/SketcherPrs_Parallel.cpp
src/SketcherPrs/SketcherPrs_Parallel.h
src/SketcherPrs/SketcherPrs_Perpendicular.cpp
src/SketcherPrs/SketcherPrs_Perpendicular.h
src/SketcherPrs/SketcherPrs_PositionMgr.cpp
src/SketcherPrs/SketcherPrs_PositionMgr.h
src/SketcherPrs/SketcherPrs_Radius.cpp
src/SketcherPrs/SketcherPrs_Radius.h
src/SketcherPrs/SketcherPrs_Rigid.cpp
src/SketcherPrs/SketcherPrs_Rigid.h
src/SketcherPrs/SketcherPrs_SensitivePoint.cpp
src/SketcherPrs/SketcherPrs_SensitivePoint.h
src/SketcherPrs/SketcherPrs_SymbolPrs.cpp
src/SketcherPrs/SketcherPrs_SymbolPrs.h
src/SketcherPrs/SketcherPrs_Tangent.cpp
src/SketcherPrs/SketcherPrs_Tangent.h
src/SketcherPrs/SketcherPrs_Tools.cpp
src/SketcherPrs/SketcherPrs_Tools.h
src/SketcherPrs/SketcherPrs_Transformation.cpp
src/SketcherPrs/SketcherPrs_Transformation.h
src/XAO/CMakeLists.txt
src/XAO/XAO.hxx
src/XAO/XAO_BooleanField.cxx
src/XAO/XAO_BooleanField.hxx
src/XAO/XAO_BooleanStep.cxx
src/XAO/XAO_BooleanStep.hxx
src/XAO/XAO_BrepGeometry.cxx
src/XAO/XAO_BrepGeometry.hxx
src/XAO/XAO_DoubleField.cxx
src/XAO/XAO_DoubleField.hxx
src/XAO/XAO_DoubleStep.cxx
src/XAO/XAO_DoubleStep.hxx
src/XAO/XAO_Exception.hxx
src/XAO/XAO_Field.cxx
src/XAO/XAO_Field.hxx
src/XAO/XAO_GeometricElement.cxx
src/XAO/XAO_GeometricElement.hxx
src/XAO/XAO_Geometry.cxx
src/XAO/XAO_Geometry.hxx
src/XAO/XAO_Group.cxx
src/XAO/XAO_Group.hxx
src/XAO/XAO_IntegerField.cxx
src/XAO/XAO_IntegerField.hxx
src/XAO/XAO_IntegerStep.cxx
src/XAO/XAO_IntegerStep.hxx
src/XAO/XAO_Step.cxx
src/XAO/XAO_Step.hxx
src/XAO/XAO_StringField.cxx
src/XAO/XAO_StringField.hxx
src/XAO/XAO_StringStep.cxx
src/XAO/XAO_StringStep.hxx
src/XAO/XAO_Xao.cxx
src/XAO/XAO_Xao.hxx
src/XAO/XAO_XaoExporter.cxx
src/XAO/XAO_XaoExporter.hxx
src/XAO/XAO_XaoUtils.cxx
src/XAO/XAO_XaoUtils.hxx
src/XAO/tests/BrepGeometryTest.cxx
src/XAO/tests/BrepGeometryTest.hxx
src/XAO/tests/CMakeLists.txt
src/XAO/tests/FieldTest.cxx
src/XAO/tests/FieldTest.hxx
src/XAO/tests/GeometryTest.cxx
src/XAO/tests/GeometryTest.hxx
src/XAO/tests/GroupTest.cxx
src/XAO/tests/GroupTest.hxx
src/XAO/tests/ImportExportTest.cxx
src/XAO/tests/ImportExportTest.hxx
src/XAO/tests/MainTest.hxx
src/XAO/tests/TestUtils.hxx
src/XAO/tests/XAOTests.cxx
src/XAO/tests/XaoTest.cxx
src/XAO/tests/XaoTest.hxx
src/XAO/tests/XaoUtilsTest.cxx
src/XAO/tests/XaoUtilsTest.hxx
src/XAO/tests/coverage_report.sh
src/XGUI/CMakeLists.txt
src/XGUI/XGUI.h
src/XGUI/XGUI_ActionsMgr.cpp
src/XGUI/XGUI_ActionsMgr.h
src/XGUI/XGUI_ActiveControlMgr.cpp
src/XGUI/XGUI_ActiveControlMgr.h
src/XGUI/XGUI_ActiveControlSelector.h
src/XGUI/XGUI_ColorDialog.cpp
src/XGUI/XGUI_ColorDialog.h
src/XGUI/XGUI_CompressFiles.cpp
src/XGUI/XGUI_CompressFiles.h
src/XGUI/XGUI_ContextMenuMgr.cpp
src/XGUI/XGUI_ContextMenuMgr.h
src/XGUI/XGUI_DataModel.cpp
src/XGUI/XGUI_DataModel.h
src/XGUI/XGUI_DeflectionDialog.cpp
src/XGUI/XGUI_DeflectionDialog.h
src/XGUI/XGUI_Displayer.cpp
src/XGUI/XGUI_Displayer.h
src/XGUI/XGUI_ErrorDialog.cpp
src/XGUI/XGUI_ErrorDialog.h
src/XGUI/XGUI_ErrorMgr.cpp
src/XGUI/XGUI_ErrorMgr.h
src/XGUI/XGUI_FacesPanel.cpp
src/XGUI/XGUI_FacesPanel.h
src/XGUI/XGUI_FacesPanelSelector.cpp
src/XGUI/XGUI_FacesPanelSelector.h
src/XGUI/XGUI_HistoryMenu.cpp
src/XGUI/XGUI_HistoryMenu.h
src/XGUI/XGUI_InspectionPanel.cpp
src/XGUI/XGUI_InspectionPanel.h
src/XGUI/XGUI_MenuGroup.cpp
src/XGUI/XGUI_MenuGroup.h
src/XGUI/XGUI_MenuMgr.cpp
src/XGUI/XGUI_MenuMgr.h
src/XGUI/XGUI_MenuWorkbench.cpp
src/XGUI/XGUI_MenuWorkbench.h
src/XGUI/XGUI_ModuleConnector.cpp
src/XGUI/XGUI_ModuleConnector.h
src/XGUI/XGUI_ObjectsBrowser.cpp
src/XGUI/XGUI_ObjectsBrowser.h
src/XGUI/XGUI_OperationMgr.cpp
src/XGUI/XGUI_OperationMgr.h
src/XGUI/XGUI_PropertyDialog.cpp
src/XGUI/XGUI_PropertyDialog.h
src/XGUI/XGUI_PropertyPanel.cpp
src/XGUI/XGUI_PropertyPanel.h
src/XGUI/XGUI_PropertyPanelSelector.cpp
src/XGUI/XGUI_PropertyPanelSelector.h
src/XGUI/XGUI_QtEvents.cpp
src/XGUI/XGUI_QtEvents.h
src/XGUI/XGUI_SalomeConnector.cpp
src/XGUI/XGUI_SalomeConnector.h
src/XGUI/XGUI_Selection.cpp
src/XGUI/XGUI_Selection.h
src/XGUI/XGUI_SelectionActivate.cpp
src/XGUI/XGUI_SelectionActivate.h
src/XGUI/XGUI_SelectionMgr.cpp
src/XGUI/XGUI_SelectionMgr.h
src/XGUI/XGUI_Tools.cpp
src/XGUI/XGUI_Tools.h
src/XGUI/XGUI_TransparencyWidget.cpp
src/XGUI/XGUI_TransparencyWidget.h
src/XGUI/XGUI_ViewerProxy.cpp
src/XGUI/XGUI_ViewerProxy.h
src/XGUI/XGUI_Workshop.cpp
src/XGUI/XGUI_Workshop.h
src/XGUI/XGUI_WorkshopListener.cpp
src/XGUI/XGUI_WorkshopListener.h
test.API/SHAPER/CMakeLists.txt
test.API/SHAPER/CTestTestfileInstall.cmake [new file with mode: 0644]
test.API/SHAPER/GDML/TestAPI_ConeSegment.py
test.API/SHAPER/GDML/TestConeSegment.py
test.API/SHAPER/Primitives/TestAPI_Box.py
test.API/SHAPER/Primitives/TestAPI_Cone.py
test.API/SHAPER/Primitives/TestAPI_Cylinder.py
test.API/SHAPER/Primitives/TestAPI_Sphere.py
test.API/SHAPER/Primitives/TestAPI_Torus.py
test.API/SHAPER/Primitives/TestBox.py
test.API/SHAPER/Primitives/TestCone.py
test.API/SHAPER/Primitives/TestCylinder.py
test.API/SHAPER/Primitives/TestSphere.py
test.API/SHAPER/Primitives/TestTorus.py
test.API/SHAPER/Transformations/TestAPI_MultiRotation.py
test.API/SHAPER/Transformations/TestAPI_MultiTranslation.py
test.API/SHAPER/Transformations/TestAPI_Rotation.py
test.API/SHAPER/Transformations/TestAPI_Scale.py
test.API/SHAPER/Transformations/TestAPI_Symmetry.py
test.API/SHAPER/Transformations/TestAPI_Translation.py
test.API/SHAPER/Transformations/TestMultiRotation.py
test.API/SHAPER/Transformations/TestMultiTranslation.py
test.API/SHAPER/Transformations/TestRotation.py
test.API/SHAPER/Transformations/TestScale.py
test.API/SHAPER/Transformations/TestSymmetry.py
test.API/SHAPER/Transformations/TestTranslation.py
test.API/SHAPER/Transformations/TestTranslation_1.py
test.API/SHAPER/Transformations/TestTranslation_2.py
test.API/SHAPER/Transformations/TestTranslation_3.py
test.API/SHAPER/Transformations/TestTranslation_4.py
test.API/SHAPER/Transformations/TestTranslation_5.py
test.API/SHAPER/tests.set [new file with mode: 0644]
test.compatibility/CMakeLists.txt
test.compatibility/CSWA.py
test.compatibility/angle30.py
test.compatibility/bearing_puller.py
test.compatibility/bobine_film_reel.py
test.compatibility/bracket32.py
test.compatibility/bushing.py
test.compatibility/case24.py
test.compatibility/clothespin.py
test.compatibility/ecran.py
test.compatibility/flange.py
test.compatibility/gear.py
test.compatibility/idler_plate.py
test.compatibility/piece_02.py
test.compatibility/piece_09.py
test.compatibility/piece_12.py
test.compatibility/plug.py
test.compatibility/sprocket.py
test.compatibility/wheel_rim.py
test.hdfs/BearingSeparator.hdf [new file with mode: 0644]
test.hdfs/BearingSeparator.py [new file with mode: 0644]
test.hdfs/CMakeLists.txt
test.hdfs/CTestTestfileInstall.cmake
test.hdfs/CuveN4_Tubulures.py
test.hdfs/Test20456.py
test.hdfs/Test2971.py
test.hdfs/Test3061.py
test.hdfs/Test3139.py
test.hdfs/__main__.py
test.hdfs/delta_p.py
test.hdfs/horseshoe.py
test.hdfs/roselend.py
test.hdfs/te_fluide.py
test.hdfs/te_solide.py
test.hdfs/test_hdf.py
test.hdfs/testme.py
test.hdfs/tests.set.in
test.hdfs/usine.py
test.models/CMakeLists.txt
test.models/CSWA.py
test.models/angle30.py
test.models/bearing_puller.py
test.models/bobine_film_reel.py
test.models/bracket32.py
test.models/bushing.py
test.models/case24.py
test.models/clothespin.py
test.models/ecran.py
test.models/flange.py
test.models/gear.py
test.models/idler_plate.py
test.models/piece_02.py
test.models/piece_09.py
test.models/piece_12.py
test.models/plug.py
test.models/sprocket.py
test.models/stair_with_cycle.py
test.models/visor_support.py
test.models/wheel_rim.py
test.squish/shared/scripts/common.py
test.squish/suite_ERROR_NOTIFICATION/tst_679/test.py
test.squish/suite_FEATURE_BOOLEAN/tst_boolean_001/test.py
test.squish/suite_FEATURE_BOOLEAN/tst_boolean_002/test.py
test.squish/suite_FEATURE_BOOLEAN/tst_boolean_003/test.py
test.squish/suite_FEATURE_CONSTRUCTION/tst_construction_001/test.py
test.squish/suite_FEATURE_EXCHANGE/tst_XAO-export/test.py
test.squish/suite_FEATURE_EXCHANGE/tst_XAO-import/test.py
test.squish/suite_FEATURE_EXTRUSION/tst_extrusion_001/test.py
test.squish/suite_FEATURE_EXTRUSION/tst_extrusion_002/test.py
test.squish/suite_FEATURE_EXTRUSION/tst_extrusion_003/test.py
test.squish/suite_FEATURE_EXTRUSION/tst_extrusion_004/test.py
test.squish/suite_FEATURE_EXTRUSION/tst_extrusion_006/test.py
test.squish/suite_FEATURE_PARAMETERS/shared/scripts/bdd_hooks.py
test.squish/suite_FEATURE_PARAMETERS/shared/steps/steps.py
test.squish/suite_FEATURE_PARAMETERS/tst_1127/test.py
test.squish/suite_FEATURE_PARAMETERS/tst_1157/test.py
test.squish/suite_FEATURE_PARAMETERS/tst_474/test.py
test.squish/suite_FEATURE_PARAMETERS/tst_576/test.py
test.squish/suite_FEATURE_PARAMETERS/tst_903/test.py
test.squish/suite_FEATURE_PARTITION/tst_partition_001/test.py
test.squish/suite_FEATURE_REVOLUTION/tst_revolution_001/test.py
test.squish/suite_FEATURE_REVOLUTION/tst_revolution_003/test.py
test.squish/suite_FEATURE_REVOLUTION/tst_revolution_004/test.py
test.squish/suite_FEATURE_REVOLUTION/tst_revolution_005/test.py
test.squish/suite_FEATURE_REVOLUTION/tst_revolution_006/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_001/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_002/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_003/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_004/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_005/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_006/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_007/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_008/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_009/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_010/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_011/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_012/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_013/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_014/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_015/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_016/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_017/test.py
test.squish/suite_FEATURE_SKETCH/tst_sketch_018/test.py
test.squish/suite_ISSUES_SALOME/tst_532/test.py
test.squish/suite_OBJECT_BROWSER/tst_ACTIVE_DOC_MANAGEMENT/test.py
test.squish/suite_PYTHONAPI_SALOME/tst_Platine/test.py
test.squish/suite_STANDALONE/shared/scripts/common.py
test.squish/suite_STANDALONE/tst_532/test.py
test.squish/suite_STANDALONE/tst_818/test.py
test.squish/suite_STANDALONE/tst_BASE/test.py
test.squish/suite_STANDALONE/tst_DISTANCE/test.py
test.squish/suite_STANDALONE/tst_PARALLEL_1/test.py
test.squish/suite_STANDALONE/tst_PARALLEL_2/test.py
test.squish/suite_STANDALONE/tst_PERPENDICULAR_1/test.py
test.squish/suite_STANDALONE/tst_RADIUS/test.py
test.squish/suite_STANDALONE/tst_c/test.py
test.squish/suite_STANDALONE/tst_common_1/test.py
test.squish/suite_STANDALONE/tst_crash_1/test.py
utils.py

index 4ad9e74b0381cccbc75022a004aa29f10a0cf8e7..355324171c16a1e6ec9faec106508c4b21d4705b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7cadecd98a92c541553d8f5ca62d08fc03959c83..b6892f79ed64cb9a92e3f64898ef3f0171dc6576 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a2ae7d4f16f4c5e5ba79b1b2ecf697f166e0f83d..3263f3d60d9e1c1d9267324fe84a6dbb3157026e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bee7f9fec9a4ced44771f86330ccc09f87eec9a1..0792d56cca08ceee2361c1b110936c2079a9e3c7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 518b31983e01efbf62be3a4a561b4be248d6bd80..fe8e6e4e92f9d53c9d5a484204e0161e3284f1c0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a186abc9418fc6cd74c7f0b4931f87beb67a755b..891a363ebf42c6b7cffedcac92bd8278f22df8c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c47602be11e75f7e917f2f511413a578a0fc92d7..fa4e84da987699a1c70441f169a9c0f8514f912a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9fd4549681e409e4ca09f60d10485937ca2c6a78..91944fbea0e5028f93790d9ee51362492b8ca60c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2013-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -32,6 +32,7 @@ SET(QT_DEFINITIONS)
 SET(QT_LIBRARIES)
 # Find Qt5Core to get Qt version
 SET(Qt5_FIND_COMPONENTS QtCore)
+SET(Qt5_OPTIONAL_COMPONENTS)
 SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(Qt5Core Qt5Core_INCLUDE_DIRS 1 ENVVAR QT5_ROOT_DIR)
 IF(Qt5Core_FOUND)
   LIST(APPEND QT_INCLUDES    ${Qt5Core_INCLUDE_DIRS})
@@ -40,15 +41,22 @@ IF(Qt5Core_FOUND)
   SET(QT_VERSION "${Qt5Core_VERSION}")
 ENDIF()
 
-SET(Qt5_FIND_COMPONENTS Gui Widgets Network Xml OpenGL PrintSupport Help Test Sql Sensors Positioning Quick Qml Multimedia MultimediaWidgets WebChannel UiTools)
+# Add mandatory Qt 5 components below
+SET(Qt5_FIND_COMPONENTS Gui Widgets Network Xml OpenGL PrintSupport Help Test)
+# Add optional Qt 5 components below
+SET(Qt5_OPTIONAL_COMPONENTS)
 
 IF ("${QT_VERSION}" VERSION_LESS "5.6.0")
+  # QtWebKit package is used with Qt < 5.6
   LIST(APPEND Qt5_FIND_COMPONENTS WebKit WebKitWidgets)
 ELSE()
-  LIST(APPEND Qt5_OPTIONAL_COMPONENTS WebEngine WebEngineWidgets)
+  # QtWebEngine package is (optionally) used with Qt >= 5.6
+  # Anyway, not available with Python 3
+  LIST(APPEND Qt5_OPTIONAL_COMPONENTS WebEngineCore WebEngine WebEngineWidgets)
 ENDIF()
 
 IF(NOT WIN32)
+  ## QtX11Extras package is used on Linux only
   LIST(APPEND Qt5_FIND_COMPONENTS X11Extras)
 ENDIF()
 
@@ -58,7 +66,7 @@ FOREACH(_Qt5_COMPONENT_ ${Qt5_FIND_COMPONENTS} ${Qt5_OPTIONAL_COMPONENTS})
   IF(${idx} GREATER -1)
    SET(Salome${_Qt5_COMPONENT}_FIND_QUIETLY TRUE)
   ENDIF()
-  SALOME_FIND_PACKAGE_AND_DETECT_CONFLICTS(${_Qt5_COMPONENT} ${_Qt5_COMPONENT}_INCLUDE_DIRS 1 ENVVAR QT5_ROOT_DIR)
+  FIND_PACKAGE(${_Qt5_COMPONENT})
   LIST(APPEND QT_INCLUDES    ${${_Qt5_COMPONENT}_INCLUDE_DIRS})
   LIST(APPEND QT_DEFINITIONS ${${_Qt5_COMPONENT}_DEFINITIONS})
   LIST(APPEND QT_LIBRARIES   ${${_Qt5_COMPONENT}_LIBRARIES})
@@ -71,7 +79,7 @@ MARK_AS_ADVANCED(QT_LRELEASE_EXECUTABLE)
 GET_FILENAME_COMPONENT(QT_BINARY_DIR ${QT_LRELEASE_EXECUTABLE} DIRECTORY)
 MARK_AS_ADVANCED(QT_BINARY_DIR)
 
-# This is only needed to correctly detect Qt help generator tool, to workaround an error 
+# This is only needed to correctly detect Qt help generator tool, to workaround an error
 # coming from ParaView detection procedure
 FIND_PROGRAM(QT_HELP_GENERATOR
     qhelpgenerator
@@ -80,7 +88,7 @@ FIND_PROGRAM(QT_HELP_GENERATOR
     DOC "qhelpgenerator used to compile Qt help project files")
 MARK_AS_ADVANCED(QT_HELP_GENERATOR)
 
-IF(Qt5Core_FOUND) 
+IF(Qt5Core_FOUND)
   SALOME_ACCUMULATE_HEADERS(QT_INCLUDES)
   SALOME_ACCUMULATE_ENVIRONMENT(PATH ${LINGUIST_PATH})
   SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH ${Qt5Core_LIBRARIES})
index e7b0a3003934c582a525151289d23bbb1c48c22c..f7c6f98e2bfe0d2a7a2db7a68f38f4c245ee80f9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bfd7a9acf6e5d7009738a6a58faeac182cec1c43..eb793cb7ecfb9e91d9281490c0982b4fb8943cfb 100644 (file)
@@ -5,7 +5,7 @@
 #   SPHINX_PYTHONPATH - path to the Sphinx Python modules
 #
 ###########################################################################
-# Copyright (C) 2013-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2013-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 40ff4ab3c84534ef3347722765717ae6f67dfc44..b537943c345a0fe88f32f24681a63ee689192cb3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 585ee8b052360eeee7d08505f5246ebb802e21eb..bf67063809338aadb80e089e6d30bed00cc388e2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9ecb0be368cb1cf5457027f39f32cf9d1ab328ad..150ecab3c5d5bce16086d97b4e28f53550af549f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ecb403cf0d7cf0ff00d2216b3e0bb2fe8cc3c9f3..1bbbc2b4bbbd7a5cbbed8536ea3017db825da701 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b3abbba732b56a70bee04dd9f3c3236e44181fe6..a3912e337d8aaf54d6c362e3262609912455f280 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 60281289bfac9cb914393f8f1d369992ae9794c1..aebb1229fec0aba6d1a15c779e2ef8daf7f5721b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3ee3e2fe690e963e2b2b03a20dad88aedd8b160e..934625be68467b937a985d1eadc118c153a567cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2c34c819943952e5a7dc592dd4f65d74153cc755..7033afa845e987ecad17a16a2a78f12c4bfeb3b0 100644 (file)
@@ -1,3 +1,22 @@
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
 if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
   message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
 endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
index 2d8fef60ec80470adc09fe7f626e3e74aadf22a2..5845708009f42a5654b614ff7b323bb04519a209 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,7 @@ SET(${PROJECT_NAME}_MAJOR_VERSION 9)
 SET(${PROJECT_NAME}_MINOR_VERSION 6)
 SET(${PROJECT_NAME}_PATCH_VERSION 0)
 SET(${PROJECT_NAME}_VERSION ${${PROJECT_NAME}_MAJOR_VERSION}.${${PROJECT_NAME}_MINOR_VERSION}.${${PROJECT_NAME}_PATCH_VERSION})
+SET(COMPONENT_NAME SHAPER)
 
 # Ensure a proper linker behavior:
 CMAKE_POLICY(SET CMP0003 NEW)
@@ -43,10 +44,10 @@ INCLUDE(FindSalome)
 INCLUDE(FindSUIT)
 INCLUDE(FindTInspector)
 
-IF(${HAVE_SALOME})
+IF(HAVE_SALOME)
   SET(CONFIGURATION_ROOT_DIR $ENV{CONFIGURATION_ROOT_DIR} CACHE PATH "Path to the Salome CMake configuration files")
   IF(EXISTS ${CONFIGURATION_ROOT_DIR})
-    LIST(APPEND CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake")
+    SET(CMAKE_MODULE_PATH "${CONFIGURATION_ROOT_DIR}/cmake" ${CMAKE_MODULE_PATH})
     INCLUDE(SalomeMacros)
     INCLUDE(FindSalomeQt5)
   ELSE()
@@ -54,7 +55,6 @@ IF(${HAVE_SALOME})
   ENDIF()
   SET(KERNEL_ROOT_DIR $ENV{KERNEL_ROOT_DIR} CACHE PATH "Path to the Salome KERNEL")
   IF(EXISTS ${KERNEL_ROOT_DIR})
-    LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
     FIND_PACKAGE(SalomeKERNEL REQUIRED)
     ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
     INCLUDE_DIRECTORIES(${KERNEL_INCLUDE_DIRS})
@@ -63,8 +63,9 @@ IF(${HAVE_SALOME})
   ENDIF(EXISTS ${KERNEL_ROOT_DIR})
   SET(GUI_ROOT_DIR $ENV{GUI_ROOT_DIR} CACHE PATH "Path to the Salome GUI")
   IF(EXISTS ${GUI_ROOT_DIR})
-    LIST(APPEND CMAKE_MODULE_PATH "${GUI_ROOT_DIR}/salome_adm/cmake_files")
     FIND_PACKAGE(SalomeGUI REQUIRED)
+  ELSE(EXISTS ${GUI_ROOT_DIR})
+    MESSAGE(FATAL_ERROR "We absolutely need a Salome GUI, please define GUI_ROOT_DIR")
   ENDIF(EXISTS ${GUI_ROOT_DIR})
   INCLUDE(SalomeSetupPlatform)   # From CONFIGURATION
 
@@ -73,12 +74,12 @@ IF(${HAVE_SALOME})
 
   FIND_PACKAGE(SalomeOpenCASCADE REQUIRED)
 
-ELSE(${HAVE_SALOME})
+ELSE()
   INCLUDE(SalomeMacros)
   INCLUDE(FindSalomeQt5)
   INCLUDE(FindPython)
   INCLUDE(FindSalomeOpenCASCADE)
-ENDIF(${HAVE_SALOME})
+ENDIF()
 
 # Common CMake macros
 # ===================
@@ -101,6 +102,7 @@ SET(_pydir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packag
 SET(SHAPER_INSTALL_PYTHON_API ${_pydir}/salome/shaper CACHE INTERNAL "" FORCE)
 SET(SHAPER_INSTALL_SWIG ${_pydir} CACHE INTERNAL "" FORCE)
 IF(${HAVE_SALOME})
+    SET(SHAPER_INSTALL_EXE bin/salome CACHE INTERNAL "" FORCE)
     SET(SHAPER_INSTALL_ADDONS bin/salome CACHE INTERNAL "" FORCE)
     SET(SHAPER_INSTALL_BIN lib/salome CACHE INTERNAL "" FORCE)
     SET(SHAPER_INSTALL_PLUGIN_FILES lib/salome CACHE INTERNAL "" FORCE)
@@ -115,6 +117,7 @@ IF(${HAVE_SALOME})
 
     SALOME_INSTALL_SCRIPTS("shaper_test.py" ${SHAPER_INSTALL_PYTHON_FILES})
 ELSE(${HAVE_SALOME})
+    SET(SHAPER_INSTALL_EXE bin CACHE INTERNAL "" FORCE)
     SET(SHAPER_INSTALL_ADDONS addons CACHE INTERNAL "" FORCE)
     SET(SHAPER_INSTALL_BIN bin CACHE INTERNAL "" FORCE)
     SET(SHAPER_INSTALL_HEADERS include CACHE INTERNAL "" FORCE)
index 603a9e3ee6256cb345e4b40317d5903d54143b5d..ed2b2b636a1821c891091e7ee2bfa0d2aef44561 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 24087fbbbf8feb095468e762f56783e345218225..8d9790e9a0b075fde68fb8901038ed45c5a537c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dd1b911a695794cc9510bf6c56292b791155fed6..590f756bdbd7533ecf9aa92fa4c34255a02732ef 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8a66d7c69607e7e17bda6d6110f4c2b39c18d6eb..6a0e0880ee227e999726ce54c8fc0eac59487a05 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d1327b144b3a9daa3812e651536c266e333636b4..c1a382653f3a8d8b0878139d517190fb5a2dd009 100644 (file)
@@ -16,6 +16,8 @@
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 #
+
+import importlib
 import os
 import sys
 import sphinx
@@ -32,17 +34,19 @@ import sphinx
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = ['sphinx.ext.autodoc','sphinx.ext.autosummary']
-try:
-  import sphinxcontrib.napoleon
-  extensions += ['sphinxcontrib.napoleon']
-except:
-  pass
-try:
-  import sphinx_rtd_theme
-  extensions += ['sphinx_rtd_theme']
-  use_rtd_theme = True
-except:
-  use_rtd_theme = False
+# Optional extensions
+extra_extensions = ['sphinx_rtd_theme']
+if sphinx.version_info[:2] < (1,3):
+    extra_extensions += ['sphinxcontrib.napoleon']
+else:
+    extra_extensions += ['sphinx.ext.napoleon']
+for ext in extra_extensions:
+    try:
+        importlib.import_module(ext)
+        extensions.append(ext)
+        globals().update({'use_{}'.format(ext):True})
+    except:
+        globals().update({'use_{}'.format(ext):False})
 
 # Add any paths that contain templates here, relative to this directory.
 #templates_path = [os.path.join('@CMAKE_CURRENT_SOURCE_DIR@','templates')]
@@ -58,7 +62,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'SHAPER'
-copyright = u'2014-2020  CEA/DEN, EDF R&D'
+copyright = u'2014-2021  CEA/DEN, EDF R&D'
 
 # Copyright is shown via custom footer
 html_show_copyright = False
@@ -96,7 +100,7 @@ pygments_style = 'sphinx'
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
 #
-if use_rtd_theme:
+if use_sphinx_rtd_theme:
   html_theme = 'sphinx_rtd_theme'
 else:
   html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic'
index 2e4c397fca313981621a11ae5256280e50ca6122..2c7eb26032ac7134fa1dac999091cbcc8a7981c3 100644 (file)
@@ -22,7 +22,7 @@ include "searchbox.html"
 
 {%- block footer %}
  <div class="footer">
-         Copyright &copy; 2014-2020  CEA/DEN, EDF R&amp;D
+         Copyright &copy; 2014-2021  CEA/DEN, EDF R&amp;D
  </div>
  {{ super() }}
 {%- endblock %}
index 2d77d1c4bdf138ee122fda6110694af9a5e1140a..95a1da82d96c59f48625f9b1c539258f25cf5e0a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/env.sh b/env.sh
index 060985d4f73ca3c9350ea53c2811784178d9750a..3312dbda575a1a0b18a52c4fa7386f15e01a74d8 100644 (file)
--- a/env.sh
+++ b/env.sh
@@ -1,6 +1,6 @@
 #!/bin/bash -x
 
-export SALOME_DIR=/dn46/SALOME/series9x/current-2020-12-21
+export SALOME_DIR=/dn46/SALOME/series9x/current-2021-03-26
 
 # Path to sources
 export SOURCES_DIR=$(pwd)
index 9d898a796994b076e2ff7bb51aaac65e02843c42..8879031554000f10261a0e80bf2ac16b2619deff 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/env python
 
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 12ff68e75552292694b5044aa09e1162cc4cd3eb..826c965c89d5a68a3cfb181dcc6e7d5f9c2e62fb 100644 (file)
@@ -1,5 +1,5 @@
 #  -*- coding: iso-8859-1 -*-
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index af2465565279e5c1b0362257a3111ee03d1b65d0..4106ff85228b61c6fe36bbeea8250509b89a4fca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ba8ee60688ebd85e95090d4321fac30adc596e50..d35ff96a773d2634618aa25fdf5b0c464805aa58 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b7b5c7ba9240372953646e4ab373fcbc9eb40c74..837117dd0c5a4d4e6897c2f96255684d1bfc42e5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ec245d2090684c64d9d656a903ebc0338d9c4885..267d39b2b41ae9bf2f1c3bf5da2f1416ff584755 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3e40253107feca9b033e19cc9c3d2223e868f084..4ec543789e2a24010e4b39106303ceb7eda42ad3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a380736fef428b58e076a8eb78fd6cd6b400808c..54d45ebefb4ae5d2f32180d04a8c509542c535ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c420b984357dfa5a03e658b1a4f57a476089fece..4bc425ba09f2296a6ef0098d910c02cbd2b91a8b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 20685ade8266526c3679d4003f980aed8569fda8..8c6cf163bf52244d60935dc68e71564cbb9b6c29 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a5e7020c4125308506e9c66e9c2253ab1269f7b3..bacbcc135ad379927b465af56f9bb8e0b8c8630d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2caf190079ca0be9f1240e0d92b8698b651b8512..a3933baed3d7b43c4a4b987634039cb19fc2ad4c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61398b8123ac9188b47bf995cc329c4580ce19c2..cd0b49bcff5fe78bb51f21e832dc4d641572edb5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c2c31b8c2477af416b5d2fecdae0f2a1f25db7ff..b0f57039aa7fd3790e44ca2a05ceeb1fa5c66245 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 113ed4227d8905bdac1c01ebde3754944ec86477..bf28f3e1e9f7806055b724a4c2c3f56bc0bff948 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -38,7 +38,8 @@ BuildAPI_Interpolation::BuildAPI_Interpolation(const FeaturePtr& theFeature,
                     const bool theIsToReorder)
 : ModelHighAPI_Interface(theFeature)
 {
-  if(initialize()) {
+  if (initialize()) {
+    fillAttribute(BuildPlugin_Interpolation::CREATION_METHOD_BY_SELECTION_ID(),mycreationmethod);
     setUseTangents(true);
     setTangents(theStartTangent, theEndTangent);
     setClosed(theIsClosed);
@@ -55,6 +56,7 @@ BuildAPI_Interpolation::BuildAPI_Interpolation(const FeaturePtr& theFeature,
   : ModelHighAPI_Interface(theFeature)
 {
   if (initialize()) {
+    fillAttribute(BuildPlugin_Interpolation::CREATION_METHOD_BY_SELECTION_ID(),mycreationmethod);
     setClosed(theIsClosed);
     setReorder(theIsToReorder);
     setUseTangents(false);
@@ -62,6 +64,29 @@ BuildAPI_Interpolation::BuildAPI_Interpolation(const FeaturePtr& theFeature,
   }
 }
 
+//==================================================================================================
+BuildAPI_Interpolation::BuildAPI_Interpolation(const FeaturePtr& theFeature,
+                                               const std::string & theXTexpression,
+                                               const std::string & theYTexpression,
+                                               const std::string & theZTexpression,
+                                               const ModelHighAPI_Double& theMinT,
+                                               const ModelHighAPI_Double& theMaxT,
+                                               const ModelHighAPI_Integer& theNbStep)
+: ModelHighAPI_Interface(theFeature)
+{
+  if (initialize()) {
+    fillAttribute(BuildPlugin_Interpolation::CREATION_METHOD_ANALYTICAL_ID(),mycreationmethod);
+    fillAttribute(theXTexpression, myxt);
+    fillAttribute(theYTexpression, myyt);
+    fillAttribute(theZTexpression, myzt);
+    fillAttribute(theMinT, mymint);
+    fillAttribute(theMaxT, mymaxt);
+    fillAttribute(theNbStep, mynumstep);
+
+    execute();
+  }
+}
+
 //==================================================================================================
 BuildAPI_Interpolation::~BuildAPI_Interpolation()
 {
@@ -112,24 +137,45 @@ void BuildAPI_Interpolation::dump(ModelHighAPI_Dumper& theDumper) const
   FeaturePtr aBase = feature();
   std::string aPartName = theDumper.name(aBase->document());
 
-  AttributeSelectionListPtr anAttrBaseObjects =
-    aBase->selectionList(BuildPlugin_Interpolation::BASE_OBJECTS_ID());
-
-  theDumper << aBase << " = model.addInterpolation(" << aPartName << ", "
-            << anAttrBaseObjects << ", ";
-
-  AttributeStringPtr useTangentsAttr = useTangents();
-  std::string useTangents = useTangentsAttr->value();
-  if (!useTangents.empty()) {
-    AttributeSelectionPtr anAttrStartTangent =
-      aBase->selection(BuildPlugin_Interpolation::TANGENT_START_ID());
-    AttributeSelectionPtr anAttrEndTangent =
-      aBase->selection(BuildPlugin_Interpolation::TANGENT_END_ID());
-
-    theDumper << anAttrStartTangent << ", " << anAttrEndTangent << ", ";
+  if (aBase->string(BuildPlugin_Interpolation::CREATION_METHOD_ID())->value() ==
+            BuildPlugin_Interpolation::CREATION_METHOD_BY_SELECTION_ID())
+  {
+    AttributeSelectionListPtr anAttrBaseObjects =
+      aBase->selectionList(BuildPlugin_Interpolation::BASE_OBJECTS_ID());
+
+    theDumper << aBase << " = model.addInterpolation(" << aPartName << ", "
+              << anAttrBaseObjects << ", ";
+
+    AttributeStringPtr useTangentsAttr = useTangents();
+    std::string useTangents = useTangentsAttr->value();
+    if (!useTangents.empty()) {
+      AttributeSelectionPtr anAttrStartTangent =
+        aBase->selection(BuildPlugin_Interpolation::TANGENT_START_ID());
+      AttributeSelectionPtr anAttrEndTangent =
+        aBase->selection(BuildPlugin_Interpolation::TANGENT_END_ID());
+
+      theDumper << anAttrStartTangent << ", " << anAttrEndTangent << ", ";
+    }
+
+    theDumper << closed() << ", " << reorder() << ")" << std::endl;
+  } else {
+    theDumper << aBase << " = model.addInterpolation(" << aPartName ;
+    AttributeStringPtr XtAttr = xt();
+    std::string xt = XtAttr->value();
+    AttributeStringPtr YtAttr = yt();
+    std::string yt = YtAttr->value();
+    AttributeStringPtr ZtAttr = zt();
+    std::string zt = ZtAttr->value();
+    AttributeDoublePtr minTAttr = mint();
+    double mint = minTAttr->value();
+    AttributeDoublePtr maxTAttr = maxt();
+    double maxt = maxTAttr->value();
+    AttributeIntegerPtr nbStepAttr = numstep();
+    int nbStep = nbStepAttr->value();
+
+    theDumper<< ", \""  << xt << "\", \"" << yt << "\", \""<< zt<< "\", " ;
+    theDumper << mint << ", " << maxt << ", "<< nbStep<< ")"<<std::endl;
   }
-
-  theDumper << closed() << ", " << reorder() << ")" << std::endl;
 }
 
 //==================================================================================================
@@ -162,9 +208,27 @@ InterpolationPtr addInterpolation(const std::shared_ptr<ModelAPI_Document>& theP
                                                      theIsToReorder));
 }
 
+InterpolationPtr addInterpolation(const std::shared_ptr<ModelAPI_Document>& thePart,
+                                  const std::string & theXTexpression,
+                                  const std::string & theYTexpression,
+                                  const std::string & theZTexpression,
+                                  const ModelHighAPI_Double& theMinT,
+                                  const ModelHighAPI_Double& theMaxT,
+                                  const ModelHighAPI_Integer& theNbStep)
+{
+  std::shared_ptr<ModelAPI_Feature> aFeature = thePart->addFeature(BuildAPI_Interpolation::ID());
+  return InterpolationPtr(new BuildAPI_Interpolation(aFeature,
+                                                     theXTexpression,
+                                                     theYTexpression,
+                                                     theZTexpression,
+                                                     theMinT,
+                                                     theMaxT,
+                                                     theNbStep));
+}
+
 //==================================================================================================
 void BuildAPI_Interpolation::execIfBaseNotEmpty()
 {
   if (baseObjects()->size() > 0)
     execute();
-}
\ No newline at end of file
+}
index e1ee1031d58dbc6aa949e9ee442884c7f131bb8e..54e82c29f71b4bd2b186b4ee3e3ccb25f4638081 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -24,6 +24,8 @@
 
 #include <BuildPlugin_Interpolation.h>
 
+#include <ModelHighAPI_Double.h>
+#include <ModelHighAPI_Integer.h>
 #include <ModelHighAPI_Interface.h>
 #include <ModelHighAPI_Macro.h>
 #include <ModelHighAPI_Selection.h>
@@ -54,11 +56,21 @@ public:
                                     const std::list<ModelHighAPI_Selection>& theBaseObjects,
                                     const bool theIsClosed, const bool theIsToReorder);
 
+  /// Constructor with expression analytical of X,Y andZ
+  BUILDAPI_EXPORT
+    explicit BuildAPI_Interpolation(const FeaturePtr& theFeature,
+                                    const std::string & theXTexpression,
+                                    const std::string & theYTexpression,
+                                    const std::string & theZTexpression,
+                                    const ModelHighAPI_Double& theMinT,
+                                    const ModelHighAPI_Double& theMaxT,
+                                    const ModelHighAPI_Integer& theNbStep);
+
   /// Destructor.
   BUILDAPI_EXPORT
   virtual ~BuildAPI_Interpolation();
 
-  INTERFACE_6(BuildPlugin_Interpolation::ID(),
+  INTERFACE_13(BuildPlugin_Interpolation::ID(),
               baseObjects, BuildPlugin_Interpolation::BASE_OBJECTS_ID(),
               ModelAPI_AttributeSelectionList, /** Base objects */,
               closed, BuildPlugin_Interpolation::CLOSED_ID(),
@@ -70,7 +82,21 @@ public:
               startTangent, BuildPlugin_Interpolation::TANGENT_START_ID(),
               ModelAPI_AttributeSelection, /** Start point tangent */,
               endTangent, BuildPlugin_Interpolation::TANGENT_END_ID(),
-              ModelAPI_AttributeSelection, /** End point tangent */)
+              ModelAPI_AttributeSelection, /** End point tangent */,
+              xt, BuildPlugin_Interpolation::XT_ID(),
+              ModelAPI_AttributeString, /** xt expression*/,
+              yt, BuildPlugin_Interpolation::YT_ID(),
+              ModelAPI_AttributeString, /** yt expression*/,
+              zt, BuildPlugin_Interpolation::ZT_ID(),
+              ModelAPI_AttributeString, /** zt expression*/,
+              mint, BuildPlugin_Interpolation::MINT_ID(),
+              ModelAPI_AttributeDouble, /** Min*/,
+              maxt, BuildPlugin_Interpolation::MAXT_ID(),
+              ModelAPI_AttributeDouble, /** Max*/,
+              numstep, BuildPlugin_Interpolation::NUMSTEP_ID(),
+              ModelAPI_AttributeInteger, /** Number of steps*/,
+              creationmethod, BuildPlugin_Interpolation::CREATION_METHOD_ID(),
+              ModelAPI_AttributeString, /** Creation method*/)
 
   /// Modify base attribute of the feature.
   BUILDAPI_EXPORT
@@ -118,4 +144,15 @@ InterpolationPtr addInterpolation(const std::shared_ptr<ModelAPI_Document>& theP
                                   const bool theIsClosed = false,
                                   const bool theIsToReorder = false);
 
+/// \ingroup CPPHighAPI
+/// \brief Create Interpolation feature using tangents.
+BUILDAPI_EXPORT
+InterpolationPtr addInterpolation(const std::shared_ptr<ModelAPI_Document>& thePart,
+                                  const std::string & theXTexpression,
+                                  const std::string & theYTexpression,
+                                  const std::string & theZTexpression,
+                                  const ModelHighAPI_Double& theMinT,
+                                  const ModelHighAPI_Double& theMaxT,
+                                  const ModelHighAPI_Integer& theNbStep);
+
 #endif // BuildAPI_Interpolation_H_
index 1ec485c99afde7c84daf26593b6ba6d0a325f926..3b9127b3054cba550ceed95e2e9fbe1debfabb11 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 23d79063529b1e5dbda204e3f88b4a26cb887cc9..1cedb4fa3fc7330b1c7a0441df97ea9477d47cea 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 337118e7e1613c91a0f4c5970c949489ac1dae58..ff142f8bfb994ce65bd5555817fbdc7eba09cf7e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d290bd5af59a45a10ace1f64452180de9603b0df..85901079eda7e558632615148852a869738ed837 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8997bab4b6e9199ab1d8fbdf99c4ed9cdf0d1cc6..505108a9db34d244403f8e9091f5e1c656454265 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9caa396c2ddde986025083532c8614f92554d658..c04896cb2bbaabf8750f99c93d713ab12f7f2701 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 982b345e874dde90fbc5bcd0708ac138c054b3ad..138d82f30ae80b7a2edd48da11d589a6c763016e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5b7fee9899ef540c43501e7ca57f250e5f272d7d..b3f2f7940d3a42ebfd49e22989a36e0e2ac7feee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f6339c2c39ca07622875c1deec00a1f03d32440..973be559146d1b60d465ee82ed7b8e0143828ed5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d87984af6a2c50f3a05d8ee9620d6c73447ec051..d6be6cfdc7b37ea2d8553d7848f279fc6de8c021 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 18094bcf4ed386cd05345a39ee0b9bc9c07dc394..6a4d3b0a9193714d0b1a618dd6eef1a6cb0b65d5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4098b1f1ee02e8fcdac3bed3983b29b3b3434f64..a04ddfe0085062fd9c46f95fc189cbcc224616a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 703f9de4a236c5cc3e8827e33842f91028860a4f..50e8bf70303b571e91648b464df9d1fd8bfa0a94 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2f9ff479711a4f406f68c2fa69f2b578d6d6caad..e2e99fe689339661b5e3b4232300681a53f35e65 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2de24d0f86cc92beaf2674d64f7c34a57d5a5621..a3d4837285764724df2148302515cbb5ff0751e5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 36f5310a0f5f2717c2f4aa68c1c2593c08ee713a..f63fc4c2294e01654346a3cb395e148750f292d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 12cf919057716e78b8ded5ba32efcb0844dfbc01..8f2b34d4286ab8e3dc122131a677691b2f5c6ab7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 120979216b9eff491be9a856a051aaa60b55b2fa..41892c0c81c1fd7b3cf2b653fe3bfad38ab55999 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f025ebc09abad1b52d882162e527f9c7dc3078c..c9d266e2f8a8e4f5c643a9a3139536c2cbe3a372 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ef148b1077e2b044d3f8334886b3eb8ea94defef..1c09ffdc016cf0093a690e2c342986f27600421f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 991aae6d739d9a0def38f8f7f9abf2049e7f511c..3ae44b4bae8e1ac7cac0145a1a8bf60d2e325568 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 97d0e9fa7ee21c83d00f644af7ed51ffc563fcaa..bbe74d54e1e455a401ee750db6387b7a6f8636ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c438727a24e40febab7ea085c0815f89a34a021f..8c83263ce1a352a9e2dc98e9d47aa517e1e54c78 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9f669cf710bd620c9267ab69f58be7d9238891a5..f7364514fb9966224015bd882fd8c50aa5162782 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9725c8a33d1d6fc81d51245c63c5ac36b127f64e..bd083d6bd23e724474e161700aa0eb9a0ae7c0b2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8422517b0cedbddfdcad816322e34d5ffc015fc..fd4ebcf0d4ab73f97a1d6109445a1aea8cdcae6e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #include "BuildPlugin_Interpolation.h"
 
 #include <ModelAPI_AttributeBoolean.h>
-#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_AttributeDouble.h>
+#include <ModelAPI_AttributeInteger.h>
+#include <ModelAPI_AttributeRefList.h>
 #include <ModelAPI_AttributeSelectionList.h>
+#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_AttributeTables.h>
+#include <ModelAPI_Events.h>
 #include <ModelAPI_ResultBody.h>
-#include <ModelAPI_ResultConstruction.h>
+#include <ModelAPI_ResultParameter.h>
+#include <ModelAPI_Session.h>
+#include <ModelAPI_Validator.h>
 
 #include <Events_InfoMessage.h>
 
+#include <Locale_Convert.h>
+
 #include <GeomAlgoAPI_ShapeTools.h>
 #include <GeomAlgoAPI_CurveBuilder.h>
 #include <GeomAlgoAPI_PointBuilder.h>
@@ -36,6 +45,7 @@
 #include <GeomAPI_ShapeExplorer.h>
 
 #include <algorithm>
+#include <sstream>
 
 //=================================================================================================
 BuildPlugin_Interpolation::BuildPlugin_Interpolation()
@@ -51,6 +61,92 @@ void BuildPlugin_Interpolation::initAttributes()
   data()->addAttribute(USE_TANGENTS_ID(), ModelAPI_AttributeString::typeId());
   data()->addAttribute(TANGENT_START_ID(), ModelAPI_AttributeSelection::typeId());
   data()->addAttribute(TANGENT_END_ID(), ModelAPI_AttributeSelection::typeId());
+
+  data()->addAttribute(CREATION_METHOD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(CREATION_METHOD_BY_SELECTION_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(CREATION_METHOD_ANALYTICAL_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(EXPRESSION_ERROR_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(VARIABLE_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(VALUE_ID(), ModelAPI_AttributeTables::typeId());
+  data()->string(EXPRESSION_ERROR_ID())->setIsArgument(false);
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), EXPRESSION_ERROR_ID());
+
+  data()->addAttribute(XT_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(YT_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(ZT_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(MINT_ID(), ModelAPI_AttributeDouble::typeId());
+  data()->addAttribute(MAXT_ID(), ModelAPI_AttributeDouble::typeId());
+  data()->addAttribute(NUMSTEP_ID(), ModelAPI_AttributeInteger::typeId());
+
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(),
+                                                 CREATION_METHOD_ANALYTICAL_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(),
+                                                 CREATION_METHOD_BY_SELECTION_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), VARIABLE_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), VALUE_ID());
+  data()->addAttribute(ARGUMENTS_ID(), ModelAPI_AttributeRefList::typeId());
+  data()->reflist(ARGUMENTS_ID())->setIsArgument(false);
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), ARGUMENTS_ID());
+
+  if (string(XT_ID())->value() == ""
+     && string(YT_ID())->value() == ""
+     && string(ZT_ID())->value() == "") {
+      string(XT_ID())->setValue("t");
+      string(YT_ID())->setValue("t");
+      string(ZT_ID())->setValue("t");
+      real(MINT_ID())->setValue(0);
+      real(MAXT_ID())->setValue(100);
+      integer(NUMSTEP_ID())->setValue(10);
+      updateCoordinates();
+  }
+}
+
+//=================================================================================================
+void BuildPlugin_Interpolation::attributeChanged(const std::string& theID)
+{
+  if ((theID == XT_ID()
+    || theID == YT_ID()
+    || theID == ZT_ID()
+    || theID == MINT_ID()
+    || theID == MAXT_ID()
+    || theID == NUMSTEP_ID())
+    && string(XT_ID())->value() !=""
+    && string(YT_ID())->value() !=""
+    && string(ZT_ID())->value() !=""
+    && string(CREATION_METHOD_ID())->value() == CREATION_METHOD_ANALYTICAL_ID()) {
+    updateCoordinates();
+  }
+}
+
+//=================================================================================================
+void BuildPlugin_Interpolation::updateCoordinates()
+{
+    std::wstring exp;
+    double aMint = real(MINT_ID())->value();
+    double aMaxt = real(MAXT_ID())->value();
+    int aNbrStep = integer(NUMSTEP_ID())->value();
+
+    if (aMaxt < aMint) {
+      setError("The minimum value of the parameter must be less than maximum value !!!");
+    }
+
+    double aScale = (aMaxt - aMint)/aNbrStep;
+    string(VARIABLE_ID())->setValue("t");
+
+    tables(VALUE_ID())->setSize(aNbrStep+1,4);
+    for (int step = 0; step <= aNbrStep; step++) {
+      ModelAPI_AttributeTables::Value aVal;
+      aVal.myDouble = step * aScale + aMint;
+      tables(VALUE_ID())->setValue(aVal,step,0);
+    }
+
+    outErrorMessage="";
+    evaluate(outErrorMessage);
+    data()->string(EXPRESSION_ERROR_ID())->setValue(outErrorMessage);
+    if (!outErrorMessage.empty()) {
+      setError("Error: Python interpreter ");
+      return;
+    }
 }
 
 //=================================================================================================
@@ -78,62 +174,159 @@ static GeomDirPtr selectionToDir(const AttributeSelectionPtr& theSelection)
 //=================================================================================================
 void BuildPlugin_Interpolation::execute()
 {
-  // Get closed flag value
-  bool isClosed = boolean(CLOSED_ID())->value();
+  if (string(CREATION_METHOD_ID())->value() == CREATION_METHOD_BY_SELECTION_ID()) {
+    // Get closed flag value
+    bool isClosed = boolean(CLOSED_ID())->value();
 
-  // Get reorder flag value
-  bool isToReorder = boolean(REORDER_ID())->value();
+    // Get reorder flag value
+    bool isToReorder = boolean(REORDER_ID())->value();
 
-  // Get use tangents flag value
-  bool isToUseTangents = isClosed? false : (!string(USE_TANGENTS_ID())->value().empty());
+    // Get use tangents flag value
+    bool isToUseTangents = isClosed? false : (!string(USE_TANGENTS_ID())->value().empty());
 
-  // Get tangent for start and end points
-  GeomDirPtr aDirStart, aDirEnd;
-  if (isToUseTangents) {
-    aDirStart = selectionToDir(selection(TANGENT_START_ID()));
-    aDirEnd = selectionToDir(selection(TANGENT_END_ID()));
-  }
+    // Get tangent for start and end points
+    GeomDirPtr aDirStart, aDirEnd;
+    if (isToUseTangents) {
+      aDirStart = selectionToDir(selection(TANGENT_START_ID()));
+      aDirEnd = selectionToDir(selection(TANGENT_END_ID()));
+    }
 
-  // Get base objects list.
-  AttributeSelectionListPtr aSelectionList = selectionList(BASE_OBJECTS_ID());
-
-  // Collect points.
-  std::list<GeomPointPtr> aPoints;
-  std::set<GeomShapePtr> aContexts;
-  for (int anIndex = 0; anIndex < aSelectionList->size(); ++anIndex) {
-    AttributeSelectionPtr aSelection = aSelectionList->value(anIndex);
-
-    GeomShapePtr aContextShape = aSelection->context()->shape();
-    aContexts.insert(aContextShape);
-
-               GeomShapePtr aShape = aSelection->value();
-    if (!aShape.get()) {
-      aShape = aContextShape;
-               }
-
-    GeomPointPtr aPoint = GeomAlgoAPI_PointBuilder::point(aShape);
-    aPoints.push_back(aPoint);
-       }
-
-  // Create curve from points
-  GeomEdgePtr anEdge =
-    GeomAlgoAPI_CurveBuilder::edge(aPoints, isClosed, isToReorder, aDirStart, aDirEnd);
-  if (!anEdge.get()) {
-    setError("Error: Result curve is empty.");
-    return;
-  }
+    // Get base objects list.
+    AttributeSelectionListPtr aSelectionList = selectionList(BASE_OBJECTS_ID());
 
-  // Store result.
-  ResultBodyPtr aResultBody = document()->createBody(data());
-  std::set<GeomShapePtr>::const_iterator aContextIt = aContexts.begin();
-  for (; aContextIt != aContexts.end(); aContextIt++) {
-    aResultBody->storeModified(*aContextIt, anEdge, aContextIt == aContexts.begin());
-  }
-  int aVertexIndex = 1;
-  for (GeomAPI_ShapeExplorer anExp(anEdge, GeomAPI_Shape::VERTEX); anExp.more(); anExp.next()) {
-    std::string aVertexName = "Vertex_" + std::to_string((long long)aVertexIndex);
-    aResultBody->generated(anExp.current(), aVertexName);
-  }
+    // Collect points.
+    std::list<GeomPointPtr> aPoints;
+    std::set<GeomShapePtr> aContexts;
+    for (int anIndex = 0; anIndex < aSelectionList->size(); ++anIndex) {
+      AttributeSelectionPtr aSelection = aSelectionList->value(anIndex);
+
+      GeomShapePtr aContextShape = aSelection->context()->shape();
+      aContexts.insert(aContextShape);
+
+      GeomShapePtr aShape = aSelection->value();
+      if (!aShape.get()) {
+        aShape = aContextShape;
+      }
+
+      GeomPointPtr aPoint = GeomAlgoAPI_PointBuilder::point(aShape);
+      aPoints.push_back(aPoint);
+    }
+
+    // Create curve from points
+    GeomEdgePtr anEdge =
+      GeomAlgoAPI_CurveBuilder::edge(aPoints, isClosed, isToReorder, aDirStart, aDirEnd);
+    if (!anEdge.get()) {
+      setError("Error: Result curve is empty.");
+      return;
+    }
+
+    // Store result.
+    ResultBodyPtr aResultBody = document()->createBody(data());
+    std::set<GeomShapePtr>::const_iterator aContextIt = aContexts.begin();
+    for (; aContextIt != aContexts.end(); aContextIt++) {
+      aResultBody->storeModified(*aContextIt, anEdge, aContextIt == aContexts.begin());
+    }
+    int aVertexIndex = 1;
+    for (GeomAPI_ShapeExplorer anExp(anEdge, GeomAPI_Shape::VERTEX); anExp.more(); anExp.next()) {
+      std::string aVertexName = "Vertex_" + std::to_string((long long)aVertexIndex);
+      aResultBody->generated(anExp.current(), aVertexName);
+    }
+
+    setResult(aResultBody);
+
+  } else {
+    if (string(XT_ID())->value() == ""
+        ||string(YT_ID())->value() == ""
+        ||string(ZT_ID())->value() == ""
+        ||tables(VALUE_ID())->rows()== 0)
+      return;
+
+    bool aWasBlocked = data()->blockSendAttributeUpdated(true);
+    updateCoordinates();
+    data()->blockSendAttributeUpdated(aWasBlocked, false);
+
+    AttributeTablesPtr aTable = tables(VALUE_ID());
+    std::list<std::vector<double>> aCoordPoints;
+    for (int step = 0; step < aTable->rows(); step++) {
+      std::vector<double> aCoordPoint;
+      ModelAPI_AttributeTables::Value aValue;
+      //x
+      aValue = aTable->value(step, 1);
+      aCoordPoint.push_back(aValue.myDouble);
+      //y
+      aValue = aTable->value(step, 2);
+      aCoordPoint.push_back(aValue.myDouble);
+      //
+      aValue = aTable->value(step, 3);
+      aCoordPoint.push_back(aValue.myDouble);
+
+      aCoordPoints.push_back(aCoordPoint);
+    }
+
+    std::list<GeomPointPtr> aPoints;
+    std::list<std::vector<double>>::const_iterator anItCoordPoints = aCoordPoints.begin();
 
-  setResult(aResultBody);
+    for (; anItCoordPoints!=aCoordPoints.end(); ++anItCoordPoints) {
+
+      GeomVertexPtr aVertex = GeomAlgoAPI_PointBuilder::vertex((*anItCoordPoints)[0],
+                                                               (*anItCoordPoints)[1],
+                                                               (*anItCoordPoints)[2]);
+      aPoints.push_back(aVertex->point());
+    }
+
+    // test if some points are identical
+    std::list<GeomPointPtr>::const_iterator anItPoint1 = aPoints.begin();
+    std::list<GeomPointPtr>::const_iterator anItPoint2;
+    for(; anItPoint1 != aPoints.end(); ++ anItPoint1) {
+      anItPoint2 = anItPoint1;
+      ++anItPoint2;
+      for(; anItPoint2 != aPoints.end(); ++ anItPoint2)
+          if ((*anItPoint2)->isEqual(*anItPoint1)) {
+            setError("Error: Several points are identical");
+            return;
+          }
+    }
+
+    // Create curve from points
+    GeomEdgePtr anEdge =
+      GeomAlgoAPI_CurveBuilder::edge(aPoints, false, false,GeomDirPtr(),GeomDirPtr());
+    if (!anEdge.get()) {
+      setError("Error: Result curve is empty.");
+      return;
+    }
+
+    ResultBodyPtr aResultBody = document()->createBody(data());
+    // Load the result
+    aResultBody->store(anEdge);
+    int aVertexIndex = 1;
+    for (GeomAPI_ShapeExplorer anExp(anEdge, GeomAPI_Shape::VERTEX); anExp.more(); anExp.next()) {
+      std::string aVertexName = "Vertex_" + std::to_string((long long)aVertexIndex);
+      aResultBody->generated(anExp.current(), aVertexName);
+      aVertexIndex++;
+    }
+    setResult(aResultBody);
+  }
 }
+
+//=================================================================================================
+void BuildPlugin_Interpolation::evaluate(std::string& theError)
+{
+  FeaturePtr aMyPtr = std::dynamic_pointer_cast<ModelAPI_Feature>(data()->owner());
+  std::shared_ptr<ModelAPI_BuildEvalMessage> aProcessMessage =
+    ModelAPI_BuildEvalMessage::send(aMyPtr, this);
+
+  if (aProcessMessage->isProcessed()) {
+    theError = aProcessMessage->error();
+
+    const std::list<ResultParameterPtr>& aParamsList = aProcessMessage->params();
+    //store the list of parameters to store if changed
+    AttributeRefListPtr aParams = reflist(ARGUMENTS_ID());
+    aParams->clear();
+    std::list<ResultParameterPtr>::const_iterator aNewIter = aParamsList.begin();
+    for (; aNewIter != aParamsList.end(); aNewIter++) {
+      aParams->append(*aNewIter);
+    }
+  } else { // error: python interpreter is not active
+    theError = "Python interpreter is not available";
+  }
+}
\ No newline at end of file
index 912cc126ff14ef4c90ee1a96e2fd38aa0a54db5d..83175f115ff73d538680e007c3bd4671d4bc45e4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -40,6 +40,27 @@ public:
     return MY_ID;
   }
 
+  /// Attribute name of creation method.
+  inline static const std::string& CREATION_METHOD_ID()
+  {
+    static const std::string MY_CREATION_METHOD_ID("interpolation_method");
+    return MY_CREATION_METHOD_ID;
+  }
+
+  /// Attribute name of creation method by selection
+  inline static const std::string& CREATION_METHOD_BY_SELECTION_ID()
+  {
+    static const std::string MY_CREATION_METHOD_BY_SELECTION_ID("by_selection");
+    return MY_CREATION_METHOD_BY_SELECTION_ID;
+  }
+
+  /// Attribute name of creation method analytical
+  inline static const std::string& CREATION_METHOD_ANALYTICAL_ID()
+  {
+    static const std::string MY_CREATION_METHOD_ANALYTICAL_ID("analytical");
+    return MY_CREATION_METHOD_ANALYTICAL_ID;
+  }
+
   /// Attribute name of base objects.
   inline static const std::string& BASE_OBJECTS_ID()
   {
@@ -82,9 +103,79 @@ public:
     return MY_TANGENT_END_ID;
   }
 
+  /// Attribute name of x(t) equation.
+  inline static const std::string& XT_ID()
+  {
+    static const std::string MY_XT_ID("xt");
+    return MY_XT_ID;
+  }
+
+  /// Attribute name of y(t) equation.
+  inline static const std::string& YT_ID()
+  {
+    static const std::string MY_YT_ID("yt");
+    return MY_YT_ID;
+  }
+
+  /// Attribute name of z(t) equation.
+  inline static const std::string& ZT_ID()
+  {
+    static const std::string MY_ZT_ID("zt");
+    return MY_ZT_ID;
+  }
+
+  /// Attribute name of min t.
+  inline static const std::string& MINT_ID()
+  {
+    static const std::string MY_MINT_ID("mint");
+    return MY_MINT_ID;
+  }
+
+  /// Attribute name of max t.
+  inline static const std::string& MAXT_ID()
+  {
+    static const std::string MY_MAXT_ID("maxt");
+    return MY_MAXT_ID;
+  }
+
+  /// Attribute of parameter name of variable
+  inline static const std::string& VARIABLE_ID()
+  {
+    static const std::string MY_VARIABLE_ID("variable");
+    return MY_VARIABLE_ID;
+  }
+
+  /// Attribute of parameter name of value
+  inline static const std::string& VALUE_ID()
+  {
+    static const std::string MY_VALUE_ID("value");
+    return MY_VALUE_ID;
+  }
+
+  /// Attribute of parameter expression error
+  inline static const std::string& EXPRESSION_ERROR_ID()
+  {
+    static const std::string MY_EXPRESSION_ERROR_ID("ExpressionError");
+    return MY_EXPRESSION_ERROR_ID;
+  }
+
+  /// Attribute name of number of steps
+  inline static const std::string& NUMSTEP_ID()
+  {
+    static const std::string MY_NUMSTEP_ID("numstep");
+    return MY_NUMSTEP_ID;
+  }
+
   /// Default value of the closed attribute
   inline static bool CLOSED_DEFAULT() { return false; }
 
+  /// List of references to the arguments of this expression
+  inline static const std::string& ARGUMENTS_ID()
+  {
+    static const std::string MY_ARGUMENTS_ID("arguments");
+    return MY_ARGUMENTS_ID;
+  }
+
   /// \return the kind of a feature.
   BUILDPLUGIN_EXPORT virtual const std::string& getKind()
   {
@@ -97,6 +188,21 @@ public:
 
   /// Creates a new part document if needed.
   BUILDPLUGIN_EXPORT virtual void execute();
+
+  /// Called on change of any argument-attribute of this object.
+  /// \param[in] theID identifier of changed attribute.
+  BUILDPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
+  protected:
+  /// Evaluates the expression x(t), y(t),z(t) in value table.
+  void evaluate(std::string& theError);
+
+  /// Update coordinates x,y,z
+  void updateCoordinates();
+
+  /// Output error for python interpreter
+  std::string outErrorMessage;
+
 };
 
 #endif
index e18d092cfea452708bc289417e237747a1fdb062..ce9d747bc4c7151f87812e2f0ac518958500ddf0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -59,6 +59,8 @@ BuildPlugin_Plugin::BuildPlugin_Plugin()
                               new BuildPlugin_ValidatorFillingSelection());
   aFactory->registerValidator("BuildPlugin_ValidatorBaseForVertex",
                               new BuildPlugin_ValidatorBaseForVertex());
+  aFactory->registerValidator("BuildPlugin_ValidatorExpressionInterpolation",
+                              new BuildPlugin_ValidatorExpressionInterpolation());
 
   // Register this plugin.
   ModelAPI_Session::get()->registerPlugin(this);
index bafd517021df53699106c7defbc6ea593c420f87..4178c5fa30e78a60a5c0af91900761bb73612991 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 84671da2f1a8f912f9b4d7c4ad32448edb4b91e0..58a2ae7fd37c9244f6781a58eb1c1b0d3548c633 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ed1a409e97343a0a02d3084918a0e166182656de..84cdf37c3b0bf59689748fc254e0c30d0c613972 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ebac06984cc946d4ca6254f0e059fc0fa0738b80..0565f102a259198e34b13f6962f8f0ad16c5d3bc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 02ff16ddbfbefc6e0ca7b18dae9bfc3e83df03eb..bffff481826110438b2d8155582daab070289065 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d11e2bd6b6e01d70a2fb621aa9adbd5862c59cc0..d9ed992817e6d6c88c0904611c0686c61e5ac63e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 152a35eef0f8e3158f7b9aaf429727243fe080da..cc342829bfd11320438bf64ad05d43e6efcfb6c5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd1cb0c863be282f3017761c48f8de3f1f5ae4c5..e5fde852ff5cb4bc06d98b8b4ccd0a2d10c6b836 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4edf4d9b294e6997a5ac72045dbb8b9ce07628fa..cff3259ab557095e75f1f3eb1351a037f8a43940 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 02c481b1d183cab96f8f56c27711c3340c63f167..d77e07b207d77d924508defe42ea36a173b9dbc8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 30a7e54fc314c9d631c0728a8874337d054c5d17..d54487055ce95e698191929aaf95fdc211b2e760 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 29bc897b75f56adda3b522d5f18c4b728877822f..5742946746b8d87c1dab120489fd4bfbaf9add93 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -20,6 +20,7 @@
 #include "BuildPlugin_Validators.h"
 
 #include <ModelAPI_AttributeSelectionList.h>
+#include <ModelAPI_AttributeString.h>
 #include <ModelAPI_ResultConstruction.h>
 
 #include <GeomAPI_PlanarEdges.h>
@@ -39,6 +40,8 @@
 #include <GeomValidators_FeatureKind.h>
 #include <GeomValidators_ShapeType.h>
 
+#include <BuildPlugin_Interpolation.h>
+
 #include <SketchPlugin_Sketch.h>
 
 #include <Events_InfoMessage.h>
@@ -660,3 +663,28 @@ bool BuildPlugin_ValidatorBaseForVertex::isValid(const AttributePtr& theAttribut
 
   return true;
 }
+
+//=================================================================================================
+bool BuildPlugin_ValidatorExpressionInterpolation::isValid(const AttributePtr& theAttribute,
+                                                   const std::list<std::string>& /*theArguments*/,
+                                                   Events_InfoMessage& theError) const
+{
+  FeaturePtr aFeature = std::dynamic_pointer_cast<ModelAPI_Feature>(theAttribute->owner());
+
+  AttributeStringPtr aStrAttr =
+      std::dynamic_pointer_cast<ModelAPI_AttributeString>(theAttribute);
+  if (!aStrAttr->isInitialized()) {
+    theError = "Attribute \"%1\" is not initialized.";
+    theError.arg(aStrAttr->id());
+    return false;
+  }
+  bool isEmptyExpr = aStrAttr->value().empty();
+  if (isEmptyExpr) {
+    theError = "Expression is empty.";
+    return false;
+  }
+
+  theError = aFeature->string(BuildPlugin_Interpolation::EXPRESSION_ERROR_ID())->value();
+  return theError.empty();
+}
+
index 9d4670ef041019657e8be6178d521ad7bff71813..c6fd871e8da0231c9636bbaeb8b8852f284b2163 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -133,4 +133,19 @@ public:
                         Events_InfoMessage& theError) const;
 };
 
+ /// \class BuildPlugin_ValidatorExpression
+ /// \ingroup Validators
+ /// \brief Validator for the expression of parameter.
+class BuildPlugin_ValidatorExpressionInterpolation: public ModelAPI_AttributeValidator
+{
+public:
+   //! Returns true if attribute has a valid parameter expression.
+   //! \param theAttribute the checked attribute
+   //! \param theArguments arguments of the attribute
+   //! \param theError the error string message if validation fails
+   virtual bool isValid(const AttributePtr& theAttribute,
+                        const std::list<std::string>& theArguments,
+                        Events_InfoMessage& theError) const;
+};
+
 #endif
index 41052296106d29bfc716a83797fa76fa8d6eec4e..5cf8d10df311627439ff4b13fc296d511e5e1f43 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 11f1f1a1d03d8c7daf715cc3ee3c1a4b69313c48..59c41c5a613e78815d5cc3ebce5c3145c1a7d7d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c1bf527de0c9762c20c932fadb8c3f258a95bc30..30a247138c8eec46f13052b565c00d5bcdafdc5c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 39527dca7e869b451d582319d34370baa0f71986..064d65868f70d2bf7418f40afc67f1282db4d508 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e6c433fbb2984c34a05b587ba0f9c0eb48a50284..163ef0773b0c7eed0e52934e1725284416246e96 100644 (file)
       <translation>Tangentes</translation>
     </message>
   </context>
-
+  <context>
+    <name>Interpolation</name>
+    <message>
+      <source>Curves parameters</source>
+      <translation>Paramètres de la courbe</translation>
+    </message>
+  </context>
+  <context>
+    <name>Interpolation:xt</name>
+    <message>
+      <source>X(t) equation</source>
+      <translation>Équation X(t)</translation>
+    </message>
+  </context>
+  <context>
+    <name>Interpolation:yt</name>
+    <message>
+      <source>Y(t) equation</source>
+      <translation>Équation Y(t)</translation>
+    </message>
+  </context>
+  <context>
+    <name>Interpolation:zt</name>
+    <message>
+      <source>Z(t) equation</source>
+      <translation>Équation Z(t)</translation>
+    </message>
+  </context>
+  <context>
+    <name>Interpolation:numstep</name>
+    <message>
+      <source>Number of steps</source>
+      <translation>Nombre de pas</translation>
+    </message>
+  </context>
   <context>
     <name>Polyline:base_objects</name>
     <message>
index 4bcf4a001c626395c85db7510c10420cd6380b76..ab1e05446ff6ce705601b279dee278a3d67288e9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -23,11 +23,15 @@ INCLUDE(UnitTest)
 INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Events
                     ${PROJECT_SOURCE_DIR}/src/Config
                     ${PROJECT_SOURCE_DIR}/src/ModelAPI
+                    ${PROJECT_SOURCE_DIR}/src/Locale
                     ${PROJECT_SOURCE_DIR}/src/GeomAPI
                     ${PROJECT_SOURCE_DIR}/src/GeomAlgoAPI
                     ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
                     ${PROJECT_SOURCE_DIR}/src/GeomValidators
                     ${PROJECT_SOURCE_DIR}/src/SketchPlugin
+                    ${PROJECT_SOURCE_DIR}/src/InitializationPlugin
+                    ${SUIT_INCLUDE}
+                    ${PYTHON_INCLUDE_DIR}
 )
 
 SET(PROJECT_HEADERS
@@ -98,6 +102,8 @@ SET(PROJECT_LIBRARIES
     GeomAPI
     GeomAlgoAPI
     GeomValidators
+    ${PyInterp}
+    ${PYTHON_LIBRARIES}
 )
 
 ADD_DEFINITIONS(-DBUILDPLUGIN_EXPORTS)
@@ -109,56 +115,23 @@ INSTALL(TARGETS BuildPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
 INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Build)
 
-ADD_UNIT_TESTS(TestVertex.py
-               TestVertex_ErrorMsg.py
-               TestVertex_WholeSketch_1.py
-               TestVertex_WholeSketch_2.py
-               TestEdge.py
-               TestEdge_ByPoints.py
-               TestEdge_ErrorMsg.py
-               TestEdge_WholeSketch_1.py
-               TestEdge_WholeSketch_2.py
-               TestEdge_WholeSketch_3.py
-               TestEdge_WholeSketch_4.py
-               TestWire.py
-               TestWire_ErrorMsg.py
-               TestWire_WholeSketch_1.py
-               TestWire_WholeSketch_2.py
-               TestWire_WholeSketch_3.py
-               TestWire_WholeSketch_4.py
-               TestWire_WholeSketch_5.py
-               TestWire_WholeSketch_6.py
-               TestPolyline.py
-               TestInterpolation.py
-               TestFace.py
-               TestFace_ErrorMsg.py
-               TestFace_WholeSketch_1.py
-               TestFace_WholeSketch_2.py
-               TestShell.py
-               TestShell_WholeSketch_1.py
-               TestShell_WholeSketch_2.py
-               TestSolid.py
-               TestSolid_ErrorMsg.py
-               TestCompSolid.py
-               TestCompound.py
-               TestCompound_ErrorMsg.py
-               TestCompound_History.py
-               TestSubShapes.py
-               TestSubShapes_ErrorMsg.py
-               TestFilling.py
-               TestFilling_ByEdges.py
-               TestFilling_ByWires.py
-               TestFilling_Mixed.py
-               TestFilling_ErrorMsg.py
-               Test1920.py
-               Test2398.py
-               Test2409.py
-               Test2415.py
-               Test2439.py
-               Test2454.py
-               Test3125.py
-               Test3271.py
-               Test19056.py
-               Test20469.py
-               Test20513.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/BuildPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/BuildPlugin/CTestTestfileInstall.cmake b/src/BuildPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 6807f3bf31baad14c12e61e4de6fc3e4897a95c6..5da48584f1143d2725169722bedbc242c7d67035 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a79013306c0dce1c00d8ffb9e7063a1e6ce52502..5196a24bb10c4d72bef65227005424d1e5a3597a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6b2868e4e2c6527758170d638488fccf6408afc0..09860f6dfa79c6797905bda143c72637c956500a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/BuildPlugin/Test/Test20513.py b/src/BuildPlugin/Test/Test20513.py
deleted file mode 100644 (file)
index 11192d9..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License, or (at your option) any later version.
-#
-# This library is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-from SketchAPI import *
-
-from salome.shaper import model
-
-model.begin()
-partSet = model.moduleDocument()
-
-### Create Part
-Part_1 = model.addPart(partSet)
-Part_1_doc = Part_1.document()
-
-### Create Sketch
-Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
-
-### Create SketchProjection
-SketchProjection_1 = Sketch_1.addProjection(model.selection("VERTEX", "PartSet/Origin"), False)
-SketchPoint_1 = SketchProjection_1.createdFeature()
-
-### Create SketchBSpline
-SketchBSpline_1_poles = [(0, 0),
-                         (64.69989977297864, 3.820449445888325),
-                         (63.227018959685, 42.02181716036146),
-                         (19.7442263567145, 66.94290132940253),
-                         (0, 0)
-                        ]
-SketchBSpline_1 = Sketch_1.addSpline(poles = SketchBSpline_1_poles)
-[SketchPoint_2, SketchPoint_3, SketchPoint_4, SketchPoint_5, SketchPoint_6] = SketchBSpline_1.controlPoles(auxiliary = [0, 1, 2, 3, 4])
-[SketchLine_1, SketchLine_2, SketchLine_3, SketchLine_4] = SketchBSpline_1.controlPolygon(auxiliary = [0, 1, 2, 3])
-Sketch_1.setCoincident(SketchAPI_Point(SketchPoint_2).coordinates(), SketchPoint_1.result())
-Sketch_1.setCoincident(SketchAPI_Point(SketchPoint_6).coordinates(), SketchPoint_1.result())
-model.do()
-
-### Create Plane
-Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "Sketch_1/Face-SketchBSpline_1f"), 10, False)
-
-### Create Sketch
-Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
-
-### Create SketchProjection
-SketchProjection_2 = Sketch_2.addProjection(model.selection("VERTEX", "PartSet/Origin"), False)
-SketchPoint_7 = SketchProjection_2.createdFeature()
-
-### Create SketchBSpline
-SketchBSpline_2_poles = [(0, 0),
-                         (8.839087148173476, 45.21301708610518),
-                         (53.18579907801947, 39.22586299994072),
-                         (47.99568029170977, 4.506542817571567),
-                         (0, 0)
-                        ]
-SketchBSpline_2 = Sketch_2.addSpline(poles = SketchBSpline_2_poles)
-[SketchPoint_8, SketchPoint_9, SketchPoint_10, SketchPoint_11, SketchPoint_12] = SketchBSpline_2.controlPoles(auxiliary = [0, 1, 2, 3, 4])
-[SketchLine_5, SketchLine_6, SketchLine_7, SketchLine_8] = SketchBSpline_2.controlPolygon(auxiliary = [0, 1, 2, 3])
-Sketch_2.setCoincident(SketchAPI_Point(SketchPoint_8).coordinates(), SketchPoint_7.result())
-Sketch_2.setCoincident(SketchAPI_Point(SketchPoint_12).coordinates(), SketchPoint_7.result())
-model.do()
-
-### Create Wire
-Wire_1 = model.addWire(Part_1_doc, [model.selection("EDGE", "Sketch_1/SketchBSpline_1")], False)
-
-### Create Wire
-Wire_2 = model.addWire(Part_1_doc, [model.selection("EDGE", "Sketch_2/SketchBSpline_2")], False)
-
-### Create Filling
-Filling_1 = model.addFilling(Part_1_doc, [model.selection("WIRE", "Wire_1_1"), model.selection("WIRE", "Wire_2_1")])
-
-model.end()
-
-from GeomAPI import *
-
-model.testNbResults(Filling_1, 1)
-model.testNbSubResults(Filling_1, [0])
-model.testNbSubShapes(Filling_1, GeomAPI_Shape.SOLID, [0])
-model.testNbSubShapes(Filling_1, GeomAPI_Shape.FACE, [1])
-model.testNbSubShapes(Filling_1, GeomAPI_Shape.EDGE, [4])
-model.testNbSubShapes(Filling_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Filling_1, [1872.0403629667237])
-
-assert(model.checkPythonDump())
diff --git a/src/BuildPlugin/Test/Test20513_1.py b/src/BuildPlugin/Test/Test20513_1.py
new file mode 100644 (file)
index 0000000..5ec9713
--- /dev/null
@@ -0,0 +1,97 @@
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+from SketchAPI import *
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+
+### Create Part
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+### Create Sketch
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+
+### Create SketchProjection
+SketchProjection_1 = Sketch_1.addProjection(model.selection("VERTEX", "PartSet/Origin"), False)
+SketchPoint_1 = SketchProjection_1.createdFeature()
+
+### Create SketchBSpline
+SketchBSpline_1_poles = [(0, 0),
+                         (64.69989977297864, 3.820449445888325),
+                         (63.227018959685, 42.02181716036146),
+                         (19.7442263567145, 66.94290132940253),
+                         (0, 0)
+                        ]
+SketchBSpline_1 = Sketch_1.addSpline(poles = SketchBSpline_1_poles)
+[SketchPoint_2, SketchPoint_3, SketchPoint_4, SketchPoint_5, SketchPoint_6] = SketchBSpline_1.controlPoles(auxiliary = [0, 1, 2, 3, 4])
+[SketchLine_1, SketchLine_2, SketchLine_3, SketchLine_4] = SketchBSpline_1.controlPolygon(auxiliary = [0, 1, 2, 3])
+Sketch_1.setCoincident(SketchAPI_Point(SketchPoint_2).coordinates(), SketchPoint_1.result())
+Sketch_1.setCoincident(SketchAPI_Point(SketchPoint_6).coordinates(), SketchPoint_1.result())
+model.do()
+
+### Create Plane
+Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "Sketch_1/Face-SketchBSpline_1f"), 10, False)
+
+### Create Sketch
+Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
+
+### Create SketchProjection
+SketchProjection_2 = Sketch_2.addProjection(model.selection("VERTEX", "PartSet/Origin"), False)
+SketchPoint_7 = SketchProjection_2.createdFeature()
+
+### Create SketchBSpline
+SketchBSpline_2_poles = [(0, 0),
+                         (8.839087148173476, 45.21301708610518),
+                         (53.18579907801947, 39.22586299994072),
+                         (47.99568029170977, 4.506542817571567),
+                         (0, 0)
+                        ]
+SketchBSpline_2 = Sketch_2.addSpline(poles = SketchBSpline_2_poles)
+[SketchPoint_8, SketchPoint_9, SketchPoint_10, SketchPoint_11, SketchPoint_12] = SketchBSpline_2.controlPoles(auxiliary = [0, 1, 2, 3, 4])
+[SketchLine_5, SketchLine_6, SketchLine_7, SketchLine_8] = SketchBSpline_2.controlPolygon(auxiliary = [0, 1, 2, 3])
+Sketch_2.setCoincident(SketchAPI_Point(SketchPoint_8).coordinates(), SketchPoint_7.result())
+Sketch_2.setCoincident(SketchAPI_Point(SketchPoint_12).coordinates(), SketchPoint_7.result())
+model.do()
+
+### Create Wire
+Wire_1 = model.addWire(Part_1_doc, [model.selection("EDGE", "Sketch_1/SketchBSpline_1")], False)
+
+### Create Wire
+Wire_2 = model.addWire(Part_1_doc, [model.selection("EDGE", "Sketch_2/SketchBSpline_2")], False)
+
+### Create Filling
+Filling_1 = model.addFilling(Part_1_doc, [model.selection("WIRE", "Wire_1_1"), model.selection("WIRE", "Wire_2_1")])
+
+model.end()
+
+from GeomAPI import *
+
+model.testNbResults(Filling_1, 1)
+model.testNbSubResults(Filling_1, [0])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.SOLID, [0])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.FACE, [1])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.EDGE, [4])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.VERTEX, [8])
+model.testResultsAreas(Filling_1, [1872.0403629667237])
+
+assert(model.checkPythonDump())
diff --git a/src/BuildPlugin/Test/Test20513_2.py b/src/BuildPlugin/Test/Test20513_2.py
new file mode 100644 (file)
index 0000000..45196ab
--- /dev/null
@@ -0,0 +1,1142 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+
+### Create Part
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+### Create Plane
+Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/XOY"), 36.35, False)
+
+### Create Sketch
+Sketch_1 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
+
+### Create SketchPoint
+SketchPoint_1 = Sketch_1.addPoint(3.502, 0)
+SketchPoint_1.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_2 = Sketch_1.addPoint(3.47587508, 0.08247210000000001)
+SketchPoint_2.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_3 = Sketch_1.addPoint(3.4170765, 0.14106056)
+SketchPoint_3.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_4 = Sketch_1.addPoint(3.33866672, 0.1866566)
+SketchPoint_4.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_5 = Sketch_1.addPoint(3.23630326, 0.2409376)
+SketchPoint_5.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_6 = Sketch_1.addPoint(3.12742608, 0.28649862)
+SketchPoint_6.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_7 = Sketch_1.addPoint(3.03161136, 0.32123846)
+SketchPoint_7.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_8 = Sketch_1.addPoint(2.92269916, 0.35163582)
+SketchPoint_8.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_9 = Sketch_1.addPoint(2.85300936, 0.36900574)
+SketchPoint_9.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_10 = Sketch_1.addPoint(2.76153712, 0.38637566)
+SketchPoint_10.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_11 = Sketch_1.addPoint(2.67006488, 0.39936808)
+SketchPoint_11.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_12 = Sketch_1.addPoint(2.58297014, 0.4167379999999999)
+SketchPoint_12.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_13 = Sketch_1.addPoint(2.47843544, 0.4297654399999999)
+SketchPoint_13.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_14 = Sketch_1.addPoint(2.3521183, 0.4384504)
+SketchPoint_14.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_15 = Sketch_1.addPoint(2.2127387, 0.4384504)
+SketchPoint_15.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_16 = Sketch_1.addPoint(2.06026162, 0.4384504)
+SketchPoint_16.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_17 = Sketch_1.addPoint(1.92743076, 0.4275942)
+SketchPoint_17.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_18 = Sketch_1.addPoint(1.80762734, 0.4167379999999999)
+SketchPoint_18.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_19 = Sketch_1.addPoint(1.70747014, 0.39936808)
+SketchPoint_19.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_20 = Sketch_1.addPoint(1.60293544, 0.38203318)
+SketchPoint_20.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_21 = Sketch_1.addPoint(1.48968076, 0.36466326)
+SketchPoint_21.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_22 = Sketch_1.addPoint(1.3720836, 0.34295086)
+SketchPoint_22.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_23 = Sketch_1.addPoint(1.25010894, 0.31689598)
+SketchPoint_23.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_24 = Sketch_1.addPoint(1.12162056, 0.2908411)
+SketchPoint_24.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_25 = Sketch_1.addPoint(0.99747466, 0.26047876)
+SketchPoint_25.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_26 = Sketch_1.addPoint(0.8929399600000001, 0.23442388)
+SketchPoint_26.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_27 = Sketch_1.addPoint(0.7971252400000002, 0.21271148)
+SketchPoint_27.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_28 = Sketch_1.addPoint(0.6860417999999999, 0.1866566)
+SketchPoint_28.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_29 = Sketch_1.addPoint(0.5597246600000001, 0.15625924)
+SketchPoint_29.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_30 = Sketch_1.addPoint(0.4312362800000002, 0.1258969)
+SketchPoint_30.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_31 = Sketch_1.addPoint(0.3397640399999999, 0.10201326)
+SketchPoint_31.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_32 = Sketch_1.addPoint(0.2395718200000001, 0.07812962)
+SketchPoint_32.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_33 = Sketch_1.addPoint(0.1437571000000002, 0.056032)
+SketchPoint_33.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_34 = Sketch_1.addPoint(0.06534731999999988, 0.03470482)
+SketchPoint_34.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_35 = Sketch_1.addPoint(0, 0.003502)
+SketchPoint_35.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_36 = Sketch_1.addPoint(0.0697248199999998, 0.014008)
+SketchPoint_36.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_37 = Sketch_1.addPoint(0.17443462, 0.0252144)
+SketchPoint_37.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_38 = Sketch_1.addPoint(0.25701178, 0.0266152)
+SketchPoint_38.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_39 = Sketch_1.addPoint(0.3658889599999999, 0.02601986)
+SketchPoint_39.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_40 = Sketch_1.addPoint(0.4791436400000002, 0.02601986)
+SketchPoint_40.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_41 = Sketch_1.addPoint(0.5815071000000001, 0.0173349)
+SketchPoint_41.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_42 = Sketch_1.addPoint(0.7012754999999999, 0.00213622)
+SketchPoint_42.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_43 = Sketch_1.addPoint(0.8058101999999998, -0.01516366)
+SketchPoint_43.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_44 = Sketch_1.addPoint(0.9060024200000001, -0.03470482)
+SketchPoint_44.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_45 = Sketch_1.addPoint(1.03666204, -0.0607597)
+SketchPoint_45.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_46 = Sketch_1.addPoint(1.14557424, -0.09115706)
+SketchPoint_46.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_47 = Sketch_1.addPoint(1.2980163, -0.1258969)
+SketchPoint_47.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_48 = Sketch_1.addPoint(1.4373959, -0.15625924)
+SketchPoint_48.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_49 = Sketch_1.addPoint(1.55937056, -0.1866566)
+SketchPoint_49.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_50 = Sketch_1.addPoint(1.6856877, -0.21705396)
+SketchPoint_50.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_51 = Sketch_1.addPoint(1.81634732, -0.2409376)
+SketchPoint_51.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_52 = Sketch_1.addPoint(1.94266446, -0.26047876)
+SketchPoint_52.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_53 = Sketch_1.addPoint(2.08204406, -0.27781366)
+SketchPoint_53.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_54 = Sketch_1.addPoint(2.22580116, -0.2908411)
+SketchPoint_54.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_55 = Sketch_1.addPoint(2.36080326, -0.29735482)
+SketchPoint_55.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_56 = Sketch_1.addPoint(2.51328034, -0.29952606)
+SketchPoint_56.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_57 = Sketch_1.addPoint(2.63959748, -0.29301234)
+SketchPoint_57.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_58 = Sketch_1.addPoint(2.77680584, -0.28215614)
+SketchPoint_58.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_59 = Sketch_1.addPoint(2.89223176, -0.2691287)
+SketchPoint_59.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_60 = Sketch_1.addPoint(3.0185489, -0.24745132)
+SketchPoint_60.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_61 = Sketch_1.addPoint(3.16444222, -0.21271148)
+SketchPoint_61.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_62 = Sketch_1.addPoint(3.31471304, -0.16060172)
+SketchPoint_62.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_63 = Sketch_1.addPoint(3.40618528, -0.11721194)
+SketchPoint_63.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_64 = Sketch_1.addPoint(3.4715326, -0.06510218)
+SketchPoint_64.setAuxiliary(True)
+
+### Create SketchBSpline
+SketchBSpline_1_poles = [(3.502, 0),
+                         (3.501708060470513, 0.03160465459957851),
+                         (3.482306354808988, 0.08478594846732339),
+                         (3.416982460484224, 0.1463028723964636),
+                         (3.330867828938158, 0.1897725095120994),
+                         (3.23691571256371, 0.2438885707817408),
+                         (3.132475493449838, 0.2847168793431304),
+                         (3.028693716669709, 0.3242771718865035),
+                         (2.935991590725414, 0.3481773438606656),
+                         (2.846302117977083, 0.3714272918230952),
+                         (2.761971777722034, 0.3876700086132496),
+                         (2.670901019132808, 0.3971222319904175),
+                         (2.577912212391188, 0.4199064802107029),
+                         (2.47138895770733, 0.4307739368475885),
+                         (2.347934842807255, 0.4411206976945238),
+                         (2.208393417939975, 0.4367094703481399),
+                         (2.066490356928406, 0.4424654746602308),
+                         (1.931861446733529, 0.4266278861079822),
+                         (1.813439066878724, 0.4202402668802049),
+                         (1.706149087521655, 0.3984156148279285),
+                         (1.600151931908012, 0.381280150658782),
+                         (1.487912755840739, 0.3651602028428825),
+                         (1.37022484781707, 0.343451145226399),
+                         (1.248225848031129, 0.3155391742155946),
+                         (1.122361457008797, 0.2925847187390579),
+                         (1.003957496481461, 0.2621074537257155),
+                         (0.8961617237627484, 0.2345532360663585),
+                         (0.7918988749704297, 0.211845235390749),
+                         (0.6808742181768952, 0.1856161550032198),
+                         (0.5591323563208087, 0.1555837712922512),
+                         (0.4432312945768512, 0.1299207001590713),
+                         (0.3369105879407892, 0.1005196423732715),
+                         (0.2422714917388343, 0.0789561461823229),
+                         (0.1454129368472911, 0.05575321928504596),
+                         (0.07867537192801388, 0.04292748679362836),
+                         (-0.03801510663679483, -0.009036231961024368),
+                         (0.09668159902862462, 0.02124137982940557),
+                         (0.1631020115172611, 0.02544418940840985),
+                         (0.2670052837801755, 0.02725755100255278),
+                         (0.3669396449571852, 0.02499900964975237),
+                         (0.4758196106561338, 0.02860804255883151),
+                         (0.587520466545792, 0.01701112796086315),
+                         (0.696501264135322, 0.003600344371230613),
+                         (0.8046893603429499, -0.01419519074507264),
+                         (0.9160129303585658, -0.03746502686037816),
+                         (1.03084989928976, -0.05621611703810876),
+                         (1.15892564877219, -0.09721235004459683),
+                         (1.293587814245105, -0.1248468755833264),
+                         (1.432121846768275, -0.1540096476220431),
+                         (1.560708865933035, -0.187062827568635),
+                         (1.686271640551389, -0.2189476512659969),
+                         (1.814669465172142, -0.2409413298907317),
+                         (1.94672182252948, -0.2618358185518865),
+                         (2.083258581034335, -0.2785950467488627),
+                         (2.222670155691588, -0.2918735040977562),
+                         (2.366549046533922, -0.297866371507273),
+                         (2.504656418820893, -0.3018436275465021),
+                         (2.643344514150033, -0.2930128256147972),
+                         (2.769720467648912, -0.2834650455787363),
+                         (2.896386200659248, -0.2699367156705364),
+                         (3.025904808388414, -0.2471667438643729),
+                         (3.168089816001797, -0.2147033470830538),
+                         (3.297598829858346, -0.1692120751505936),
+                         (3.4021366076639, -0.1232968436621545),
+                         (3.474062839110283, -0.07177094713741811),
+                         (3.497525008229238, -0.02562138888775374),
+                         (3.502, 0)
+                        ]
+SketchBSpline_1 = Sketch_1.addSpline(degree = 3, poles = SketchBSpline_1_poles, weights = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], knots = [0, 0.01183488863837179, 0.0231901864984856, 0.03559858893144927, 0.05144916515834002, 0.06759531467622239, 0.0815379341596944, 0.09700677492797639, 0.1068321569610141, 0.1195693666101132, 0.1322085557927937, 0.1443579416201434, 0.1587691279665198, 0.1760903712525299, 0.1951577895815503, 0.2160169703364635, 0.2342490967534491, 0.2507056052742759, 0.2646118431448987, 0.2791077011690486, 0.2947823396709444, 0.3111417859997592, 0.3282046159595691, 0.3461398429174012, 0.3636238095657637, 0.3783618826153202, 0.391801869278653, 0.4074107325669362, 0.4251844860013295, 0.4432460569026663, 0.4561791711061376, 0.4702697244163377, 0.4837214559733177, 0.4948377859291224, 0.5047442665271804, 0.5143904392393579, 0.5287967600422182, 0.5400951120443203, 0.5549899587260146, 0.5704834338205002, 0.5845372797011691, 0.601053244848017, 0.6155483198902286, 0.6295130832805995, 0.6477395111687876, 0.6632083519370694, 0.6845974067707579, 0.7041119934399063, 0.7213087363026549, 0.7390824897370483, 0.7572531654218201, 0.7747391660376208, 0.7939534892917685, 0.8137003452650871, 0.8321903971419141, 0.8530516926114459, 0.8703550992317159, 0.8891841498048808, 0.9050749088751692, 0.9226079659764084, 0.9431244997359293, 0.9648828024586863, 0.9787328512217585, 0.9901668364115462, 1], multiplicities = [4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4])
+Sketch_1.setCoincident(SketchPoint_1.coordinates(), SketchBSpline_1.startPoint())
+Sketch_1.setCoincident(SketchPoint_1.coordinates(), SketchBSpline_1.endPoint())
+Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_3.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_4.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_5.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_6.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_7.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_8.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_9.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_10.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_11.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_12.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_13.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_14.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_15.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_16.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_17.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_18.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_19.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_20.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_21.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_22.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_23.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_24.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_25.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_26.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_27.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_28.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_29.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_30.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_31.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_32.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_33.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_34.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_35.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_36.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_37.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_38.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_39.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_40.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_41.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_42.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_43.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_44.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_45.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_46.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_47.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_48.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_49.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_50.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_51.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_52.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_53.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_54.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_55.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_56.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_57.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_58.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_59.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_60.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_61.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_62.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_63.coordinates(), SketchBSpline_1.result())
+Sketch_1.setCoincident(SketchPoint_64.coordinates(), SketchBSpline_1.result())
+
+### Create SketchOffset
+SketchOffset_1 = Sketch_1.addOffset([SketchBSpline_1.result()], 0.01, False)
+[SketchBSpline_2, SketchBSpline_3, SketchBSpline_4, SketchBSpline_5, SketchBSpline_6, SketchBSpline_7, SketchBSpline_8, SketchBSpline_9, SketchBSpline_10, SketchBSpline_11, SketchBSpline_12, SketchBSpline_13, SketchBSpline_14, SketchBSpline_15, SketchBSpline_16, SketchBSpline_17, SketchBSpline_18, SketchBSpline_19, SketchBSpline_20, SketchBSpline_21, SketchBSpline_22, SketchBSpline_23, SketchBSpline_24, SketchBSpline_25, SketchBSpline_26, SketchBSpline_27, SketchBSpline_28, SketchBSpline_29, SketchBSpline_30, SketchBSpline_31, SketchBSpline_32, SketchBSpline_33, SketchBSpline_34, SketchBSpline_35, SketchBSpline_36, SketchBSpline_37, SketchBSpline_38, SketchBSpline_39, SketchBSpline_40, SketchBSpline_41, SketchBSpline_42, SketchBSpline_43, SketchBSpline_44, SketchBSpline_45, SketchBSpline_46, SketchBSpline_47, SketchBSpline_48, SketchBSpline_49, SketchBSpline_50, SketchBSpline_51, SketchBSpline_52, SketchBSpline_53, SketchBSpline_54, SketchBSpline_55, SketchBSpline_56, SketchBSpline_57, SketchBSpline_58, SketchBSpline_59, SketchBSpline_60, SketchBSpline_61, SketchArc_1] = SketchOffset_1.offset()
+
+### Create SketchOffset
+SketchOffset_2 = Sketch_1.addOffset([SketchBSpline_1.result()], 0.07000000000000001, False)
+[SketchBSpline_62, SketchBSpline_63, SketchBSpline_64, SketchBSpline_65, SketchBSpline_66, SketchBSpline_67, SketchBSpline_68, SketchBSpline_69, SketchBSpline_70, SketchBSpline_71, SketchBSpline_72, SketchBSpline_73, SketchBSpline_74, SketchBSpline_75, SketchBSpline_76, SketchBSpline_77, SketchBSpline_78, SketchBSpline_79, SketchBSpline_80, SketchBSpline_81, SketchBSpline_82, SketchBSpline_83, SketchBSpline_84, SketchBSpline_85, SketchBSpline_86, SketchBSpline_87, SketchBSpline_88, SketchBSpline_89, SketchBSpline_90, SketchBSpline_91, SketchBSpline_92, SketchBSpline_93, SketchBSpline_94, SketchBSpline_95, SketchBSpline_96, SketchBSpline_97, SketchBSpline_98, SketchBSpline_99, SketchBSpline_100, SketchBSpline_101, SketchBSpline_102, SketchBSpline_103, SketchBSpline_104, SketchBSpline_105, SketchBSpline_106, SketchBSpline_107, SketchBSpline_108, SketchBSpline_109, SketchBSpline_110, SketchBSpline_111, SketchBSpline_112, SketchBSpline_113, SketchBSpline_114, SketchBSpline_115, SketchBSpline_116, SketchBSpline_117, SketchBSpline_118, SketchBSpline_119, SketchBSpline_120, SketchBSpline_121, SketchArc_2] = SketchOffset_2.offset()
+model.do()
+
+### Create Wire
+Wire_1 = model.addWire(Part_1_doc, [model.selection("EDGE", "SketchBSpline_1")], False)
+
+### Create Wire
+Wire_2_objects = [model.selection("EDGE", "SketchBSpline_2"),
+                  model.selection("EDGE", "SketchBSpline_3"),
+                  model.selection("EDGE", "SketchBSpline_4"),
+                  model.selection("EDGE", "SketchBSpline_5"),
+                  model.selection("EDGE", "SketchBSpline_6"),
+                  model.selection("EDGE", "SketchBSpline_7"),
+                  model.selection("EDGE", "SketchBSpline_8"),
+                  model.selection("EDGE", "SketchBSpline_9"),
+                  model.selection("EDGE", "SketchBSpline_10"),
+                  model.selection("EDGE", "SketchBSpline_11"),
+                  model.selection("EDGE", "SketchBSpline_12"),
+                  model.selection("EDGE", "SketchBSpline_13"),
+                  model.selection("EDGE", "SketchBSpline_14"),
+                  model.selection("EDGE", "SketchBSpline_15"),
+                  model.selection("EDGE", "SketchBSpline_16"),
+                  model.selection("EDGE", "SketchBSpline_17"),
+                  model.selection("EDGE", "SketchBSpline_18"),
+                  model.selection("EDGE", "SketchBSpline_19"),
+                  model.selection("EDGE", "SketchBSpline_20"),
+                  model.selection("EDGE", "SketchBSpline_21"),
+                  model.selection("EDGE", "SketchBSpline_22"),
+                  model.selection("EDGE", "SketchBSpline_23"),
+                  model.selection("EDGE", "SketchBSpline_24"),
+                  model.selection("EDGE", "SketchBSpline_25"),
+                  model.selection("EDGE", "SketchBSpline_26"),
+                  model.selection("EDGE", "SketchBSpline_27"),
+                  model.selection("EDGE", "SketchBSpline_28"),
+                  model.selection("EDGE", "SketchBSpline_29"),
+                  model.selection("EDGE", "SketchBSpline_30"),
+                  model.selection("EDGE", "SketchBSpline_31"),
+                  model.selection("EDGE", "SketchBSpline_32"),
+                  model.selection("EDGE", "SketchBSpline_33"),
+                  model.selection("EDGE", "SketchBSpline_34"),
+                  model.selection("EDGE", "SketchBSpline_35"),
+                  model.selection("EDGE", "SketchBSpline_36"),
+                  model.selection("EDGE", "SketchBSpline_37"),
+                  model.selection("EDGE", "SketchBSpline_38"),
+                  model.selection("EDGE", "SketchBSpline_39"),
+                  model.selection("EDGE", "SketchBSpline_40"),
+                  model.selection("EDGE", "SketchBSpline_41"),
+                  model.selection("EDGE", "SketchBSpline_42"),
+                  model.selection("EDGE", "SketchBSpline_43"),
+                  model.selection("EDGE", "SketchBSpline_44"),
+                  model.selection("EDGE", "SketchBSpline_45"),
+                  model.selection("EDGE", "SketchBSpline_46"),
+                  model.selection("EDGE", "SketchBSpline_47"),
+                  model.selection("EDGE", "SketchBSpline_48"),
+                  model.selection("EDGE", "SketchBSpline_49"),
+                  model.selection("EDGE", "SketchBSpline_50"),
+                  model.selection("EDGE", "SketchBSpline_51"),
+                  model.selection("EDGE", "SketchBSpline_52"),
+                  model.selection("EDGE", "SketchBSpline_53"),
+                  model.selection("EDGE", "SketchBSpline_54"),
+                  model.selection("EDGE", "SketchBSpline_55"),
+                  model.selection("EDGE", "SketchBSpline_56"),
+                  model.selection("EDGE", "SketchBSpline_57"),
+                  model.selection("EDGE", "SketchBSpline_58"),
+                  model.selection("EDGE", "SketchBSpline_59"),
+                  model.selection("EDGE", "SketchBSpline_60"),
+                  model.selection("EDGE", "SketchBSpline_61"),
+                  model.selection("EDGE", "SketchArc_1_2")]
+Wire_2 = model.addWire(Part_1_doc, Wire_2_objects, False)
+
+### Create Wire
+Wire_3_objects = [model.selection("EDGE", "SketchBSpline_62"),
+                  model.selection("EDGE", "SketchBSpline_63"),
+                  model.selection("EDGE", "SketchBSpline_64"),
+                  model.selection("EDGE", "SketchBSpline_65"),
+                  model.selection("EDGE", "SketchBSpline_66"),
+                  model.selection("EDGE", "SketchBSpline_67"),
+                  model.selection("EDGE", "SketchBSpline_68"),
+                  model.selection("EDGE", "SketchBSpline_69"),
+                  model.selection("EDGE", "SketchBSpline_70"),
+                  model.selection("EDGE", "SketchBSpline_71"),
+                  model.selection("EDGE", "SketchBSpline_72"),
+                  model.selection("EDGE", "SketchBSpline_73"),
+                  model.selection("EDGE", "SketchBSpline_74"),
+                  model.selection("EDGE", "SketchBSpline_75"),
+                  model.selection("EDGE", "SketchBSpline_76"),
+                  model.selection("EDGE", "SketchBSpline_77"),
+                  model.selection("EDGE", "SketchBSpline_78"),
+                  model.selection("EDGE", "SketchBSpline_79"),
+                  model.selection("EDGE", "SketchBSpline_80"),
+                  model.selection("EDGE", "SketchBSpline_81"),
+                  model.selection("EDGE", "SketchBSpline_82"),
+                  model.selection("EDGE", "SketchBSpline_83"),
+                  model.selection("EDGE", "SketchBSpline_84"),
+                  model.selection("EDGE", "SketchBSpline_85"),
+                  model.selection("EDGE", "SketchBSpline_86"),
+                  model.selection("EDGE", "SketchBSpline_87"),
+                  model.selection("EDGE", "SketchBSpline_88"),
+                  model.selection("EDGE", "SketchBSpline_89"),
+                  model.selection("EDGE", "SketchBSpline_90"),
+                  model.selection("EDGE", "SketchBSpline_91"),
+                  model.selection("EDGE", "SketchBSpline_92"),
+                  model.selection("EDGE", "SketchBSpline_93"),
+                  model.selection("EDGE", "SketchBSpline_94"),
+                  model.selection("EDGE", "SketchBSpline_95"),
+                  model.selection("EDGE", "SketchBSpline_96"),
+                  model.selection("EDGE", "SketchBSpline_97"),
+                  model.selection("EDGE", "SketchBSpline_98"),
+                  model.selection("EDGE", "SketchBSpline_99"),
+                  model.selection("EDGE", "SketchBSpline_100"),
+                  model.selection("EDGE", "SketchBSpline_101"),
+                  model.selection("EDGE", "SketchBSpline_102"),
+                  model.selection("EDGE", "SketchBSpline_103"),
+                  model.selection("EDGE", "SketchBSpline_104"),
+                  model.selection("EDGE", "SketchBSpline_105"),
+                  model.selection("EDGE", "SketchBSpline_106"),
+                  model.selection("EDGE", "SketchBSpline_107"),
+                  model.selection("EDGE", "SketchBSpline_108"),
+                  model.selection("EDGE", "SketchBSpline_109"),
+                  model.selection("EDGE", "SketchBSpline_110"),
+                  model.selection("EDGE", "SketchBSpline_111"),
+                  model.selection("EDGE", "SketchBSpline_112"),
+                  model.selection("EDGE", "SketchBSpline_113"),
+                  model.selection("EDGE", "SketchBSpline_114"),
+                  model.selection("EDGE", "SketchBSpline_115"),
+                  model.selection("EDGE", "SketchBSpline_116"),
+                  model.selection("EDGE", "SketchBSpline_117"),
+                  model.selection("EDGE", "SketchBSpline_118"),
+                  model.selection("EDGE", "SketchBSpline_119"),
+                  model.selection("EDGE", "SketchBSpline_120"),
+                  model.selection("EDGE", "SketchBSpline_121"),
+                  model.selection("EDGE", "SketchArc_2_2")]
+Wire_3 = model.addWire(Part_1_doc, Wire_3_objects, False)
+
+### Create Plane
+Plane_5 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/XOY"), 40.45, False)
+
+### Create Sketch
+Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_2"))
+
+### Create SketchPoint
+SketchPoint_65 = Sketch_2.addPoint(3.256, 0)
+SketchPoint_65.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_66 = Sketch_2.addPoint(3.23171024, 0.07667880000000001)
+SketchPoint_66.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_67 = Sketch_2.addPoint(3.177042, 0.13115168)
+SketchPoint_67.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_68 = Sketch_2.addPoint(3.10414016, 0.1735448)
+SketchPoint_68.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_69 = Sketch_2.addPoint(3.00896728, 0.2240128)
+SketchPoint_69.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_70 = Sketch_2.addPoint(2.90773824, 0.2663733599999999)
+SketchPoint_70.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_71 = Sketch_2.addPoint(2.81865408, 0.29867288)
+SketchPoint_71.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_72 = Sketch_2.addPoint(2.71739248, 0.32693496)
+SketchPoint_72.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_73 = Sketch_2.addPoint(2.65259808, 0.34308472)
+SketchPoint_73.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_74 = Sketch_2.addPoint(2.56755136, 0.35923448)
+SketchPoint_74.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_75 = Sketch_2.addPoint(2.48250464, 0.37131424)
+SketchPoint_75.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_76 = Sketch_2.addPoint(2.40152792, 0.387464)
+SketchPoint_76.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_77 = Sketch_2.addPoint(2.30433632, 0.39957632)
+SketchPoint_77.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_78 = Sketch_2.addPoint(2.1868924, 0.4076512)
+SketchPoint_78.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_79 = Sketch_2.addPoint(2.0573036, 0.4076512)
+SketchPoint_79.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_80 = Sketch_2.addPoint(1.91553736, 0.4076512)
+SketchPoint_80.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_81 = Sketch_2.addPoint(1.79203728, 0.3975576)
+SketchPoint_81.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_82 = Sketch_2.addPoint(1.68064952, 0.387464)
+SketchPoint_82.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_83 = Sketch_2.addPoint(1.58752792, 0.37131424)
+SketchPoint_83.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_84 = Sketch_2.addPoint(1.49033632, 0.35519704)
+SketchPoint_84.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_85 = Sketch_2.addPoint(1.38503728, 0.33904728)
+SketchPoint_85.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_86 = Sketch_2.addPoint(1.2757008, 0.31886008)
+SketchPoint_86.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_87 = Sketch_2.addPoint(1.16229432, 0.29463544)
+SketchPoint_87.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_88 = Sketch_2.addPoint(1.04283168, 0.2704108)
+SketchPoint_88.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_89 = Sketch_2.addPoint(0.9274064800000001, 0.24218128)
+SketchPoint_89.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_90 = Sketch_2.addPoint(0.8302148799999998, 0.21795664)
+SketchPoint_90.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_91 = Sketch_2.addPoint(0.7411307200000001, 0.19776944)
+SketchPoint_91.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_92 = Sketch_2.addPoint(0.6378504, 0.1735448)
+SketchPoint_92.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_93 = Sketch_2.addPoint(0.5204064800000001, 0.14528272)
+SketchPoint_93.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_94 = Sketch_2.addPoint(0.4009438400000001, 0.1170532)
+SketchPoint_94.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_95 = Sketch_2.addPoint(0.3158971199999998, 0.09484727999999999)
+SketchPoint_95.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_96 = Sketch_2.addPoint(0.2227429599999997, 0.07264135999999999)
+SketchPoint_96.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_97 = Sketch_2.addPoint(0.1336588000000001, 0.052096)
+SketchPoint_97.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_98 = Sketch_2.addPoint(0.06075695999999997, 0.03226696)
+SketchPoint_98.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_99 = Sketch_2.addPoint(0, 0.003256)
+SketchPoint_99.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_100 = Sketch_2.addPoint(0.06482695999999999, 0.013024)
+SketchPoint_100.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_101 = Sketch_2.addPoint(0.1621813599999999, 0.0234432)
+SketchPoint_101.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_102 = Sketch_2.addPoint(0.2389578399999999, 0.0247456)
+SketchPoint_102.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_103 = Sketch_2.addPoint(0.3401868800000001, 0.02419208)
+SketchPoint_103.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_104 = Sketch_2.addPoint(0.4454859200000003, 0.02419208)
+SketchPoint_104.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_105 = Sketch_2.addPoint(0.5406588000000001, 0.0161172)
+SketchPoint_105.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_106 = Sketch_2.addPoint(0.6520139999999999, 0.00198616)
+SketchPoint_106.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_107 = Sketch_2.addPoint(0.7492055999999998, -0.01409848)
+SketchPoint_107.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_108 = Sketch_2.addPoint(0.8423597599999999, -0.03226696)
+SketchPoint_108.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_109 = Sketch_2.addPoint(0.9638411199999997, -0.0564916)
+SketchPoint_109.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_110 = Sketch_2.addPoint(1.06510272, -0.08475368)
+SketchPoint_110.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_111 = Sketch_2.addPoint(1.2068364, -0.1170532)
+SketchPoint_111.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_112 = Sketch_2.addPoint(1.3364252, -0.14528272)
+SketchPoint_112.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_113 = Sketch_2.addPoint(1.44983168, -0.1735448)
+SketchPoint_113.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_114 = Sketch_2.addPoint(1.5672756, -0.20180688)
+SketchPoint_114.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_115 = Sketch_2.addPoint(1.68875696, -0.2240128)
+SketchPoint_115.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_116 = Sketch_2.addPoint(1.80620088, -0.24218128)
+SketchPoint_116.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_117 = Sketch_2.addPoint(1.93578968, -0.25829848)
+SketchPoint_117.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_118 = Sketch_2.addPoint(2.06944848, -0.2704108)
+SketchPoint_118.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_119 = Sketch_2.addPoint(2.19496728, -0.27646696)
+SketchPoint_119.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_120 = Sketch_2.addPoint(2.33673352, -0.27848568)
+SketchPoint_120.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_121 = Sketch_2.addPoint(2.45417744, -0.27242952)
+SketchPoint_121.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_122 = Sketch_2.addPoint(2.58174752, -0.26233592)
+SketchPoint_122.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_123 = Sketch_2.addPoint(2.68906528, -0.2502236)
+SketchPoint_123.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_124 = Sketch_2.addPoint(2.8065092, -0.23006896)
+SketchPoint_124.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_125 = Sketch_2.addPoint(2.94215416, -0.19776944)
+SketchPoint_125.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_126 = Sketch_2.addPoint(3.08186912, -0.14932016)
+SketchPoint_126.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_127 = Sketch_2.addPoint(3.16691584, -0.10897832)
+SketchPoint_127.setAuxiliary(True)
+
+### Create SketchPoint
+SketchPoint_128 = Sketch_2.addPoint(3.2276728, -0.06052903999999999)
+SketchPoint_128.setAuxiliary(True)
+
+### Create SketchBSpline
+SketchBSpline_122_poles = [(3.256, 0),
+                           (3.255728567930323, 0.02938456749749511),
+                           (3.237689746218751, 0.07883011085368516),
+                           (3.176954566343984, 0.1360257431533082),
+                           (3.09688910651703, 0.1764418306600214),
+                           (3.00953671048185, 0.2267564781454451),
+                           (2.912432954503905, 0.2647167787382159),
+                           (2.815941388200049, 0.3014981358259439),
+                           (2.729751176299813, 0.3237194265020923),
+                           (2.646361992042657, 0.3453361685254134),
+                           (2.567955484940874, 0.3604379063520104),
+                           (2.483282044059514, 0.3692261528728723),
+                           (2.396825289419105, 0.3904099084997285),
+                           (2.297784821900362, 0.4005139744076952),
+                           (2.183002812158886, 0.4101339211003338),
+                           (2.05326355477229, 0.406032562950755),
+                           (1.921328555727838, 0.4113842334362396),
+                           (1.796156730600904, 0.3966591653819502),
+                           (1.686052998788443, 0.3907202481330517),
+                           (1.586299665611225, 0.3704286812906156),
+                           (1.487748341031549, 0.3544969076370629),
+                           (1.383393470307667, 0.3395093148076599),
+                           (1.273972616931005, 0.319325222403528),
+                           (1.160543506907297, 0.2933739438166694),
+                           (1.043520532273171, 0.2720319372399694),
+                           (0.9334339259119463, 0.2436955652001511),
+                           (0.833210329118078, 0.2180769093752324),
+                           (0.7362714839816442, 0.1969640452405135),
+                           (0.6330458179280327, 0.1725774416591901),
+                           (0.5198557830327111, 0.1446546999793175),
+                           (0.4120962578932688, 0.1207943460074061),
+                           (0.313244110318449, 0.09345858240073433),
+                           (0.2252529917480424, 0.07340982637625464),
+                           (0.1351983216375724, 0.05183680239637619),
+                           (0.07314877527059195, 0.03991202084524661),
+                           (-0.03534471365202863, -0.00840147666050696),
+                           (0.08989014461370692, 0.01974926691163458),
+                           (0.1516448171045691, 0.0236568477195267),
+                           (0.2482493443712883, 0.02534282868769613),
+                           (0.3411637589893189, 0.02324293986853048),
+                           (0.4423953890052463, 0.02659845418947896),
+                           (0.5462497541613646, 0.01581617151358379),
+                           (0.6475751330738458, 0.003347436114427953),
+                           (0.7481634943679742, -0.01319804142374542),
+                           (0.8516670763128179, -0.03483327454522876),
+                           (0.9584372564498741, -0.05226718363109152),
+                           (1.077516251399843, -0.09038361271993345),
+                           (1.202718995768721, -0.1160769351511452),
+                           (1.331521625664622, -0.1431911515298037),
+                           (1.451075975864637, -0.1739224918799187),
+                           (1.567818521312199, -0.2035675478361183),
+                           (1.687196967047543, -0.2240162678824165),
+                           (1.809973230769842, -0.2434430111950148),
+                           (1.936918886307194, -0.259024977788206),
+                           (2.066537414886297, -0.2713706822793528),
+                           (2.200309450461007, -0.2769425772780358),
+                           (2.328715391113886, -0.2806404486840122),
+                           (2.457661261585523, -0.2724299715025069),
+                           (2.575159863696419, -0.2635528807551016),
+                           (2.692927889590666, -0.2509748561459927),
+                           (2.81334838838169, -0.2298043740783547),
+                           (2.945545528527086, -0.1996213872365573),
+                           (3.065957107372579, -0.1573256758110601),
+                           (3.163151568975917, -0.114635786111929),
+                           (3.230025301011729, -0.0667293557622594),
+                           (3.251839356594632, -0.02382159971973897),
+                           (3.256, 0)
+                          ]
+SketchBSpline_122 = Sketch_2.addSpline(degree = 3, poles = SketchBSpline_122_poles, weights = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], knots = [0, 0.01183488863837179, 0.02319018649848563, 0.03559858893144933, 0.05144916515834002, 0.06759531467622243, 0.0815379341596944, 0.09700677492797637, 0.1068321569610141, 0.1195693666101132, 0.1322085557927938, 0.1443579416201434, 0.1587691279665199, 0.17609037125253, 0.1951577895815503, 0.2160169703364635, 0.2342490967534491, 0.2507056052742759, 0.2646118431448987, 0.2791077011690486, 0.2947823396709444, 0.3111417859997592, 0.3282046159595691, 0.3461398429174012, 0.3636238095657636, 0.3783618826153202, 0.3918018692786528, 0.4074107325669361, 0.4251844860013295, 0.4432460569026663, 0.4561791711061376, 0.4702697244163377, 0.4837214559733176, 0.4948377859291223, 0.5047442665271803, 0.514390439239358, 0.5287967600422183, 0.5400951120443203, 0.5549899587260146, 0.5704834338205, 0.584537279701169, 0.6010532448480169, 0.6155483198902286, 0.6295130832805996, 0.6477395111687876, 0.6632083519370696, 0.6845974067707581, 0.7041119934399064, 0.721308736302655, 0.7390824897370484, 0.7572531654218201, 0.7747391660376209, 0.7939534892917686, 0.8137003452650872, 0.8321903971419143, 0.8530516926114459, 0.8703550992317159, 0.8891841498048809, 0.9050749088751692, 0.9226079659764083, 0.9431244997359293, 0.9648828024586862, 0.9787328512217585, 0.9901668364115461, 1], multiplicities = [4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4])
+Sketch_2.setCoincident(SketchPoint_65.coordinates(), SketchBSpline_122.startPoint())
+Sketch_2.setCoincident(SketchPoint_65.coordinates(), SketchBSpline_122.endPoint())
+Sketch_2.setCoincident(SketchPoint_66.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_67.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_68.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_69.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_70.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_71.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_72.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_73.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_74.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_75.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_76.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_77.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_78.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_79.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_80.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_81.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_82.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_83.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_84.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_85.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_86.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_87.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_88.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_89.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_90.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_91.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_92.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_93.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_94.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_95.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_96.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_97.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_98.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_99.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_100.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_101.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_102.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_103.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_104.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_105.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_106.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_107.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_108.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_109.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_110.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_111.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_112.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_113.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_114.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_115.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_116.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_117.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_118.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_119.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_120.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_121.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_122.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_123.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_124.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_125.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_126.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_127.coordinates(), SketchBSpline_122.result())
+Sketch_2.setCoincident(SketchPoint_128.coordinates(), SketchBSpline_122.result())
+
+### Create SketchOffset
+SketchOffset_3 = Sketch_2.addOffset([SketchBSpline_122.result()], 0.01, False)
+[SketchBSpline_123, SketchBSpline_124, SketchBSpline_125, SketchBSpline_126, SketchBSpline_127, SketchBSpline_128, SketchBSpline_129, SketchBSpline_130, SketchBSpline_131, SketchBSpline_132, SketchBSpline_133, SketchBSpline_134, SketchBSpline_135, SketchBSpline_136, SketchBSpline_137, SketchBSpline_138, SketchBSpline_139, SketchBSpline_140, SketchBSpline_141, SketchBSpline_142, SketchBSpline_143, SketchBSpline_144, SketchBSpline_145, SketchBSpline_146, SketchBSpline_147, SketchBSpline_148, SketchBSpline_149, SketchBSpline_150, SketchBSpline_151, SketchBSpline_152, SketchBSpline_153, SketchBSpline_154, SketchBSpline_155, SketchBSpline_156, SketchBSpline_157, SketchBSpline_158, SketchBSpline_159, SketchBSpline_160, SketchBSpline_161, SketchBSpline_162, SketchBSpline_163, SketchBSpline_164, SketchBSpline_165, SketchBSpline_166, SketchBSpline_167, SketchBSpline_168, SketchBSpline_169, SketchBSpline_170, SketchBSpline_171, SketchBSpline_172, SketchBSpline_173, SketchBSpline_174, SketchBSpline_175, SketchBSpline_176, SketchBSpline_177, SketchBSpline_178, SketchBSpline_179, SketchBSpline_180, SketchBSpline_181, SketchBSpline_182, SketchArc_3] = SketchOffset_3.offset()
+
+### Create SketchOffset
+SketchOffset_4 = Sketch_2.addOffset([SketchBSpline_122.result()], 0.07000000000000001, False)
+[SketchBSpline_183, SketchBSpline_184, SketchBSpline_185, SketchBSpline_186, SketchBSpline_187, SketchBSpline_188, SketchBSpline_189, SketchBSpline_190, SketchBSpline_191, SketchBSpline_192, SketchBSpline_193, SketchBSpline_194, SketchBSpline_195, SketchBSpline_196, SketchBSpline_197, SketchBSpline_198, SketchBSpline_199, SketchBSpline_200, SketchBSpline_201, SketchBSpline_202, SketchBSpline_203, SketchBSpline_204, SketchBSpline_205, SketchBSpline_206, SketchBSpline_207, SketchBSpline_208, SketchBSpline_209, SketchBSpline_210, SketchBSpline_211, SketchBSpline_212, SketchBSpline_213, SketchBSpline_214, SketchBSpline_215, SketchBSpline_216, SketchBSpline_217, SketchBSpline_218, SketchBSpline_219, SketchBSpline_220, SketchBSpline_221, SketchBSpline_222, SketchBSpline_223, SketchBSpline_224, SketchBSpline_225, SketchBSpline_226, SketchBSpline_227, SketchBSpline_228, SketchBSpline_229, SketchBSpline_230, SketchBSpline_231, SketchBSpline_232, SketchBSpline_233, SketchBSpline_234, SketchBSpline_235, SketchBSpline_236, SketchBSpline_237, SketchBSpline_238, SketchBSpline_239, SketchBSpline_240, SketchBSpline_241, SketchBSpline_242, SketchArc_4] = SketchOffset_4.offset()
+model.do()
+
+### Create Wire
+Wire_4 = model.addWire(Part_1_doc, [model.selection("EDGE", "SketchBSpline_122")], False)
+
+### Create Wire
+Wire_5_objects = [model.selection("EDGE", "SketchBSpline_123"),
+                  model.selection("EDGE", "SketchBSpline_124"),
+                  model.selection("EDGE", "SketchBSpline_125"),
+                  model.selection("EDGE", "SketchBSpline_126"),
+                  model.selection("EDGE", "SketchBSpline_127"),
+                  model.selection("EDGE", "SketchBSpline_128"),
+                  model.selection("EDGE", "SketchBSpline_129"),
+                  model.selection("EDGE", "SketchBSpline_130"),
+                  model.selection("EDGE", "SketchBSpline_131"),
+                  model.selection("EDGE", "SketchBSpline_132"),
+                  model.selection("EDGE", "SketchBSpline_133"),
+                  model.selection("EDGE", "SketchBSpline_134"),
+                  model.selection("EDGE", "SketchBSpline_135"),
+                  model.selection("EDGE", "SketchBSpline_136"),
+                  model.selection("EDGE", "SketchBSpline_137"),
+                  model.selection("EDGE", "SketchBSpline_138"),
+                  model.selection("EDGE", "SketchBSpline_139"),
+                  model.selection("EDGE", "SketchBSpline_140"),
+                  model.selection("EDGE", "SketchBSpline_141"),
+                  model.selection("EDGE", "SketchBSpline_142"),
+                  model.selection("EDGE", "SketchBSpline_143"),
+                  model.selection("EDGE", "SketchBSpline_144"),
+                  model.selection("EDGE", "SketchBSpline_145"),
+                  model.selection("EDGE", "SketchBSpline_146"),
+                  model.selection("EDGE", "SketchBSpline_147"),
+                  model.selection("EDGE", "SketchBSpline_148"),
+                  model.selection("EDGE", "SketchBSpline_149"),
+                  model.selection("EDGE", "SketchBSpline_150"),
+                  model.selection("EDGE", "SketchBSpline_151"),
+                  model.selection("EDGE", "SketchBSpline_152"),
+                  model.selection("EDGE", "SketchBSpline_153"),
+                  model.selection("EDGE", "SketchBSpline_154"),
+                  model.selection("EDGE", "SketchBSpline_155"),
+                  model.selection("EDGE", "SketchBSpline_156"),
+                  model.selection("EDGE", "SketchBSpline_157"),
+                  model.selection("EDGE", "SketchBSpline_158"),
+                  model.selection("EDGE", "SketchBSpline_159"),
+                  model.selection("EDGE", "SketchBSpline_160"),
+                  model.selection("EDGE", "SketchBSpline_161"),
+                  model.selection("EDGE", "SketchBSpline_162"),
+                  model.selection("EDGE", "SketchBSpline_163"),
+                  model.selection("EDGE", "SketchBSpline_164"),
+                  model.selection("EDGE", "SketchBSpline_165"),
+                  model.selection("EDGE", "SketchBSpline_166"),
+                  model.selection("EDGE", "SketchBSpline_167"),
+                  model.selection("EDGE", "SketchBSpline_168"),
+                  model.selection("EDGE", "SketchBSpline_169"),
+                  model.selection("EDGE", "SketchBSpline_170"),
+                  model.selection("EDGE", "SketchBSpline_171"),
+                  model.selection("EDGE", "SketchBSpline_172"),
+                  model.selection("EDGE", "SketchBSpline_173"),
+                  model.selection("EDGE", "SketchBSpline_174"),
+                  model.selection("EDGE", "SketchBSpline_175"),
+                  model.selection("EDGE", "SketchBSpline_176"),
+                  model.selection("EDGE", "SketchBSpline_177"),
+                  model.selection("EDGE", "SketchBSpline_178"),
+                  model.selection("EDGE", "SketchBSpline_179"),
+                  model.selection("EDGE", "SketchBSpline_180"),
+                  model.selection("EDGE", "SketchBSpline_181"),
+                  model.selection("EDGE", "SketchBSpline_182"),
+                  model.selection("EDGE", "SketchArc_3_2")]
+Wire_5 = model.addWire(Part_1_doc, Wire_5_objects, False)
+
+### Create Wire
+Wire_6_objects = [model.selection("EDGE", "SketchBSpline_183"),
+                  model.selection("EDGE", "SketchBSpline_184"),
+                  model.selection("EDGE", "SketchBSpline_185"),
+                  model.selection("EDGE", "SketchBSpline_186"),
+                  model.selection("EDGE", "SketchBSpline_187"),
+                  model.selection("EDGE", "SketchBSpline_188"),
+                  model.selection("EDGE", "SketchBSpline_189"),
+                  model.selection("EDGE", "SketchBSpline_190"),
+                  model.selection("EDGE", "SketchBSpline_191"),
+                  model.selection("EDGE", "SketchBSpline_192"),
+                  model.selection("EDGE", "SketchBSpline_193"),
+                  model.selection("EDGE", "SketchBSpline_194"),
+                  model.selection("EDGE", "SketchBSpline_195"),
+                  model.selection("EDGE", "SketchBSpline_196"),
+                  model.selection("EDGE", "SketchBSpline_197"),
+                  model.selection("EDGE", "SketchBSpline_198"),
+                  model.selection("EDGE", "SketchBSpline_199"),
+                  model.selection("EDGE", "SketchBSpline_200"),
+                  model.selection("EDGE", "SketchBSpline_201"),
+                  model.selection("EDGE", "SketchBSpline_202"),
+                  model.selection("EDGE", "SketchBSpline_203"),
+                  model.selection("EDGE", "SketchBSpline_204"),
+                  model.selection("EDGE", "SketchBSpline_205"),
+                  model.selection("EDGE", "SketchBSpline_206"),
+                  model.selection("EDGE", "SketchBSpline_207"),
+                  model.selection("EDGE", "SketchBSpline_208"),
+                  model.selection("EDGE", "SketchBSpline_209"),
+                  model.selection("EDGE", "SketchBSpline_210"),
+                  model.selection("EDGE", "SketchBSpline_211"),
+                  model.selection("EDGE", "SketchBSpline_212"),
+                  model.selection("EDGE", "SketchBSpline_213"),
+                  model.selection("EDGE", "SketchBSpline_214"),
+                  model.selection("EDGE", "SketchBSpline_215"),
+                  model.selection("EDGE", "SketchBSpline_216"),
+                  model.selection("EDGE", "SketchBSpline_217"),
+                  model.selection("EDGE", "SketchBSpline_218"),
+                  model.selection("EDGE", "SketchBSpline_219"),
+                  model.selection("EDGE", "SketchBSpline_220"),
+                  model.selection("EDGE", "SketchBSpline_221"),
+                  model.selection("EDGE", "SketchBSpline_222"),
+                  model.selection("EDGE", "SketchBSpline_223"),
+                  model.selection("EDGE", "SketchBSpline_224"),
+                  model.selection("EDGE", "SketchBSpline_225"),
+                  model.selection("EDGE", "SketchBSpline_226"),
+                  model.selection("EDGE", "SketchBSpline_227"),
+                  model.selection("EDGE", "SketchBSpline_228"),
+                  model.selection("EDGE", "SketchBSpline_229"),
+                  model.selection("EDGE", "SketchBSpline_230"),
+                  model.selection("EDGE", "SketchBSpline_231"),
+                  model.selection("EDGE", "SketchBSpline_232"),
+                  model.selection("EDGE", "SketchBSpline_233"),
+                  model.selection("EDGE", "SketchBSpline_234"),
+                  model.selection("EDGE", "SketchBSpline_235"),
+                  model.selection("EDGE", "SketchBSpline_236"),
+                  model.selection("EDGE", "SketchBSpline_237"),
+                  model.selection("EDGE", "SketchBSpline_238"),
+                  model.selection("EDGE", "SketchBSpline_239"),
+                  model.selection("EDGE", "SketchBSpline_240"),
+                  model.selection("EDGE", "SketchBSpline_241"),
+                  model.selection("EDGE", "SketchBSpline_242"),
+                  model.selection("EDGE", "SketchArc_4_2")]
+Wire_6 = model.addWire(Part_1_doc, Wire_6_objects, False)
+
+### Create Filling
+Filling_1 = model.addFilling(Part_1_doc, [model.selection("WIRE", "Wire_1_1"), model.selection("WIRE", "Wire_4_1")], "curve_info", 2, 12, 0, 1e-06, 1e-06, False)
+
+### Create Filling
+Filling_2 = model.addFilling(Part_1_doc, [model.selection("WIRE", "Wire_2_1"), model.selection("WIRE", "Wire_5_1")], "curve_info", 2, 12, 0, 1e-06, 1e-06, False)
+
+### Create Filling
+Filling_3 = model.addFilling(Part_1_doc, [model.selection("WIRE", "Wire_3_1"), model.selection("WIRE", "Wire_6_1")], "curve_info", 2, 5, 0, 0.001, 0.001, False)
+
+model.end()
+
+from GeomAPI import *
+
+model.testNbResults(Filling_1, 1)
+model.testNbSubResults(Filling_1, [0])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.SOLID, [0])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.FACE, [1])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.EDGE, [4])
+model.testNbSubShapes(Filling_1, GeomAPI_Shape.VERTEX, [8])
+model.testResultsAreas(Filling_1, [28.94082894])
+
+model.testNbResults(Filling_2, 1)
+model.testNbSubResults(Filling_2, [0])
+model.testNbSubShapes(Filling_2, GeomAPI_Shape.SOLID, [0])
+model.testNbSubShapes(Filling_2, GeomAPI_Shape.FACE, [1])
+model.testNbSubShapes(Filling_2, GeomAPI_Shape.EDGE, [4])
+model.testNbSubShapes(Filling_2, GeomAPI_Shape.VERTEX, [8])
+model.testResultsAreas(Filling_2, [29.198793093])
+
+model.testNbResults(Filling_3, 1)
+model.testNbSubResults(Filling_3, [0])
+model.testNbSubShapes(Filling_3, GeomAPI_Shape.SOLID, [0])
+model.testNbSubShapes(Filling_3, GeomAPI_Shape.FACE, [1])
+model.testNbSubShapes(Filling_3, GeomAPI_Shape.EDGE, [4])
+model.testNbSubShapes(Filling_3, GeomAPI_Shape.VERTEX, [8])
+model.testResultsAreas(Filling_3, [30.74501422428])
+
+assert(model.checkPythonDump())
old mode 100644 (file)
new mode 100755 (executable)
index f5a5b5e..7b68894
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -92,7 +92,7 @@ from GeomAPI import *
 
 # check fillings
 REF_DATA = [(Filling_1, 719.149788883378505488508380949),
-            (Filling_2, 910.894041506332769131404347718),
+            (Filling_2, 910.894530912501409147807862610),
             (Filling_3, 719.149788883378505488508380949),
             (Filling_4, 910.894530912501409147807862610)]
 for ref in REF_DATA:
@@ -102,7 +102,7 @@ for ref in REF_DATA:
     model.testNbSubShapes(ref[0], GeomAPI_Shape.FACE, [1])
     model.testNbSubShapes(ref[0], GeomAPI_Shape.EDGE, [4])
     model.testNbSubShapes(ref[0], GeomAPI_Shape.VERTEX, [8])
-    model.testResultsVolumes(ref[0], [ref[1]])
+    model.testResultsAreas(ref[0], [ref[1]])
 
 model.end()
 
index 52679f4347015f22f11cde9ce8a051bcf218ad19..94e305ea46a7caf2703b7eda7dd045b0165746c1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -56,7 +56,7 @@ assert(Filling_1.feature().error() == "")
 from GeomAPI import GeomAPI_Shape
 model.testNbResults(Filling_1, 1)
 model.testNbSubShapes(Filling_1, GeomAPI_Shape.FACE, [1])
-model.testResultsVolumes(Filling_1, [3500])
+model.testResultsAreas(Filling_1, [3500])
 
 model.end()
 
index 9a0464d1b390e7fe0e3c034d82f2028f97691060..bb3cba6fbfef172f373984547164dec71a6c74c8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8e38c7c340f4fbe86ef4230a4184b94fd086322e..6548f54960b5c6217239279e1a22cca216f58c6b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 876d6fd3f7e20446a86c121d4b53de458d527ccd..9ef895f2869bf055a2050f7aa801e9e8796b23c7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5bb1ad4110919ac5910804d35dc8bf2f40006fc7..ae0eb562c6d0a601e71768458f58368f69ac4a38 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0488bc9b474b9aae0039012a1520055054f6139a..0b08a4c82918c92873c2e33f104fe7af2f917a60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5133e13e4c36e5f0f2754ea93168f961d271524d..d08baf1772ffebad62818c69d1a0ddaeaadf055d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e6d2debc4bb84ff94418d2ae853b0408676187b6..fe668f1fbc373de8b8bfb95842765afb1b6a8c89 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7de32b769682d9e1fff91bbd351c6c9cc8272989..ebf7deb3d735eb5d1570384df4fdb48cae801456 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dd43048cbab5f42cb27d2bd797f676b08d96c83b..25923711865517f25f7f2dc766d4907e1097b488 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f81a584e5a83110a4a278a4cce780933220af787..97a0f58e6e5ea8a18a6d09e3898635fcd964b258 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 37e6be6368a81f944a463944467bb7efe5c45445..8b49fb343d10b955ae32482d5af6c90a3fdd610c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 63fede6e210d5d798d66fdaf90f671339eefdc20..d413b56180648d6ed87212c4eef3822ed68fed39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 19ac61ddd78979786cf8f99104c70c61ed40608a..30b1bf4515b063bef05262a57feded03f646b96f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c201ae8cdd9706807b916616d62d246c80540556..9180d5572d7777f13bc02d6d1f30cf0d218bce41 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5d2fec56114179674948e7956326abc00af71687..8ace49851c196623eadb85a06fe00f1d5cc247a8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 138cecbe1ab8d90eec449a6e66294c71d1646cea..e9d6839be69ba043d88ac6ee4442a71b1397dff2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f78512a855ee1a23c52d4c5a50623031697262e4..c7db10fda2169fea227dc16cd60c2311634a9478 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d464af1b120cff22aaf802e38cce3664bf6de0b5..a559b4db8e91ac2c3cc92c6cbc40d548607839fc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cc6020f426d2c4dfdddcdd7fd5e9cb9139db151f..2f2bc3e9d4e219de78398d8b3f7b8c37b6aaaf19 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -44,6 +44,6 @@ model.testNbResults(Face_1, 1)
 model.testNbSubShapes(Face_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Face_1, GeomAPI_Shape.EDGE, [3])
 model.testNbSubShapes(Face_1, GeomAPI_Shape.VERTEX, [6])
-model.testResultsVolumes(Face_1, [441.0539215686274])
+model.testResultsAreas(Face_1, [441.0539215686274])
 
 assert(model.checkPythonDump())
index 3bd558fec0cdf390c55239989d33302ec97b4730..91d2dd31a55541875e12fe81e8a57521ab74bcbf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -44,6 +44,6 @@ model.testNbResults(Face_1, 3)
 model.testNbSubShapes(Face_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Face_1, GeomAPI_Shape.EDGE, [3, 2, 2])
 model.testNbSubShapes(Face_1, GeomAPI_Shape.VERTEX, [6, 4, 4])
-model.testResultsVolumes(Face_1, [441.0539215686274, 628.318530717958, 628.318530717958])
+model.testResultsAreas(Face_1, [441.0539215686274, 628.318530717958, 628.318530717958])
 
 assert(model.checkPythonDump())
index 42f42aebc3378e6c838ccbb49c0e1284715890ff..e3f9a302c3380a70c33de13682a5d2115f1faf38 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index daa38a4c8c3e49e875e7c0d84137ee71fd419a85..c77187f6c221bdb49eaf1a85074e50eeb264a4bd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f90947becfeb576c0f11d7520243beb8c6ca992d..789b73b014d02990bf9128eac4e50f40fa3e3325 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 03bb89813a850406045198001916cd2f3fdadd5f..faca7a0bb76597f979d437be6c8f7440f5ec7bc2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0fe53ff8c8d63ae0099392901bcdcfa736e954ab..06f568b941a2dc6bba97d5f5180933634d383d30 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2fae36742489457c9b6ceb41c36b7604dd851da3..a616c272adb292232b1a1a620f32f40a4ed02ecc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,6 +19,8 @@
 
 from salome.shaper import model
 
+import math
+
 # Create document
 model.begin()
 partSet = model.moduleDocument()
@@ -172,6 +174,22 @@ model.testHaveNamingSubshapes(Interpolation_9, model, Part_3_doc)
 model.end()
 
 # =============================================================================
-# Test 12. Check Python dump
+# Test 12. Create curve using an analytical expression
+# =============================================================================
+Part_5 = model.addPart(partSet)
+Part_5_doc = Part_5.document()
+
+Interpolation_11 = model.addInterpolation(Part_5_doc, "sin(t)","cos(t)","t", 0, 100, 100)
+model.do()
+model.testNbResults(Interpolation_11, 1)
+myDelta = 1e-6
+Props = model.getGeometryCalculation(Part_5_doc,model.selection("EDGE", "Interpolation_1_1"))
+model.do()
+aRefLength = 141.32010978124
+aResLength = Props[0]
+assert (math.fabs(aResLength - aRefLength) < myDelta), "The length is wrong: expected = {0}, real = {1}".format(aRefLength, aResLength)
+model.end()
+# =============================================================================
+# Test 13. Check Python dump
 # =============================================================================
 assert(model.checkPythonDump(model.ModelHighAPI.CHECK_NAMING))
index 921f810bb0090f47602eb597339859ce84192974..b70a1091c0a146de7deae1ca7017cd2a7252c372 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7db9c0613b9d8617943ce00a92380d21bbcc6aa3..1c733d9ef0ae967a355d2350a97163313fed9bcd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 552fcb8ce20e8a1d7906f2c0369c5c0c98e2db3e..fa03c8b8167acda207fe56ef062c488c33b7e3e9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -44,6 +44,6 @@ model.testNbResults(Shell_1, 1)
 model.testNbSubShapes(Shell_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Shell_1, GeomAPI_Shape.EDGE, [3])
 model.testNbSubShapes(Shell_1, GeomAPI_Shape.VERTEX, [6])
-model.testResultsVolumes(Shell_1, [441.0539215686274])
+model.testResultsAreas(Shell_1, [441.0539215686274])
 
 assert(model.checkPythonDump())
index 147ba773d459677e5cd10b2d788e4d05708a0c92..d028b56589adb10773dec29f8b0449aff8c62da5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -44,6 +44,6 @@ model.testNbResults(Shell_1, 2)
 model.testNbSubShapes(Shell_1, GeomAPI_Shape.FACE, [1, 2])
 model.testNbSubShapes(Shell_1, GeomAPI_Shape.EDGE, [3, 4])
 model.testNbSubShapes(Shell_1, GeomAPI_Shape.VERTEX, [6, 8])
-model.testResultsVolumes(Shell_1, [441.0539215686274, 1256.637061435917])
+model.testResultsAreas(Shell_1, [441.0539215686274, 1256.637061435917])
 
 assert(model.checkPythonDump())
index d0a4f864017cd030094f025d261e9dbb78a26f5e..89965dc47e24f6b7353c8b0be2276d42016beaec 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f36b009ef85d85bf7ff4bebe88d165ae042016ca..32bece9f1e9bf75b6134e25dbd299fd70562f1b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e0a5a11b4f92effaaf158a9e7a1ac89f35b1f4b4..33ea0b0ad67379be6c24e8e18e8b629fab935bad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a347145afcc71bb5296dd78ab8f6a312cb89acb2..53f3dead3300670eab2a9caa966a53bb779dd66f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fe9c1c2ff3dcfdb990aa5507ad16b3cd58c702b5..91d4162866278dc129a588741f1f6210f95f8b7d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4c3711f1689c19b49d104c99999f6c6b7f1c2cf5..66acd16b67f21bfd4586f171e235e7b5d29d2581 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f4b033c40748c5c75f033290ea9f675bcedb07ea..13a8d7825e8f2eca04b1448da6dfd717657fc7f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc5878cff6635a828a9b40a272227f8ed6421c75..0d1de047211c8ec4209915e9ab62b9f88a883118 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 19cdeee6d4adf27aa05b7dbaecd6b76494778da2..cc6a12a24e0be46c61742a07cc717e6cb3e04b0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3700058691a791cad2d5ea4bce66418c4ae766bd..594e6eb4e194e01b44377c8f0fec4f620ce05a0a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index eb57aa6250e8c28917f5fd465054eca0b7e8377f..a75e3daa5cf2196019ace9a51011abd496355db0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4d44fdfb9097644e2f914dff8c94b1a40a0cbac6..54708452726ccdbc1e9733f7cfd89c778ec134a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 511ad786cd2a7d316c7c44d60d7405e184808c17..8a2fc2167e67e99ae0e3617d0e5414241fef983d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f506a878f89c01faf379454150f3706e9c94f56b..878a6176a44fa57421609e7e3205b69a1fda0c99 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a70e1262975e13b0866cf07f7205ee1e30fec9a5..9ede048fd8a1a90712cca52098f220063507defd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9674299fd0f088ff8390eedd0264fe38c0dfb232..a53101df217e1856c700e7cb29b05fa08218bd94 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/BuildPlugin/doc/TUI_interpolationAnalytical.rst b/src/BuildPlugin/doc/TUI_interpolationAnalytical.rst
new file mode 100644 (file)
index 0000000..137be14
--- /dev/null
@@ -0,0 +1,12 @@
+   
+  .. _tui_create_interpolation_analytical:
+
+Create Interpolation analytical
+===============================
+
+.. literalinclude:: examples/interpolationAnalytical.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/interpolationAnalytical.py>` 
+   
diff --git a/src/BuildPlugin/doc/TUI_interpolationBySelection.rst b/src/BuildPlugin/doc/TUI_interpolationBySelection.rst
new file mode 100644 (file)
index 0000000..6e5a6a5
--- /dev/null
@@ -0,0 +1,12 @@
+
+  .. _tui_create_interpolation_by_selection:
+
+Create Interpolation by selection
+=================================
+
+.. literalinclude:: examples/interpolation.py
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/interpolation.py>` 
+   
diff --git a/src/BuildPlugin/doc/TUI_interpolationFeature.rst b/src/BuildPlugin/doc/TUI_interpolationFeature.rst
deleted file mode 100644 (file)
index cfcaf78..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-
-  .. _tui_create_interpolation:
-
-Create Interpolation
-====================
-
-.. literalinclude:: examples/interpolation.py
-    :linenos:
-    :language: python
-
-:download:`Download this script <examples/interpolation.py>` 
-   
diff --git a/src/BuildPlugin/doc/examples/interpolationAnalytical.py b/src/BuildPlugin/doc/examples/interpolationAnalytical.py
new file mode 100644 (file)
index 0000000..f39fe81
--- /dev/null
@@ -0,0 +1,9 @@
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Interpolation_1 = model.addInterpolation(Part_1_doc, "5*sin(t)","5*cos(t)","t*0.2", 0, 25, 100)
+model.do()
+model.end()
diff --git a/src/BuildPlugin/doc/images/CreateInterpolationAnalytical.png b/src/BuildPlugin/doc/images/CreateInterpolationAnalytical.png
new file mode 100644 (file)
index 0000000..2daa945
Binary files /dev/null and b/src/BuildPlugin/doc/images/CreateInterpolationAnalytical.png differ
index 14967cf1f6b404c3ad91a8b446f90c7a6253bc62..e03f336c0e03436820032a351b6751a187e8195d 100644 (file)
Binary files a/src/BuildPlugin/doc/images/Interpolation.png and b/src/BuildPlugin/doc/images/Interpolation.png differ
diff --git a/src/BuildPlugin/doc/images/InterpolationAnalytical.png b/src/BuildPlugin/doc/images/InterpolationAnalytical.png
new file mode 100644 (file)
index 0000000..472c4db
Binary files /dev/null and b/src/BuildPlugin/doc/images/InterpolationAnalytical.png differ
diff --git a/src/BuildPlugin/doc/images/feature_interpolation_analytical.png b/src/BuildPlugin/doc/images/feature_interpolation_analytical.png
new file mode 100644 (file)
index 0000000..a47790f
Binary files /dev/null and b/src/BuildPlugin/doc/images/feature_interpolation_analytical.png differ
diff --git a/src/BuildPlugin/doc/images/feature_interpolation_by_selection.png b/src/BuildPlugin/doc/images/feature_interpolation_by_selection.png
new file mode 100644 (file)
index 0000000..e5c5374
Binary files /dev/null and b/src/BuildPlugin/doc/images/feature_interpolation_by_selection.png differ
index 2da696243c2e9bb93d8913a1961882ce8f1dd9f1..2840693e180c7fec2c09d9ca8cfb246bff16498d 100644 (file)
@@ -3,19 +3,35 @@
 Interpolation
 =============
 
-Interpolation feature creates a curve (edge) using vertices already existing in other objects.
+Interpolation feature creates an interpolated curve (edge) based on existing points/vertices or based on analytical mathematical expression.
 
 To create an interpolation in the active part:
 
 #. select in the Main Menu *Build - > Interpolation* item  or
 #. click |feature_interpolation.icon| **Interpolation** button in the toolbar
 
-The following property panel will be opened:
+There are two creation modes of an interpolation:
+
+.. figure:: images/feature_interpolation_by_selection.png   
+   :align: left
+   :height: 24px
+
+Interpolation by selection
+
+.. figure:: images/feature_interpolation_analytical.png   
+   :align: left
+   :height: 24px
+
+Interpolation analytical
+
+Interpolation by selection
+""""""""""""""""""""""""""
+The property panel is shown below.
 
 .. figure:: images/Interpolation.png
   :align: center
 
-  Create an interpolation
+  Create an interpolation by selection
 
 Select one or several vertices or points in the viewer.
 
@@ -59,4 +75,54 @@ The result of the operation will be a curve created from the selected shapes:
 
   Result of the operation.
 
-**See Also** a sample TUI Script of :ref:`tui_create_interpolation` operation.
+**See Also** a sample TUI Script of :ref:`tui_create_interpolation_by_selection` operation.
+
+Interpolation analytical
+""""""""""""""""""""""""
+
+The property panel is shown below.
+
+.. figure:: images/InterpolationAnalytical.png
+  :align: center
+
+  Create an interpolation analytical
+
+- **Curves parameters** panel allows to define the mathematical expression for creating the interpolated curve.
+   - **X(t) equation** define the expression of X with t variable.
+   - **Y(t) equation** define the expression of Y with t variable.
+   - **Z(t) equation** define the expression of Z with t variable.
+
+- **Min t** define the minimun of t.
+
+- **Max t** define the maximum of t.
+
+- **Number of steps** define the number of steps.
+
+**Apply** button creates an interpolation.
+
+**Cancel** button cancels the operation. 
+
+**TUI Commands**:
+
+.. py:function:: model.addInterpolation(Part_doc, xt, yt, zt, mint, maxt, nbSteps)
+
+    :param part: The current part object.
+    :param string: Expression of x.
+    :param string: Expression of y.
+    :param string: Expression of z.
+    :param number: Minimum value of t.
+    :param number: Maximum value of t.
+    :param number: Number of steps. 
+    :return: Result object.
+
+Result
+""""""
+
+The result of the operation will be a curve created from analytical expressions for x,y and z as functions of variable t:
+
+.. figure:: images/CreateInterpolationAnalytical.png
+  :align: center
+
+  Result of the operation.
+
+**See Also** a sample TUI Script of :ref:`tui_create_interpolation_analytical` operation.
diff --git a/src/BuildPlugin/icons/feature_interpolation_analytical.png b/src/BuildPlugin/icons/feature_interpolation_analytical.png
new file mode 100644 (file)
index 0000000..a47790f
Binary files /dev/null and b/src/BuildPlugin/icons/feature_interpolation_analytical.png differ
diff --git a/src/BuildPlugin/icons/feature_interpolation_by_selection.png b/src/BuildPlugin/icons/feature_interpolation_by_selection.png
new file mode 100644 (file)
index 0000000..e5c5374
Binary files /dev/null and b/src/BuildPlugin/icons/feature_interpolation_by_selection.png differ
index 5a0acee2fed3d086753912d7314983c60f264d3d..fed9ed99d3c0e2328d47abcdf321c967cd9277ca 100644 (file)
@@ -1,32 +1,67 @@
 <source>
-  <multi_selector id="base_objects"
-                  label="Points and vertices:"
-                  tooltip="Select points or vertices objects."
-                  shape_types="vertices"
-                  concealment="true">
-    <validator id="GeomValidators_DifferentShapes"/>
-  </multi_selector>
-  <boolvalue id="reorder" label="Reorder" tooltip="Changes the order of points to construct the shortest curve." default="false"/>
-  <optionalbox id="closed" title="Closed" tooltip="Makes the curve closed or not." default="false"
-               has_frame="false" enable_on_check="false">
-    <optionalbox id="use_tangents" title="Tangents" default="false">
-      <shape_selector id="tangent_start"
-                      icon="icons/Features/axis.png"
-                      label="Start"
-                      tooltip="Select vector tangent to the start of curve"
-                      shape_types="edge"
-                      default="&lt;start&gt;">
-        <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
-      </shape_selector>
-      <shape_selector id="tangent_end"
-                      icon="icons/Features/axis.png"
-                      label="End"
-                      tooltip="Select vector tangent to the end of curve"
-                      shape_types="edge"
-                      default="&lt;end&gt;">
-        <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
-      </shape_selector>
-    </optionalbox>
-  </optionalbox>
-  <validator id="GeomValidators_MinObjectsSelected" parameters="base_objects,2"/>
+  <toolbox id="interpolation_method">
+    <box id="by_selection" 
+         title="Curve by selection"
+         icon="icons/Build/feature_interpolation_by_selection.png">
+      <multi_selector id="base_objects"
+                      label="Points and vertices:"
+                      tooltip="Select points or vertices objects."
+                      shape_types="vertices"
+                      concealment="true">
+        <validator id="GeomValidators_DifferentShapes"/>
+      </multi_selector>
+      <boolvalue id="reorder" label="Reorder" tooltip="Changes the order of points to construct the shortest curve." default="false"/>
+      <optionalbox id="closed" title="Closed" tooltip="Makes the curve closed or not." default="false"
+                  has_frame="false" enable_on_check="false">
+        <optionalbox id="use_tangents" title="Tangents" default="false">
+          <shape_selector id="tangent_start"
+                          icon="icons/Features/axis.png"
+                          label="Start"
+                          tooltip="Select vector tangent to the start of curve"
+                          shape_types="edge"
+                          default="&lt;start&gt;">
+            <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
+          </shape_selector>
+          <shape_selector id="tangent_end"
+                          icon="icons/Features/axis.png"
+                          label="End"
+                          tooltip="Select vector tangent to the end of curve"
+                          shape_types="edge"
+                          default="&lt;end&gt;">
+            <validator id="GeomValidators_ShapeType" parameters="empty,line"/>
+          </shape_selector>
+        </optionalbox>
+      </optionalbox>
+      <validator id="GeomValidators_MinObjectsSelected" parameters="base_objects,2"/>
+    </box>
+    <box id="analytical"
+         title="Curve analytical"
+         icon="icons/Build/feature_interpolation_analytical.png">
+      <groupbox id="curves_parameters" title="Curves parameters">
+        <stringvalue id="xt" label="X(t) equation">
+            <validator id="BuildPlugin_ValidatorExpressionInterpolation"/>
+          </stringvalue>
+        <stringvalue id="yt" label="Y(t) equation">
+          <validator id="BuildPlugin_ValidatorExpressionInterpolation"/>
+        </stringvalue>
+        <stringvalue id="zt" label="Z(t) equation">
+          <validator id="BuildPlugin_ValidatorExpressionInterpolation"/>
+        </stringvalue>
+        <doublevalue id="mint"
+                     label="Min t"
+                     default="0">
+        </doublevalue>
+        <doublevalue id="maxt"
+                     label="Max t"
+                     default="100">
+        </doublevalue>
+        <integervalue id="numstep"
+                      label="Number of steps"
+                      min="0"
+                      default="10">
+          <validator id="GeomValidators_Positive"/>
+        </integervalue>
+      </groupbox>
+    </box>
+  </toolbox>
 </source>
diff --git a/src/BuildPlugin/tests.set b/src/BuildPlugin/tests.set
new file mode 100644 (file)
index 0000000..fde2035
--- /dev/null
@@ -0,0 +1,74 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+               TestVertex.py
+               TestVertex_ErrorMsg.py
+               TestVertex_WholeSketch_1.py
+               TestVertex_WholeSketch_2.py
+               TestEdge.py
+               TestEdge_ByPoints.py
+               TestEdge_ErrorMsg.py
+               TestEdge_WholeSketch_1.py
+               TestEdge_WholeSketch_2.py
+               TestEdge_WholeSketch_3.py
+               TestEdge_WholeSketch_4.py
+               TestWire.py
+               TestWire_ErrorMsg.py
+               TestWire_WholeSketch_1.py
+               TestWire_WholeSketch_2.py
+               TestWire_WholeSketch_3.py
+               TestWire_WholeSketch_4.py
+               TestWire_WholeSketch_5.py
+               TestWire_WholeSketch_6.py
+               TestPolyline.py
+               TestInterpolation.py
+               TestFace.py
+               TestFace_ErrorMsg.py
+               TestFace_WholeSketch_1.py
+               TestFace_WholeSketch_2.py
+               TestShell.py
+               TestShell_WholeSketch_1.py
+               TestShell_WholeSketch_2.py
+               TestSolid.py
+               TestSolid_ErrorMsg.py
+               TestCompSolid.py
+               TestCompound.py
+               TestCompound_ErrorMsg.py
+               TestCompound_History.py
+               TestSubShapes.py
+               TestSubShapes_ErrorMsg.py
+               TestFilling.py
+               TestFilling_ByEdges.py
+               TestFilling_ByWires.py
+               TestFilling_Mixed.py
+               TestFilling_ErrorMsg.py
+               Test1920.py
+               Test2398.py
+               Test2409.py
+               Test2415.py
+               Test2439.py
+               Test2454.py
+               Test3125.py
+               Test3271.py
+               Test19056.py
+               Test20469.py
+               Test20513_1.py
+               Test20513_2.py
+)
\ No newline at end of file
index c4e4606f1828eba179801efde8eff81784fa62aa..b52f407b3bccae657052c89897da31d173f3b119 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
 
 SET(COMPONENT_NAME SHAPER)
+set(SALOME_TEST_LABEL_ADV SHAPR_ADV)
 
 # Add all test subdirs
 SUBDIRS(ConnectorAPI
         HDFs
+        FeaturesPlugin
+        ConstructionPlugin
+        SketchPlugin
+        ModelAPI
+        FiltersPlugin
+        CollectionPlugin
+        BuildPlugin
+        ExchangePlugin
+        PythonAPI
+        GeomAPI
+        ModelHighAPI
+        ParametersPlugin
+        PythonAddons
+        SketchAPI
+        ConstructionAPI
+        PartSetAPI
+        GeomDataAPI
+        Config
+        ExchangeAPI
+        ModelGeomAlgo
+        Locale
+        test_API
 )
index ea0383b90e578ef8e9a675aa090dc10341703dad..d666993865509327e560a5e75bff29097b21154a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 56d6ef3c397ae348c26316f3e881292d9b0f016f..a8e4eef79a9809b1917c22ab8cee0956347d6d6d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6d19f650fb1cc8d801389b66a6c99e6d3523b3a7..9bfa88e2f110fdf6de65b1cf223e5b6b3b5f0eca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c1333c060f22a39776b7f7296f06b18b0596d950..eb5ff0e27a142754a08e65b86e095dcb569eb04f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 971197397706484a610320dea318474b4a1c4d5f..bf513f3a5931de38c709446cb594ac6031988767 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bcf7ae02524bafa327660ef6a35fdb811405832a..4c35243b3d63c66797e10068a11d1908c982bcec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a9f10acbf2b1b567e0cb823b6296b409af1424b0..058a342af05b1f02ff50777e9a94b87abd10353d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fa64ad74a04c29b34b8fdd4ce8fbeaf18ca31917..dafd9a7b958d0ecdc6013cf9fea255aec36e5bf0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e59c31f5725a9710f777f0a4605c49b92b4785e2..4ba42468704a4681a5637650391df58768151595 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 07c34658d0f68a293136d139f7486c3e2d289373..b26594469b4b48292ff3a7fa1e6e974bac904e9d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 37539cc0d73a65f9745832215c2e7599e7a126b7..d05e9e37bf299ab4086ff4af009f5156f98ea7b6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a45c630de2398cb20c4ff2e4af0b00c3037a0211..edf08d7a886338c8712e8f92c382c502f05360bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 630c4c074ec3d875c1266a8f93fe50a94d616efe..7f3d165eac0bf24b2268f99ac70d71c8cd53c44e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 21b3fbe075b445e27af08c97f9f8f09c5c1852a6..b71931e4e660891838b51e8581441ccfc426c3a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -119,56 +119,23 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Collection)
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
-ADD_UNIT_TESTS(
-               TestGroup.py
-               TestGroup2.py
-               TestField.py
-               TestGroup1799.py
-               TestGroupMove01.py
-               TestGroupMove02.py
-               TestGroupMove03.py
-               TestGroupMove04.py
-               TestGroupMove05.py
-               TestGroupMove06.py
-               TestGroupMove07.py
-               TestGroupMove08.py
-               TestGroupMove09.py
-               TestGroupMove10.py
-               TestGroupMove11.py
-               TestGroupMove12.py
-               TestGroupMove13.py
-               TestGroupMove14.py
-               TestGroupMove15.py
-               TestGroupMove16.py
-               TestGroupMove17.py
-               TestGroupMove18.py
-               TestGroupMove19.py
-               TestGroupMove20.py
-               TestGroupMove21.py
-               TestGroupMove22.py
-               TestGroupMove23.py
-               TestGroupMove24.py
-               TestGroupMove25.py
-               TestGroupMove26.py
-               TestGroupShareTopology.py
-               TestGroupAddition.py
-               TestGroupAddition_Error.py
-               TestGroupIntersection.py
-               TestGroupIntersection_Error.py
-               TestGroupSubstraction.py
-               TestGroupSubstraction2.py
-               TestGroupSubstraction_Error1.py
-               TestGroupSubstraction_Error2.py
-               Test2977.py
-               TestGroupWholeResult1.py
-               TestGroupWholeResult2.py
-               Test3031.py
-               TestGroupWholeFeature1.py
-               TestGroupWholeFeature2.py
-               TestGroupMoveAndSplit1.py
-               TestGroupMoveAndSplit2.py
-               TestGroupMoveAndSplit3.py
-               TestGroupMoveAndSplit4.py
-               Test3114.py
-               Test18739.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/CollectionPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/CollectionPlugin/CTestTestfileInstall.cmake b/src/CollectionPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 587eef9a9cf81bf07608758ab90058a3974e680f..c3de5b2ac925f634f7ab1fc3a0bc3f433d5ad921 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd90fc09f4a87f147fa991ac76330293ad865f98..0f76a1e764b385255e8a058598aadb73693b2476 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5556d4d40fa2713fed5ffc536389637f95f94e8f..7d02a0935fdc4ede0fa30349553be5f540b17838 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4803dadd754a8c8dc7963f7cdb803d3e42c3bd38..75493a62128d1f45e021a1ec3d86ef7238eadc3a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f5b7cf16ca8fe9a0403d09cbc6f340ffe4ca707..91430c4fcf25b102f51f635347084fba05291812 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4799bd3b032905fbef941f8fcaa5e0a9af5ac69a..0f08e62332e218dcfa32ff1ca41f54b50f7af758 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0af70112037899d7891b72432ff693d56bed603b..dfb30b632e1bf31ed783d1afe0a4e30984a3ca2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 487bf7d033ddf4301fdb1ac2bdb9629a90c47ebb..cb73b4f4dfeaad85b77ab641f1c0f468f2c074a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7de7930f4a1b2eb869c49f08646b4ca5ae72721f..8363438d9148221ea25933859ffa26f160ebb2bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4556f500ab548f23cfafb27c9318886ed43dee5f..b1302675ed0819aa438eed37ead9a035591fc926 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 886226113a4b3d7cf243ac8c95aca994a8c9d293..6e20d5c84d794ad04e5452b79ea48c1a759d6f24 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index adb50d5553939792f619b640bce2dc5573fc7251..f825ed280b0f12e2bc1274bded4a50e47966ac82 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7d352ed46fa2f67bcbb30e3f594dc58bc699eeed..86f3ed2606807ebb1f037b6d0360465d8fe6f696 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aea358c62c5198b552fcd82c3d44bf8dcf6eb169..faed9733ec07776877544799cc00ef74d9a87f1e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 749d346796ab7ba7579063ae91fb716f33f7717d..ceb94f7a2fdbeedab571243cb05529af5a8e68e1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cf55ae31c59c0b63477e7927e9c2f3d425e6c7b0..7cee37457c819bd032ad3281def8418a3316bb36 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 462c9df4a184f078a4f4b1b6f8536615f66e0bdf..1e90232868b891d5d825d3a48c404f0e0f074771 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c01cd8344eb3ec9457353e919aa665d50bd47e21..ed2f15fc04ddce84384d2f0d9f32ce1c2baf58f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e6213be510a8c87ba8180d19b46166d04fe0af6..07957c882bd49a5e0ddbec8d81224afd145e0a2b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6cbc53a7efd105ac9e1079b198ab45a10999f243..3ac1445f3fbc95294fc8985c948cdee76b8090ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f9785065c021d2c2338d3c2c88ec711ffd259482..bd6fa9cc8e0b2f64dbd9bd4b7f6a09350c13b29c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d20dd08201a1e053c738854eae4b4c07e521d288..3c9a4cace7d1f0389f3ad3c3d05865c49aafb894 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4cd7c5d85e3364838b7bf3c51840318eb4863eec..ea0499c8e96f5fc67c6930de3dc9eca163588b27 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -39,6 +39,6 @@ model.testNbSubShapes(GroupSubstraction_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(GroupSubstraction_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(GroupSubstraction_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(GroupSubstraction_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(GroupSubstraction_1, [200])
+model.testResultsAreas(GroupSubstraction_1, [200])
 
 assert(model.checkPythonDump())
index 8f0c752ede377511b82366d38907ae5711e8a10b..395b95d53fe65e6f42cf293df5f5b42e9a2e5667 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 61cb6eefeb185d733ed3a62f1bc6e1a31eb06867..d8fc0ae9716f52a3114f75649d8548ea0453fd20 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 93bc30144e682b1933e97ecc491584fb1ea25a1d..4c47f48e3ce0b333b821ee8cfa18550f046fdb5f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7a766c03f5b018e741ceb98034a3be0795230caf..cbb9033dc45e122065e58f323c980afba49ca8eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 478ed5d615c15c8b5516419fbbbe573d7a460ec3..923f7ef863ac67cee273cee97d5b2be34d68d329 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 693fa56bc15d3a683db51010ec95eec147fc030f..bb0d181d025ecc12915f09c8365ba8a63fd301b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2b710ae9467f2d3cc23edf4cda89fc3553d11cff..511e8554951ecd1018b8768ed9ac6c5c12f45690 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -37,6 +37,6 @@ model.testNbSubShapes(GroupAddition_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(GroupAddition_1, GeomAPI_Shape.FACE, [3])
 model.testNbSubShapes(GroupAddition_1, GeomAPI_Shape.EDGE, [12])
 model.testNbSubShapes(GroupAddition_1, GeomAPI_Shape.VERTEX, [24])
-model.testResultsVolumes(GroupAddition_1, [300])
+model.testResultsAreas(GroupAddition_1, [300])
 
 assert(model.checkPythonDump())
index 8f2a4eb606d26ae633729b5566e8382a3eb7f00e..fc1969c7c56d0d47d959d10b00c6a83dfa236238 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5aa68cea6dc54caf612cfd370b3bfa17b7229a94..98caa366eccbc30cc09bb499577fb5429ec5472d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -40,6 +40,6 @@ model.testNbSubShapes(GroupIntersection_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(GroupIntersection_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(GroupIntersection_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(GroupIntersection_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(GroupIntersection_1, [100])
+model.testResultsAreas(GroupIntersection_1, [100])
 
 assert(model.checkPythonDump())
index 451365379e9a1da55137ddccf2593a0a48f17032..db264b6b454593a5de9d33fe4392e859bab8df4a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8e96b76f3c3318f1c408f4865857cdd509c43aee..e923927a5994d10386a3270bb71308888965280f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fbcfa1dfabedd2dd8beb01da6bc02924dec6918c..27fb0d3433b458155d729d961ff1e233300802fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a464e51411702cc27f67b60042f65c7d65b56dae..41167beb513e14829765496c1f82d2d60c93f5f8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e0e9c9df1b839702533463cf3991e6d5787a1c59..e5998428d2f5d056a7e2498e2edb393f031fcab9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a56d9ab3d5334ba448c5cee0798d3cdcdde50290..f936e1853220f5442f0784464c444a01f9c09d35 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f2d40843eba7296ca6a244f8828ba55617383221..5c6afd403294fa413e2b7637d2301b2568e583c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ae98c0946493242810a76a8122ab0f3957c6f95d..e2782f61998207841e3eafed577f7be04fa21689 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 816e374e2e8abb13696ba7a2b9ba054bbd84da1c..ed5f8fdc6fadfbf3c59db07aa12550b990a9cba2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 66591796712a1bb29b8a607e1fffa758b89b52ac..dd9cdbec5bc8bb3dfc18aa296547fc41d02a716d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 83f00acdad7943138088611d7006909f17f8d134..a8e6b8b62cfe029258cdfb827f2f53891df776b7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5bf995fee4d2a672051bd68eb02c25194f213d64..26ff6e637fdcec31d83a5d97676b33c640af2730 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 770621929493c70478c2e914e4fdc992517136fa..fcb1bf24fbd2a751dcc73afdd1f640e60c7cdc96 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bf764748be9f86a6e2a81f87859bd7e96f403f29..0a22c1d988b8cbc876b26ce5bd4b28125c2f4816 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fe0da3f16d516dd4a1fd3b432a65ceda1f0f1b2a..4c3399765bf6e4c1d56b97a7a2ae96fc7ef79e0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 84d65e40c934a316da6fa4b01d6fa51c2db7bc59..88e9698f76ae76b7c2a3c233572acff897e4b7d3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8ea95a2562118491801c7299a2d7225c1272f9ae..ef298d1c5a4f7910f887bf77d81a18dfdf809878 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0f4ea9df700e5e5cae95a792ec07435af17dff65..2956d035fa659f6d24f1776fd277c146bc48229a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e8709e768159be24bea0b7fbb5eeaf933b5b4aa..1f3d4e98ad17ac62870659dd202410466bc3043a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dc54a01587103b97dd1f7d4bddd4af908beabb42..62b68aad0a6ecd4d384350ae3920f2a945e1a3bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 27e94325d4ee9150094774ae4e9b622f0378805a..5e9edda516a1cad6ca865ec844ba6525ee7472ff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc9e95c8faf4c0ff037b79e90c01ba2d1dbe1a28..8c0a4c973a580aaf3530d69ff69c593648c481ff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fdca8f507059e5fe5d0a95e9e32fb44b6e34d779..84cf2952c6e6b7c4e57bd00abcac578d1134f5b9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 98a4e1d65ee127f6c7e49cc1fb3c78f25a99126c..94dc7d18a5b4b5d7031527d315f2aee15baf7e0b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 27dc0f3267048eb1ca5060a520f83fbb626e158a..d71b430cef287b2e2ce1e208e65b4e6eb86c5298 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dbe1fdce1f592122b61690e4030b329032e0808e..797d1735a3b2fbe888a891164f144c56a781a9d1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 59b4312f8cf943f108b385321c873d0196e1aa08..5618c7315c2153217e79779a68eeaec2badd2c65 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0cf007ac0b81ce98522761c1f5b7b426430c697c..8f140a58dff1dde012d483c4886909029f34a871 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1d193850b679366f19e084951db5266e3a37116c..b362cd2824f887c990c47727923503bc58c4c0a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d1a600510f8c74e9bc4b14f36d302c6b8355ffae..a809412681ab5dbf515451277edc5d3fc4017654 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 87d1829d2a11897f56822c39689663d3c4c3435d..76963d05cdecf4ab8e1ac3b98b679c3f8352c41a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2d6b11b911b73eab7c459dca888b483bd38254b9..072147484582845162f19aa0af0ca4ab76b17bcc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 19172290c07598df9455387dbe828937005f5959..efa1715e972736bce570686e6f11be96623232ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5e87bd1b171f807fea0a673c626bd28d99e2b8d0..22d244bb67de7709beee0e120b3d988ac68587b9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e9be009b9108350a1642032b82b0c686aa67a20a..14fbd9efb0d64f4c364703805eb638d4234a30af 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 624e2f3e4d23dcee17f58d9f9393d1c47c531368..9b2741ea38e3d2ab0f5120f7abd834888391e31d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c704e0f1c4a0133ce5ae5895060ab4bfda935bba..0585b39ed353ccbc8c7797bdaa3032e58af88293 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9611d819179f4d8f339836e713714916c8bd2848..c223e323a86cbde287a431e890f7e36e4f238ea3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2f0b83f08b52d6477c8d015dcf4c95383eaf06e5..bcce6e388d941dfce4d7c0285fbd68f3dd059001 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6d23bc8361d1c0bd816e257838088ee7e3f33e41..0df61de450d137137388024be9950e26db52086a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/CollectionPlugin/tests.set b/src/CollectionPlugin/tests.set
new file mode 100644 (file)
index 0000000..387c5af
--- /dev/null
@@ -0,0 +1,72 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+               TestGroup.py
+               TestGroup2.py
+               TestField.py
+               TestGroup1799.py
+               TestGroupMove01.py
+               TestGroupMove02.py
+               TestGroupMove03.py
+               TestGroupMove04.py
+               TestGroupMove05.py
+               TestGroupMove06.py
+               TestGroupMove07.py
+               TestGroupMove08.py
+               TestGroupMove09.py
+               TestGroupMove10.py
+               TestGroupMove11.py
+               TestGroupMove12.py
+               TestGroupMove13.py
+               TestGroupMove14.py
+               TestGroupMove15.py
+               TestGroupMove16.py
+               TestGroupMove17.py
+               TestGroupMove18.py
+               TestGroupMove19.py
+               TestGroupMove20.py
+               TestGroupMove21.py
+               TestGroupMove22.py
+               TestGroupMove23.py
+               TestGroupMove24.py
+               TestGroupMove25.py
+               TestGroupMove26.py
+               TestGroupShareTopology.py
+               TestGroupAddition.py
+               TestGroupAddition_Error.py
+               TestGroupIntersection.py
+               TestGroupIntersection_Error.py
+               TestGroupSubstraction.py
+               TestGroupSubstraction2.py
+               TestGroupSubstraction_Error1.py
+               TestGroupSubstraction_Error2.py
+               Test2977.py
+               TestGroupWholeResult1.py
+               TestGroupWholeResult2.py
+               Test3031.py
+               TestGroupWholeFeature1.py
+               TestGroupWholeFeature2.py
+               TestGroupMoveAndSplit1.py
+               TestGroupMoveAndSplit2.py
+               TestGroupMoveAndSplit3.py
+               TestGroupMoveAndSplit4.py
+               Test3114.py
+               Test18739.py
+)
\ No newline at end of file
index 0f427639ddf6b4ed3448f1ffc493062e1fcbe3c9..aa9136edc0493da581ef072a3d44bce5c1ef142c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -151,7 +151,23 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(TARGETS _ConfigAPI DESTINATION ${SHAPER_INSTALL_SWIG})
 INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG})
 
-
-ADD_UNIT_TESTS(
-  TestConfig.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/Config")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/Config/CTestTestfileInstall.cmake b/src/Config/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 5658cba60d9cbce19b9c49127c84e7ec2079abf0..3a7786646a67e2fc8f87d1c44e6664cd041e87a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 78dd95e0e9f0fa08f0639cc062603d113a242577..5f07f3b9f29c75e1ad12d89909d0da78219b7c1f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b4ee7262c2cec130e6342f59c3c18ce5c2347d96..d1ebd840788b8d149a4e58505f077a72f234e129 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1e25343d98278fb8b51dca6f804ea85b29504735..3f8bac413d0624c142994c453a7c5d697b010e26 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d903e3e0bb90a6bf2614cd3b770f91baf3aa9df6..9683d87c33ac1355ce9e9a5aff6e06e237e7c5a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 55bb37612687ba80302a194544ff59a4d1befe6b..8f88ec7f15c3d6ed098dd1e63ca30e5c539ed5ba 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3e5823296aee5158a618b75d854f6d6e36452345..ccb5b5e386488d13f6a778a96488b0c5cf162370 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e2d25c70a6d6939f2904d9d3d9b24fa28feae8c..d3ae8d94fcf1b10a1a3d8afc65f75885bae8d99e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 41dfdb1b68c135e4209c71e3e3e500b1b389d49b..87932c07fa0af4a622646b90726f9620e3f1e307 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61c2ec179c8aa9f08260d99c9b6ea7138c8fb5e9..5f397d63842790722ab0d1ed789086cdc7e5c72a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 32d3780f1a5004de67b22d7a4f7cd53e5455be61..015090889c6cd075c05bc33a9a535b0e7dd85d22 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5be23a997a8cb03ab9d4c04c8b75030c191fa77e..9774c3519516e628d846c0fb4d46f0d7a52693a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -100,6 +100,7 @@ MAYBE_UNUSED const static char* ATTR_TOOLTIP = FEATURE_TOOLTIP;
 MAYBE_UNUSED const static char* ATTR_ICON = FEATURE_ICON;
 MAYBE_UNUSED const static char* ATTR_LABEL = "label";
 MAYBE_UNUSED const static char* ATTR_STYLE_SHEET = "styleSheet";
+MAYBE_UNUSED const static char* ATTR_IS_SELECTABLE = "isSelectable";
 MAYBE_UNUSED const static char* ATTR_HTML_STYLE = "isHTML";
 MAYBE_UNUSED const static char* ATTR_DEFAULT = "default";
 MAYBE_UNUSED const static char* ATTR_INTERNAL = "internal";
index 2720bc308c9f010c2e5466281828a336991fb618..5cbb9a7014150a55505097177a932e291fa10dc3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d65d413f48ec934f5fd7fce5d93bf76fb9aa37d8..b5533bda5577db99631a3a35a1a7ef1a5be16600 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 42be9f9251885d26863455649ec9e0bf7e427c4a..321d4e70c42c0f69aa5b5102e71835df324370c0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e91b5bb93008501f9e4b650f558dd9d7a27de24d..9949ccf6a61e5505f99ac5907cd776a904b6d6cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2cd8c729f24e06421eb96d5bd980dd23eacc95d9..daca91bbf12f6750fe244b95525040788d2bd01b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d45f8ef8af9ac32f80ec2854fecf8f6fe9814bed..1ad5699ae33010992f4b8db55ea1e2f1f6e2a943 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b38c2bb66de6b2c540d3606265f9590841c539a5..6b6bbb48cd65605447d8dc88aa0195bdd69f1e5d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c807ea297fffcaccdf0789b2f426282315e3f37b..4c459b37337331d486daea7ee21786ac019ec2f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index af3f1f55ea6e17b26b1bee7c29fbb43b67d924e9..aff1787ed6ad3ff0f05597cb734f54da1123f2f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb419b0b378d797dc897d8c7941db515e2400e10..da20cd731ccbdec79066299a72431e4eacf83ccd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 267c838fe16a95b6d958c1d21fa3e8fae7c78e3e..731aa18dd69d3e7519473e30d0a4118b54f2ca34 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 36ce3cf89074e44210113d840d305a18367423dc..cd7d6e6459e4a009c65145eb0aff194569a88c7f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 87f550ea991cfb8ebd4aa5487ba3e5372af8298e..c10da7577d147fe705be519a25491b2c41470769 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5a640c0264a7e6eff85e8890239cb3c0def115b4..9c77d0a4c0d11b30d37b379eaeb5a382c4b0296a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e15dfb2ad09f875f36dca575681386a20c82afe3..93661b1677f231565218d2b6114804e27a5e6efc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6124664ad1e8641d3608f5a5551e7a12c3cf1ba1..baa4017867ef0043c11d663556376b9ee57c2c6c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 568a6a9658c6b05be1873abf90315272c711d7d0..eba4ecc16685283c32238ee9cab5569cc894fdb3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fed522020d0af01e15dc6a6a45dd47c740da51a0..5ab583808c866a281a3d8fe6df0b5b5b13e7a556 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f4fe27432f6bd755f10b9aae686d8ee73720b4e8..23c95c36ea96520bb7f2522cd7ddcca946051d41 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0f4f63ef44d78687bbdf13256d2bc70cba0f4bd2..02986bf571de013217a9d1e46d0a7f73bd2364d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8cba8cd4d0f040ece44e75023627a1d9bf67876d..53c03d60939b3e5beac131464ab5eaf0fa625b24 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f88f66da1b6c2d5c7913c8d5a9b1c6fd2b2dcc27..3a1a2dbcee9e55795c5eeeb30196e0e05b43498d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 60105dbc93ad5970cbf30c55a6edb13b60338847..91460e5e6974ceb8420324d0e256c8dfb8ee9a96 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 036c6d697718db80d74fadf1b1f0bd01f61d1116..79b6c012c73609ae375f564e40975902f98e55f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2f430a1636b9d2dbdccacfec6ce20ee87ab21726..54689b0d4347992438e26000b08def920826b6fb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/Config/tests.set b/src/Config/tests.set
new file mode 100644 (file)
index 0000000..9035651
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+TestConfig.py
+)
index a538b4ce519bd252b9c1fee35ccc167756b6bcf8..79fb6a2ec14ab76494b28111883d76379bac6f48 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index df75efaeff04ac108b19bd69c2def2796ed08fd5..2246156119f0be33829caada88ec99f0481a688b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8d0463fc873bc88a7279da016bf2b8fa93057ef4..87adc77214c907845370e12a24b2c6d0384d9438 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 14ab255c78813f859e54477e1ef3d7ccfa2a623b..d7cf511a36e7b3c8ae0ec5e5afb48f982fa745a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b5e4a4d1ccc916e60515c01b64c19cba1fbc02a4..0437966d5b49244d07d884efd4efd60a7b3f6d18 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3769d7e0dc652f00bcc16663c60c55fbefd9ef00..40d2c13390ea8f872941c7c941ce03bb64c55a16 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7e0b4846d20790be453ef33eb0bb6af0f937b8e0..563bb2042f6ac2d6011ade9e297b612dd6d6f2df 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -19,8 +19,6 @@
 
 INCLUDE(tests.set)
 
-SET(COMPONENT_NAME SHAPER)
-
 SET(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ConnectorAPI")
 
 SALOME_GENERATE_TESTS_ENVIRONMENT(tests_env)
index da065d3a515d485d55e87871f90d6baa67304c2c..6c55e305ab50e175d47738fecfbdfce9ea38a5ff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -24,7 +24,7 @@ SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_d
 SET(TIMEOUT        300)
 
 
-FOREACH(tfile ${TEST_NAMES} ${EXAMPLE_NAMES})
+FOREACH(tfile ${TEST_NAMES})
   SET(TEST_NAME ${COMPONENT_NAME}_${tfile})
   ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile}.py)
   SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
index 9dca4aed2a83ef8c3142b6f9a1dd9ad764ed6d6d..0cd7bebd0ecf826ed059b96e8ad0f251e4c29083 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3b7bde43de72d691576d5201b3d742f0e025a39b..62d667f02422e245e559de6f50f56ae9d0984299 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 052f75b358372019a02804b46d90222ab85473bd..640a91be2f96eb07ddae426272251e2ec99720f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 162503dd0fbf21a0326a0e49ea2e7bbdce4bcc48..40442aaa75e2f087ff2b61f59783eea362422e4d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index edc7eaf01fbbfd03d0282319650bdedc291f112f..a033bfe27bc1e88830347ff179547265d2658589 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ed7efb50018749165b7b609f89d375b96193f1b2..c83767f768502da2f0f726e14652ebcb6ded892e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7d62d84779808b16f007386679bc9c57acb6cbc2..1a4e7bb9e659e2c8ea169f1f33b89ad339a8cc73 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5720789998452ef20fb7085f628bfafac91d606e..d2b723ee3f63a52c800bd3dd947a46a59b9bd225 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index df60d68cacc87f76c3dcbfd0a30bd2e7be961b9d..4fabe756defe2183e1db916459cce275412b428f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 40a276e2646151118d48e5cb85c60fc992d18a26..2c51d8ae3807ca3dc10a1a025c93f310adb14907 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c3a80f8a00475dac73eb3387e907e959269532a9..61fed85b81608cc50a0c671b3d424e9935b413d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 02a198310af5d3788a4ea798783018d0d2c12771..a41d71d07face9df97ea05d8ca57e2e61422e59c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b9f35a7e8285e4f6e5327d4ad45ccffc152e8260..398d390531bc25c90327f81a7b87d6f84859cbed 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2007-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3f4eb7ec23f3d45d17a89250f0f8b7dca05c5482..fa9195ce53900f25e445b35cea320e16db6a7365 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 84078d9ce1709642be5b1f2e7b6960d7c6b59b0d..e9fdc413f99f545ab411e5acbd87cc818c5eae47 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c3a20aaa3e6a65740cfbc83294ea0469a89da17c..eae661bd58603d47752fd15eadc44d3fed37ae80 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4fa7741fac1e41e2fb1dfa312b6b80e4527b58a2..3a714b066d443d01ca33e216296a148929b35ca0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a5d8ed26e7dd7f2d485e49a0bfb69712e285a4f8..8da67a31e500acbca80415d537c4c02ffd7e82ec 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -90,11 +90,11 @@ class PublishToStudyFeature(ModelAPI.ModelAPI_Feature):
           # Map from feature index to index of result. If index is zero (initial), no surrfix to entry is added.
           aFeaturesIndices = {}
           for aResId in range(aPartDoc.size(model.ModelAPI_ResultBody_group())):
-            aResObject = aPartDoc.object(model.ModelAPI_ResultBody_group(), aResId)         
+            aResObject = aPartDoc.object(model.ModelAPI_ResultBody_group(), aResId)
             aRes = model.objectToResult(aResObject)
             #do not export images
             if aRes.hasTextureFile() is True:
-              continue    
+              continue
             aResFeatureId = str(aPartDoc.feature(aRes).data().featureId())
             if aResFeatureId in aFeaturesIndices:
               aFeaturesIndices[aResFeatureId] += 1
index 562ed30ae7c0b1532a71621ac32eca3fd3a38cd9..16aefff68399d479ab925533447253bcd2a2a943 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -99,7 +99,23 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ConstructionAPI.py DESTINATION ${SHAPE
 
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS(
-  TestPoint.py
-  TestAxis.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ConstructionAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ConstructionAPI/CTestTestfileInstall.cmake b/src/ConstructionAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index db2e3872e2811a2d29cc4005e8ce1b3c193480a5..7a0df56afec5f3b5f573d29f1ebe73902c1f99b6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6cb24c34887dd2e837e3c15af5ea10ac421d1ec5..eb7601ab8a689f00c6b1921c94b0ac3bf0c475a8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cb8ac6f4586be36ec2bfaaf267b695b2a99c1f86..72ed88af1ee1baf6a478e4c67137c45dc5afe84f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 46fda6f4da8e3d63932185737dca19717d667fb9..b65657f4c761a7250920746210eb2bf33dc73428 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0ec4cd5515107da8ede9f77726b99043a0f4ac20..cd0bbb42471fd43a5bbbdb68a7944f69a144f492 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c3d2f83580abc4e8ecfd9bab1aaf78f3cd734b79..b8b28d3f4ef44a73785a50e650135f8a5282487b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a12fa30ec2e57d80d710f026c316da9323ce69a7..17b37afe4f891529bef62681ff080a7963e393a8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1af65318dbc7a7646c4d82fad017f675a3f03bd9..1b5c7fe3374e4d2dbadeaee736d6c7933ad7223e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6c1a5162905ac16f9c80b0fc2141e9c5f8252d56..e2cb619a49005b296e976de8adb23e7ca7950ccf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ef397ed13bed08942a1faefe5299417ec29edcda..a99fd38e48658f6dda48c42d1592fd90d029ff44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0ddd92bce0db76f0d3522d2d86955edab0d03c20..ab2d773c308659e245754201d7e70218bca411bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ConstructionAPI/tests.set b/src/ConstructionAPI/tests.set
new file mode 100644 (file)
index 0000000..e2b4b64
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestPoint.py
+  TestAxis.py
+)
index 11fd87eaf0a2b1ce03e9f0982a85091ed5ac7af0..cce4d84d860edb8fe091b003da10e32a10a96eed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -77,26 +77,23 @@ INCLUDE_DIRECTORIES(
   ../GeomDataAPI
 )
 
+include(tests.set)
 
-ADD_UNIT_TESTS(TestAxisCreation.py
-               TestAxis_ErrorMsg.py
-               UnitTestAxis.py
-               TestPoint_XYZ.py
-               TestPoint_IntersectLines.py
-               TestPoint_IntersectLineAndPlane.py
-               TestPoint_IntersectPlanes.py
-               TestPoint_Edge.py
-               TestPoint_ProjectOnEdge.py
-               TestPoint_ProjectOnFace.py
-               TestPoint_GeometricalPropertyCenterOfGravity.py
-               TestPoint_GeometricalPropertyCenterOfCircle.py
-               TestPoint_VertexSelection.py
-               TestPointName.py
-               TestPoint_ErrorMsg.py
-               TestPoint_FiniteValidator.py
-               TestPlane.py
-               TestPlane_ErrorMsg.py
-               TestPlane_FaceValidator.py
-               Test19207.py
-               Test19471.py
-)
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ConstructionPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ConstructionPlugin/CTestTestfileInstall.cmake b/src/ConstructionPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..42056d5
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+#SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
+#SET(TIMEOUT        300)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index e951ac10467e2763d0c4396f0dd151971bc3a611..3673fbca60171c04abe92d265469edba921dac15 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3d14eda0694c29a8316f13d01257d06199580cd0..d76ae9afbc76f7e42b5e6bccae1b96a2ddd70122 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 115abead134473db4a65e5929bf9dcdab7473b6b..b8dde7d3f099127663ecf3fcb090bbe4066d26d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5be399aa5485d394df70d2c475875a8ef43a2dfa..c4c384ba5d61f8092812038f4c8c37f9f48db1e3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9b2a3ba4eb75721587329293f405beca0ba773a3..214f4e6dbe7a36dadff5d180f83eb94dfa9472a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0beb5187230f5f14f6ce36d79bda01f8fa4ce884..363c27e07cadde2794c3aa8a393739520dc487be 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8b0122bb0e8565f2a42249c3b2ebf9297068e8d7..ef7bb8f85bba23636542c47355c2b45216c8555f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 087cfd91deaf5d37e9da75790cef97f5e628747d..46c15698bbf5d5fb6cc99cc2f57a28a3accfa853 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8470e048b469d07076cee5904efe0c8714bd9a37..0e0d6dfb6e872659cdadb69b1d67e0ec1fac439e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aedbb596803dc65902321fc22ff33050c6d5e4bf..2efb39af9e2ad0600cafdb6442489aa8ee68287a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index accbf19943f42eba68cca8bad9a3419f44e6a8a0..8b3a64cb29fed669aade127850ae41f4cbdbf1f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f4dd3c7852a266b87461b863c84b59e6b20785cb..2a7822b693b3c6b1a8863a5f5df697a927597274 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 04937e0534d337effe1fbfcf5b16c58da1114948..c0b2efe481b6091069afe5fcd1d050682e20d442 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 92844d4b33724dcc4e309eaf4aad1bd4c1952387..e1ff2dd5d39691d550d531ba1bd0bff722a1ea01 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3bd400083768f3fc9fc359752a43ce61f4d194d6..898f9b04c877931f341775bcee4444b42b1cd909 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 763aca979bdb1805dbf03d533660fd160b778e7b..dd944b794d6da0b0d9c6e5cb1b843bd226261cc1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 78d8780848e147f599dd43ef66abb5b19a610eea..1ac5bf5d6f0f905f78e8fb35129909cc2f463f0d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7bad66c91a3db36e20de6ddf333e3d75cbf884a1..a694ed96f3426fbb0a19c28c7cefe6bbea19ce3e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4accb1395ce3fb7f9d695e59e2d8a5c5e19f9646..0a5093b5a3a80c6a8326993b34b43d3877084adb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6726cab7f9da478f9ff4887cc2313d3b42cd62a3..e435398b466bfe94bf8736d50b1a5e17a1b88188 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b93744fb58cd270caa515cbb954cc484254c0ecb..dba289cbf6464c0ca1907d86be901700bb342cfe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a177488360ea25b525ddfdd3d9868726c26a8f30..9a899cd396a75def781fde3f8c1fe40eb2968d94 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bed2f6ac562264913cc0f6bd0af82fe096cb9cc7..5f09f4d7279b350c5931dd0c5cb44ebd47803315 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cd7dbe4f68d89bb98e56f79120b31aa29cd9e941..99d657a0f5a29d47401232518d7ec8e87c94c719 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1cb877c8c0e094d9740bdd1a72c0248531d74d83..23ab3c03be20eca928bb338969cb854255798117 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e40309f099a51dfa167f2677a569483bca9f7d4e..8a0e095cce31529905e8ce14b01e82bbdd353a4a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 54f1a56866f0300ce5adb909ffa55072638aab81..d055f76888f920154d57f5eb9251b9640ebf7cde 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ded48e85d94b606d543234a82d596ac5faf3f9e4..ac9cc34a9c5333e9b932aa9b526c190db74d1a20 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aba0b2db681d19a66400a0602a644ac51cd6e530..3b6766192329ca6d132b1c375be09af5b2685130 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 226a83ec3188f8529a7ff7e4ed583d9f035a2d4b..65a77fe1954a9e7e2cb233ed8e3d8e7edc8217b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 62367b451afd555707c0946d9039d3e0ca983c0f..0968285d9d3b317eea2f02f0854801c9c565a497 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9cd5347712d47a733e93e691a8342e885fb9ca94..9c7c0055cad37cc9bef3df8c1234cd1cf3645218 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ConstructionPlugin/tests.set b/src/ConstructionPlugin/tests.set
new file mode 100644 (file)
index 0000000..09e2211
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+    TestAxisCreation.py
+    TestAxis_ErrorMsg.py
+    UnitTestAxis.py
+    TestPoint_XYZ.py
+    TestPoint_IntersectLines.py
+    TestPoint_IntersectLineAndPlane.py
+    TestPoint_IntersectPlanes.py
+    TestPoint_Edge.py
+    TestPoint_ProjectOnEdge.py
+    TestPoint_ProjectOnFace.py
+    TestPoint_GeometricalPropertyCenterOfGravity.py
+    TestPoint_GeometricalPropertyCenterOfCircle.py
+    TestPoint_VertexSelection.py
+    TestPointName.py
+    TestPoint_ErrorMsg.py
+    TestPoint_FiniteValidator.py
+    TestPlane.py
+    TestPlane_ErrorMsg.py
+    TestPlane_FaceValidator.py
+    Test19207.py
+    Test19471.py
+)
index 46bfecd2a43d338c11473df787992a759e5370f4..3ebeb8efdb4440ae6dafaa3d30a5da102249fe85 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7ee35fe62a11698123b6d657b136d402948ca5b6..9f3d2948da0cf5e91b2b3fcd932fdd93aac8c845 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 08176739955fc35d91e8fbba696dd9f0741553b3..df4268f9a18c1352dc3d51b3b8762908fc9439b4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4defa49f9e23663ead86a68ff4d551116f3521ff..7ce27a6492e83ff3f081552a9befa4d8e6a08e5c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 991677ee8ac478d2a4d4b539acdff1806c78f367..4e3f3b50d90fa222813ea25c5579b50db30d487d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 593f26974d95bba938fc2ac346ee91b8554f6576..485055393cbdd52e23decf7596b7698c3ab069a8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b54a98e00e87c0cebb16913cefa9f58c3a7b32a9..bcf6fe503b5f64bbb12d0ae9ba8c3923d383248b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 87d8c9ed85488c9c49b030c1959481792da598ea..eb7c986a4138f78098be0421c557d2f89dc72a4d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9ec2e56db3f4f952c07101b2aebf93eae9410c9..7ddea085d475b68532149e62904e73aae58caf1f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b62b5694ae5f5216a9a120ed2ea9fffae34ce9c1..12e6db0ec01e7badb57fbbb13bffe107fb92b0b6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4660e5f094535014e6749ae1f7c4a248048677f0..426f93ee9ff26b7e1e84e46d5e971c535fd6b6ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7b597345315d15372f029ec3c40948cac69d230c..0b0c1c3b7363908703a1cd06d80baf2e4650254b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f3e6cc921c739ad4c15f32c2e40aab615903913..84b6afdb3bc749746fa22615ea5234599aa9421a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a59a61e74589523718e8d90ee1d1f213793e1553..dc2a3733e9c08585e942ad09bbb11dc4fa9946a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c65cf4244f089dd34568273c334a773d54882d59..79755af00838ab041f28811ebeda661a8e59a742 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b61f22ce9a20a675cce9f89aa4cca82e82da9b13..d241e7fcb89b0ad3ab7668afadd0a304b62671a0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -98,8 +98,23 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ExchangeAPI.py DESTINATION ${SHAPER_IN
 
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS(
-  TestExchange.py
-)
-
-# ADD_SUBDIRECTORY (Test)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ExchangeAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ExchangeAPI/CTestTestfileInstall.cmake b/src/ExchangeAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 1841647c19b247ebd669eb17762f7b8a45cc221d..163d399afee5aba58b1d33b8fa8fa5f6cc15f184 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 160d4f8f1649a5e57851a41b236fc8affeb6d7d6..8cd3d688669fe9660736e4320cd69f534d57f89e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b0d9e094ce4f2010c64ab761a6fd9a220d4afc2d..2aebda27d15c1c35cbafb3836eca0007d91c3574 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0d5caa212c68aa51d282f948718f7d68cf18ee0e..4e4576d052931f68869d1c6e04f50b34e97b0b6b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eee356406124576f5ba4a1dc588b5e34c803bfe6..cee25a91a359be46e5c3cf43256676ac8ac71d40 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -253,4 +253,3 @@ void ExchangeAPI_Import_Image::dump(ModelHighAPI_Dumper& theDumper) const
   // to make import have results
   theDumper << "model.do()" << std::endl;
 }
-
index 61f4c7bb905804d3c91e3e0bd43f57f03ce19e88..2d4f91711f0d2ef7c48ebd39d9cfe1b6a951ad05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b4b9fc4354253105542b086ae68c6c25bd767187..3f6e8e15ca7cd7111c6fada14fb1cc2642f3a6d4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e16ee5e45b8398be5ea75dd842cc0c4261ee2fa..5ed934665bc43ad650ff461b483e36f4e1804016 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ExchangeAPI/tests.set b/src/ExchangeAPI/tests.set
new file mode 100644 (file)
index 0000000..91b3054
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+TestExchange.py
+)
index 3df98beceac4beaa7da4148038a009671167d085..a155317e903410136646565e20cc272f09c75a19 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -108,43 +108,23 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Exchange)
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
-ADD_UNIT_TESTS(
-  TestImport.py
-  TestExport.py
-  Test2290.py
-  Test2459.py
-  Test18710.py
-  TestExportToXAOWithFields.py
-  TestExportToXAOWithGroupNotUpdated.py
-  TestExport_FiniteValidator.py
-  TestExportPart_Failure_1.py
-  TestExportPart_Failure_2.py
-  TestExportPart_Failure_3.py
-  TestExportPart_FullPartSet.py
-  TestExportPart_FullPart_1.py
-  TestExportPart_FullPart_2.py
-  TestExportPart_PartSet.py
-  TestExportPart_Results_1.py
-  TestExportPart_Results_2.py
-  TestExportPart_Results_3.py
-  TestExportPart_Results_4.py
-  TestExportPart_Results_5.py
-  TestExportPart_Results_6.py
-  TestExportPart_Results_7.py
-  TestExportPart_Results_8.py
-  TestImportPart_AfterCurrent_1.py
-  TestImportPart_AfterCurrent_2.py
-  TestImportPart_AfterLast_1.py
-  TestImportPart_AfterLast_2.py
-  TestImportPart_AfterLast_3.py
-  TestImportPart_AfterLast_4.py
-  TestImportPart_AfterLast_5.py
-  TestImportPart_AfterLast_6.py
-  TestImportPart_Construction_1.py
-  TestImportPart_Construction_2.py
-  TestImportPart_Construction_3.py
-  TestImportPart_Construction_4.py
-  TestImportPart_Multiple.py
-  TestImportPart_ToEmptyPart.py
-  TestImportPart_ToEmptyPartSet.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ExchangePlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ExchangePlugin/CTestTestfileInstall.cmake b/src/ExchangePlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 1b640c928c20d4a523d6d8ee953a2332fd5087b1..d5db1babf3e0deaa2c833c07223e878242fddc0e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0f751808dd9520c7ba6498e867103ce5d1302f9e..418ab137021da7e20a04b4559af537c1feb399db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f1c5da6177dcd81f8985b3db1265bede63a1f65a..1fa72d984f6d424617b7c59d817666aa334374a9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 49f71586d5626de1e005163e4126d022bc137cfe..6ae4199ec4da72ef2a973b569165cd84c4181210 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bc975ea5b7de9c76f8e22458a706fb66301e7bbc..ffd9deab8e755fae43668a5fe2620b4ebc8b93b1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d7e82659ba77194da02007754727d593d571ca42..6b85accab1883fd7184a828aad3ff79721608c9d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3fe9e921be5433db8dd91f57b47672115f7a4181..4f190daf155b2f1cc42f5dde49cd8f9c13556adb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a166c9431fc137185cd6d5e6edf1f21242063c59..6178b225988b2e0285ed52a153dbfce469a6b077 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e018bedc257b48b7c77ac4cbad9fc6bfbdf3a4c1..c9f98594d42aa996f95c54cd64e161fbca019650 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e6bd0d82f32fb57ec69d6fe5fdd3af933fb36fbc..65045f2283880243a962b3b394532cf6ce527949 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -36,6 +36,7 @@
 #include <GeomAPI_Shape.h>
 #include <GeomAPI_Face.h>
 #include <GeomAPI_ShapeExplorer.h>
+#include <GeomAPI_ShapeIterator.h>
 
 #include <Locale_Convert.h>
 
@@ -289,8 +290,16 @@ void ExchangePlugin_ImportFeature::setColorGroup(
 
     if (!aColor.empty()){
       if (aRes->get() &&  aColor == theColor) {
-        aSelectionList->setSelectionType(aShape->shapeTypeStr());
-        aSelectionList->append(theResultBody,aShape);
+        if (aShape->isCompound() || aShape->isCompSolid()) {
+          GeomAPI_ShapeIterator anIt(aShape);
+          for (; anIt.more(); anIt.next()) {
+            aSelectionList->setSelectionType(anIt.current()->shapeTypeStr());
+            aSelectionList->append(theResultBody,anIt.current());
+          }
+        } else {
+          aSelectionList->setSelectionType(aShape->shapeTypeStr());
+          aSelectionList->append(theResultBody,aShape);
+        }
       }
     }
   }
@@ -329,8 +338,16 @@ void ExchangePlugin_ImportFeature::setMaterielGroup(
                                  aResMat != anIt->second.end(); ++aResMat) {
         if (aRes->get() && ((*aRes)->data()->name() == (*aResMat)))
         {
-          aSelectionList->append(theResultBody,aShape);
-          aSelectionList->setSelectionType(aShape->shapeTypeStr());
+          if (aShape->isCompound() || aShape->isCompSolid()) {
+            GeomAPI_ShapeIterator anIt(aShape);
+            for (; anIt.more(); anIt.next()) {
+              aSelectionList->setSelectionType(anIt.current()->shapeTypeStr());
+              aSelectionList->append(theResultBody,anIt.current());
+            }
+          } else {
+            aSelectionList->setSelectionType(aShape->shapeTypeStr());
+            aSelectionList->append(theResultBody,aShape);
+          }
           break;
         }
       }
index 37376e1983248029d42732f24eb02bd79fca6c4c..46618aba5893e100dec2f281c00c18e1db96310a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -37,7 +37,7 @@
  */
 class ExchangePlugin_ImportFeatureBase : public ModelAPI_CompositeFeature
 {
- public:  
+public:
   /// attribute name of file path
   inline static const std::string& FILE_PATH_ID()
   {
index ae74d6b3007eac78e3e70d52ab9ddc07642c632f..4f34d3a8c3bfc0f43ed845ffc5110d56460f5a8d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 54b0c10e2a18b6752a67efda373428e7a75bbf0c..3b323aee7b4cf00a6105df4f2205dd028758e3c9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1436dcf032765a3871988e4e548296cc3e2af26b..145ef8f4febb35349122da2c4a4253b61c9f4778 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4893bd11ae712e2956104d094b51bce3b3750050..a7e76fc81888edbf684e78455695d2dea6f242c3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 69c66cf2701c9660135a809f3b73c4d811bd4584..591d467c6a8cd3e825394bbb6de70dfcecff33ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 17c8df4d7fdd71673e53b928db5e36524232451d..a617fcbb247518142ea0ed2915ca506da5d7e542 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eb4ea4a151a562287e003f5cde43c45faf2f8c55..31269c4646c87511c66dde7a8d00ea144cdb9a2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6f345f9bbec0476e003a06285c9f73167b33ea75..c4c46fed3bcee46a3a7364e14898a559cc0b7b9d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 93a1fb94402a510dd8c5282b4eb72de0a72ff507..b930b2fb0072ab6dcfba09eba31d2ff3037e4e1c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cbe1b13c09323d11fe6de2418e1a9f0ab152ff9b..b30375ced0ba242c2a5b24afa639fc2a3695564f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0c661cb0ba336fc5ff5f3cdf2bbf277a4e5b27c2..afaa887d7d5bbbfffaae7d6ee101b9dee54287f4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
old mode 100644 (file)
new mode 100755 (executable)
index 8e4ca98..5b9a8cb
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -49,7 +49,7 @@ def removeFile(theFileName):
 #=========================================================================
 # Common test function
 #=========================================================================
-def testExport(theType, theFormat, theFile, theVolume, theDelta, theErrorExpected = False):
+def testExport(theType, theFormat, theFile, theVolume, theArea, theDelta, theErrorExpected = False):
     # Import a reference part
     aSession.startOperation("Add part")
     aPartFeature = aSession.moduleDocument().addFeature("Part")
@@ -84,7 +84,7 @@ def testExport(theType, theFormat, theFile, theVolume, theDelta, theErrorExpecte
         assert os.path.exists(theFile)
 
         # Test exported file by importing
-        testImport(theType, theFile, theVolume, theDelta)
+        testImport(theType, theFile, theVolume, theArea, theDelta)
 
 def testExportXAO(theFile, theEmptyFormat = False):
     type = "XAO"
@@ -176,23 +176,23 @@ if __name__ == '__main__':
         # Export a shape into BREP
         #=========================================================================
         aRealVolume = 3.78827401738e-06
-        testExport("BREP", "BREP", os.path.join(tmp_dir, "screw_export.brep"), aRealVolume, 10 ** -17)
-        testExport("BRP", "BREP", os.path.join(tmp_dir, "screw_export.brp"), aRealVolume, 10 ** -17)
-        testExport("BREP", "", os.path.join(tmp_dir, "screw_export.brep"), aRealVolume, 10 ** -17)
+        testExport("BREP", "BREP", os.path.join(tmp_dir, "screw_export.brep"), aRealVolume, 0.0019293313778547098, 10 ** -17)
+        testExport("BRP", "BREP", os.path.join(tmp_dir, "screw_export.brp"), aRealVolume, 0.0019293313778547098, 10 ** -17)
+        testExport("BREP", "", os.path.join(tmp_dir, "screw_export.brep"), aRealVolume, 0.0019293313778547098, 10 ** -17)
         #=========================================================================
         # Export a shape into STEP
         #=========================================================================
-        testExport("STEP", "STEP", os.path.join(tmp_dir, "screw_export.step"), 3.788258075329978e-06, 10 ** -17)
-        testExport("STEP", "STEP", os.path.join(tmp_dir, "screw_export.stp"), 3.788258075329978e-06, 10 ** -17)
-        testExport("STEP", "", os.path.join(tmp_dir, "screw_export.step"), 3.788258075329978e-06, 10 ** -17)
+        testExport("STEP", "STEP", os.path.join(tmp_dir, "screw_export.step"), 3.788258075329978e-06, 0.0019293304476337928, 10 ** -17)
+        testExport("STEP", "STEP", os.path.join(tmp_dir, "screw_export.stp"), 3.788258075329978e-06, 0.0019293304476337928, 10 ** -17)
+        testExport("STEP", "", os.path.join(tmp_dir, "screw_export.step"), 3.788258075329978e-06, 0.0019293304476337928, 10 ** -17)
         #=========================================================================
         # Export a shape into IGES
         #=========================================================================
-        testExport("IGES", "IGES-5.1", os.path.join(tmp_dir, "screw_export-5.1.iges"), 0.0019293313766693052, 10 ** -17)
-        testExport("IGS", "IGES-5.1", os.path.join(tmp_dir, "screw_export-5.1.igs"), 0.0019293313766693052, 10 ** -17)
-        testExport("IGES", "", os.path.join(tmp_dir, "screw_export-5.1.iges"), 0.0019293313766693052, 10 ** -17)
-        testExport("IGES", "IGES-5.3", os.path.join(tmp_dir, "screw_export-5.3.iges"), 3.78827401651e-06, 10 ** -17)
-        testExport("IGS", "IGES-5.3", os.path.join(tmp_dir, "screw_export-5.3.igs"), 3.78827401651e-06, 10 ** -17)
+        testExport("IGES", "IGES-5.1", os.path.join(tmp_dir, "screw_export-5.1.iges"), 0.0, 0.0019293313766693052, 10 ** -17)
+        testExport("IGS", "IGES-5.1", os.path.join(tmp_dir, "screw_export-5.1.igs"), 0.0, 0.0019293313766693052, 10 ** -17)
+        testExport("IGES", "", os.path.join(tmp_dir, "screw_export-5.1.iges"), 0.0, 0.0019293313766693052, 10 ** -17)
+        testExport("IGES", "IGES-5.3", os.path.join(tmp_dir, "screw_export-5.3.iges"), 3.78827401651e-06, 0.001929331377591282, 10 ** -17)
+        testExport("IGS", "IGES-5.3", os.path.join(tmp_dir, "screw_export-5.3.igs"), 3.78827401651e-06, 0.001929331377591282, 10 ** -17)
         #=========================================================================
         # Export a shape into XAO
         #=========================================================================
@@ -201,7 +201,7 @@ if __name__ == '__main__':
         #=========================================================================
         # Check error when export to unsupported format
         #=========================================================================
-        testExport("BREP", "", os.path.join(tmp_dir, "screw_export.dwg"), 3.78825807533e-06, 10 ** -17, True)
+        testExport("BREP", "", os.path.join(tmp_dir, "screw_export.dwg"), 3.78825807533e-06, 0.0019293313766693052, 10 ** -17, True)
         #=========================================================================
         # End of test
         #=========================================================================
index 37f7fae2c716da2865fe4d1b4a34f34e60eca4ad..ce36e40267c15a032c0e6cb5d386d7976e008fe8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5df9c7ebe79bc6cd4ac20b1361aca04dda282fa1..75fbcb896967d27f1291adc5b3e743fd58a15124 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 06c97f8b1f4eb2a28e51a60642842c61e8511229..d24a81936d7dbb6724635686fbe0c51167447823 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7e6c1b6b16e80474c9ad477c0be7a15ff6a0886b..0f6bfa2f9ccacc373d95d70312b3da0c3b93614d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2a539a976c5e783606ebb2d79da3a26af312f534..8c48bb60ca16846f715a58582e3734028828e0e9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 492f616e35020e7c614a38c9f32fe64d7c4214e9..060ee5d622306e9a35472b6ff1c4ed13ea728cca 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6599e40a53bc5769a7dfef60197d56c3b825a5ed..09a8528cc2daa3762dc8ccb2bf9142a409fe0f0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7b1bd8a577c1b8440ef236c238a3efa8aedb8b2e..831f36e968fdfcae08a58247d926734f6cdf7471 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cdfd5f50763aaa93549ea8b604bc6f8d00483bb6..491d35b18250d9066112e74dfa26e97396a711b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3060cd3695773921afabd8c97e9c3d009c113b53..591a87670b6caf52ab88a84d9def8c1dd7cc575b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0e424c558788cb4411875ea216e9bdd77d4a5886..c2b94262f96bf95fd4e6aaa64098cf4ee0514a74 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 200bbcdfa5bf542bcf8a2a8b3e1909e70e7eb7c6..da6be87791d06c1536089116e93ad52cab5f030f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 591398a8fc21ac99ec914d98fbd2d57ed084b73b..924bb362e68c8a7dab3d19d13288cf9b0b0fbfeb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 89d4f2ddce9626f1904f91002b3d4a81176008da..5debe9bfc5c59da57b0bca56874632ae313ec187 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 608edbf7621a4314fc79fd949a4e4c6dfba7813d..869cd936b67755d830131e2fe43dde45cef39d0f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3f37119ead9ebf4bffc4005ae21e5b01c566faa4..5dd9a92b68621398b57aef45abbcbe22f8d754db 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 40d34bc4cfcd85b1c1feeecf843e11ce24c768a9..6430fcbf320208910e2673930868962bc5124ce1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 747b2164c6ea8206bd9db79a239a06124ac81c41..9e7cfabc09f4d100738c71f2432d1acc426f09c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 67998ea22b93f337479f2bed1432d08878a10436..4321ee672db5c81ef8e7de1335fd60af8c3695dc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -43,7 +43,7 @@ def getShapePath(path):
     shapes_dir = os.path.join(os.getenv("DATA_DIR"), "Shapes")
     return os.path.join(shapes_dir, path)
 
-def testImport(theType, theFile, theVolume, theDelta, theErrorExpected = False):
+def testImport(theType, theFile, theVolume, theArea, theDelta, theErrorExpected = False):
     # Create a part for import
     aSession.startOperation("Create part for import")
     aPartFeature = aSession.moduleDocument().addFeature("Part")
@@ -88,6 +88,10 @@ def testImport(theType, theFile, theVolume, theDelta, theErrorExpected = False):
         aRefVolume = theVolume
         aResVolume = GeomAlgoAPI_ShapeTools.volume(aShape)
         assert (math.fabs(aResVolume - aRefVolume) < theDelta), "{0}: The volume is wrong: expected = {1}, real = {2}".format(theType, aRefVolume, aResVolume)
+        # Check shape area
+        aRefArea = theArea
+        aResArea = GeomAlgoAPI_ShapeTools.area(aShape)
+        assert (math.fabs(aResArea - aRefArea) < theDelta), "{0}: The area is wrong: expected = {1}, real = {2}".format(theType, aRefArea, aResArea)
 
 def testImportXAO():
     # Create a part for import
@@ -149,23 +153,23 @@ if __name__ == '__main__':
         # Create a shape imported from BREP
         #=========================================================================
         shape_path = getShapePath("Brep/solid.brep")
-        testImport("BREP", shape_path, 259982.297176, 10 ** -5)
+        testImport("BREP", shape_path, 259982.297176, 39481.415022205365, 10 ** -5)
         shape_path = shutil.copyfile(shape_path, os.path.join(tmp_dir, "solid.brp"))
-        testImport("BRP", shape_path, 259982.297176, 10 ** -5)
+        testImport("BRP", shape_path, 259982.297176, 39481.415022205365, 10 ** -5)
         #=========================================================================
         # Create a shape imported from STEP
         #=========================================================================
         shape_path = getShapePath("Step/screw.step")
-        testImport("STEP", shape_path, 3.78827401738e-06, 10 ** -17)
+        testImport("STEP", shape_path, 3.78827401738e-06, 0.0019293313778547085, 10 ** -17)
         shape_path = shutil.copyfile(shape_path, os.path.join(tmp_dir, "screw.stp"))
-        testImport("STEP", shape_path, 3.78827401738e-06, 10 ** -17)
+        testImport("STEP", shape_path, 3.78827401738e-06, 0.0019293313778547085, 10 ** -17)
         #=========================================================================
         # Create a shape imported from IGES
         #=========================================================================
         shape_path = getShapePath("Iges/bearing.igs")
-        testImport("IGS", shape_path, 1.3407098545036494e-08, 10 ** -25)
+        testImport("IGS", shape_path, 0.0, 1.3407098545036494e-08, 10 ** -25)
         shape_path = shutil.copyfile(shape_path, os.path.join(tmp_dir, "bearing.iges"))
-        testImport("IGES", shape_path, 1.3407098545036494e-08, 10 ** -25)
+        testImport("IGES", shape_path, 0.0, 1.3407098545036494e-08, 10 ** -25)
 
         #=========================================================================
         # Create a shape imported from XAO
@@ -182,8 +186,8 @@ if __name__ == '__main__':
         #=========================================================================
         # Check import errors
         #=========================================================================
-        testImport("BREP", "", 0, 10 ** -25, True)
+        testImport("BREP", "", 0, 0, 10 ** -25, True)
         shape_path = getShapePath("Brep/solid.dwg")
-        testImport("BREP", shape_path, 0, 10 ** -25, True)
+        testImport("BREP", shape_path, 0, 0, 10 ** -25, True)
         shape_path = getShapePath("Xao/wrong_file.xao")
-        testImport("XAO", shape_path, 0, 10 ** -25, True)
+        testImport("XAO", shape_path, 0, 0, 10 ** -25, True)
index 0eb6636334010c04a42e2809863b724592df7eeb..2521fdfe4edd0fbd7757e1b034dfe0d38585438e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b12d61cc6b72977d5d9a1799c9c20c7e6eb8dc44..5742c570feef9da8e9e55606103d688ee768b6be 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 80d43ff3a314717a6fdea1c6d6bcba0d3edbcc76..8bc87e142efb3881ed08e1b2ea08742afbf9b400 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 751a056c5dd109bfa7a6fd3430927bc48540802e..dd901e42b66d974556595e5650f58260703e3dce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 64f7505f2a360a1c272b7d564d9853d3b659a66c..415b5fee4c89d89a0897182aacf2a7e45d0702c9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b72b9456b194bad4c238638c30bec9ea6f457393..cb6a8cc7c38ea3e61c903ff5dd032666ab040e95 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 18b40e6cf172fa65a5f15dc205fc1afb1bae84b4..dd6d91d7cec19a2636ecdc28f038313d009f1157 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 98baa99872a4d906e990c40d55a5e7f5b0c161ee..45f6ac8628806e2a6008c2402fd8977a0cacf8ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c0a260ff2e86d5c85a957cbdcf842d156f3fecbc..7b851bdce43dcd72295d2f3e57fb3933f01becd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c901db7b63dcc4f540f88635a14d0af46771f927..acb76f9ec5bbc8e8106ee9835073cb228785e9b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6073d0d036659fd51548aab4e352cbf902fbb86b..08fbef03657b228a4f99a18771a6430586ab213d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e14183f5ed845866ba8bab6c97254b9742b3c050..642a15443bbbb0dd0bbbfea8cca4fb4298950d44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c86ec5f63342456988c0faad765e485238689ea5..8ba713cc1c1e2daca23b89f2436b301ca2a2194f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d3f3fb4d468baf3e3bdec91ecfc8febdabcb46ac..b314bd387c0f688b7fdc7365594f68cc28a817fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c49c6a10ab5c08e1b62b6ee99bb025f761c42daf..5a3bd8549e120b90d7192d7b89ccf40bfa0ed047 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1f9b7c2b5e125854519004e7cb67e49a3c5f198e..2a807f26331339a59f3bc0dcc1abebc0e3ef35f6 100644 (file)
@@ -9,5 +9,9 @@ Part_1_doc = Part_1.document()
 Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
 Export_1 = model.exportToFile(Part_1_doc, file_path,
                               [model.selection("SOLID", "Box_1_1")])
+
+file_xao = os.path.join(os.getenv("DATA_DIR"), "test.xao")
+Export_2 = model.exportToXAO(Part_1_doc, file_xao,
+                             model.selection("SOLID", "Box_1_1"), "author", "box")
 model.do()
 model.end()
index 5867d1bf5081ca6d543f88349660022aa6c7fa82..e4deafb4f346a9d5e566f97ee7771bcf64e1e314 100644 (file)
@@ -95,6 +95,7 @@ In case of first choice the format of exported file will be defined according to
 
 Selection list in the property panel contains a list of exported objects which can be selected in a viewer or object browser.
 
+*Note*: For XAO format, selection list is not available, the whole part is exported.
 
 **Apply** button exports the file.
   
@@ -109,20 +110,14 @@ Selection list in the property panel contains a list of exported objects which c
     :param list: A list of exporting objects
 
 
-.. py:function:: model.exportToXAO(Part_doc, FileNameString, [ObjectsList, Author, GeometryName])
+.. py:function:: model.exportToXAO(Part_doc, FileNameString, Author="", GeometryName="")
+.. py:function:: model.exportToXAO(Part_doc, FileNameString, Object, Author="", GeometryName="")
 
     :param part: The current part object
     :param string: The file name
-    :param list: A list of exporting objects, if necessary
-    :param string: The name of the author 
-    :param string: The name for the shape processed in GEOMETRY module
-
-Result
-""""""
-
-The Result of operation is an exported file.
-
-**See Also** a sample TUI Script of :ref:`tui_export_file` operation.
+    :param object: An exporting object, if necessary
+    :param string: The name of the author, empty by default
+    :param string: The name for the shape processed in GEOMETRY module, empty by default
 
 Result
 """"""
index c6f58a196aa9842bbace3d4d88e2a2fa2f78deb6..80f60a429cc83eebbba294f2de2b09819fea8ace 100644 (file)
@@ -36,7 +36,7 @@
               </groupbox>
             </groupbox>
           </case>
-        </switch>      
+        </switch>
 </feature>
       <feature id="ImportImageMacro" title="Import" tooltip="Import a file" icon="icons/Exchange/import.png"
                helpfile="importFeature.html"
diff --git a/src/ExchangePlugin/tests.set b/src/ExchangePlugin/tests.set
new file mode 100644 (file)
index 0000000..5fb4781
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestImport.py
+  TestExport.py
+  Test2290.py
+  Test2459.py
+  Test18710.py
+  TestExportToXAOWithFields.py
+  TestExportToXAOWithGroupNotUpdated.py
+  TestExport_FiniteValidator.py
+  TestExportPart_Failure_1.py
+  TestExportPart_Failure_2.py
+  TestExportPart_Failure_3.py
+  TestExportPart_FullPartSet.py
+  TestExportPart_FullPart_1.py
+  TestExportPart_FullPart_2.py
+  TestExportPart_PartSet.py
+  TestExportPart_Results_1.py
+  TestExportPart_Results_2.py
+  TestExportPart_Results_3.py
+  TestExportPart_Results_4.py
+  TestExportPart_Results_5.py
+  TestExportPart_Results_6.py
+  TestExportPart_Results_7.py
+  TestExportPart_Results_8.py
+  TestImportPart_AfterCurrent_1.py
+  TestImportPart_AfterCurrent_2.py
+  TestImportPart_AfterLast_1.py
+  TestImportPart_AfterLast_2.py
+  TestImportPart_AfterLast_3.py
+  TestImportPart_AfterLast_4.py
+  TestImportPart_AfterLast_5.py
+  TestImportPart_AfterLast_6.py
+  TestImportPart_Construction_1.py
+  TestImportPart_Construction_2.py
+  TestImportPart_Construction_3.py
+  TestImportPart_Construction_4.py
+  TestImportPart_Multiple.py
+  TestImportPart_ToEmptyPart.py
+  TestImportPart_ToEmptyPartSet.py
+)
\ No newline at end of file
index 0b8e3055ceea2574236c565de5a95816d09e0a8c..9cb86e10b10378a494ea23312c9e8f4fa64f4132 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -51,6 +51,9 @@ SET(PROJECT_HEADERS
   FeaturesAPI_Copy.h
   FeaturesAPI_ImportResult.h
   FeaturesAPI_Defeaturing.h
+  FeaturesAPI_PointCoordinates.h
+  FeaturesAPI_GeometryCalculation.h
+  FeaturesAPI_BoundingBox.h
 )
 
 SET(PROJECT_SOURCES
@@ -84,6 +87,9 @@ SET(PROJECT_SOURCES
   FeaturesAPI_Copy.cpp
   FeaturesAPI_ImportResult.cpp
   FeaturesAPI_Defeaturing.cpp
+  FeaturesAPI_PointCoordinates.cpp
+  FeaturesAPI_GeometryCalculation.cpp
+  FeaturesAPI_BoundingBox.cpp
 )
 
 SET(PROJECT_LIBRARIES
index 61581ee6f3287d1170659eafdd0fd205102911fd..93bcb43da1c17c6e500321f9479d5f3bcf498948 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b76fd2dc433da48ec55917f838656249d29c963a..01804317a15520c8b856ede947674fbf44439547 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -92,6 +92,7 @@
 %shared_ptr(FeaturesAPI_Copy)
 %shared_ptr(FeaturesAPI_ImportResult)
 %shared_ptr(FeaturesAPI_Defeaturing)
+%shared_ptr(FeaturesAPI_BoundingBox)
 
 
 %typecheck(SWIG_TYPECHECK_POINTER) std::pair<std::list<ModelHighAPI_Selection>, bool>, const std::pair<std::list<ModelHighAPI_Selection>, bool> & {
 %include "FeaturesAPI_RemoveResults.h"
 %include "FeaturesAPI_Copy.h"
 %include "FeaturesAPI_ImportResult.h"
+%include "FeaturesAPI_PointCoordinates.h"
+%include "FeaturesAPI_GeometryCalculation.h"
+%include "FeaturesAPI_BoundingBox.h"
index 92af597c3f06318fb7f4cfef8690c57e9b1ac763..b50d9d849f47a970293ce49e8567cbcc3d65e0f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 252e51e3bd1c80774fb13851b68974fe67501623..f8651f96d2323b468135bd605e2fb92192207421 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3ae8e718d00a69e9aa18af30a9822c7886bace3a..97000c2156d24d296238474704a63f9c2d028ea6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6b250aae13475af45690f2d9983c45a9d06c0d7d..c238a1684b5a2b026a4a4014fbf4b998b6462d91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 47a5ef7c9d9c31dff64419269c0177bbee42721e..08d7dfccb8dcfae18ab8f0b32f8432d3e3ede3a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5165b8d55cb0931541b8317b97ef3e0798c53135..442958e1ef8979645e001067a3bd88951042e087 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f156a6741786807c46c37d6297b6668fdf7ea86b..34c47f3bd630d6dd33f01790facf09d54668dc48 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 173b0b904f7d2809fbcd46c1350ee99c840f88c5..f1f06af06952cba9e221b08507e1fd5089546757 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 05e5d9d244e48f59797934a69f9720e87db24fc1..6b28d398d870c4314c239ccccbb9931eed5a1c05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0b23556f73a4869464d2be32d962fb03a6aa73e9..13690cd057a7cbc1c5450477d13e6f8080ed3471 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp b/src/FeaturesAPI/FeaturesAPI_BoundingBox.cpp
new file mode 100644 (file)
index 0000000..123a0a4
--- /dev/null
@@ -0,0 +1,83 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesAPI_BoundingBox.h"
+
+#include <FeaturesPlugin_CreateBoundingBox.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+#include <ModelHighAPI_Services.h>
+#include <ModelHighAPI_Tools.h>
+
+#include <ModelHighAPI_Dumper.h>
+#include <ModelHighAPI_Selection.h>
+#include <ModelHighAPI_Tools.h>
+
+//=================================================================================================
+FeaturesAPI_BoundingBox::FeaturesAPI_BoundingBox(
+                                    const std::shared_ptr<ModelAPI_Feature>& theFeature)
+  : ModelHighAPI_Interface(theFeature)
+{
+  initialize();
+}
+
+//=================================================================================================
+FeaturesAPI_BoundingBox::FeaturesAPI_BoundingBox(
+                                    const std::shared_ptr<ModelAPI_Feature>& theFeature,
+                                    const ModelHighAPI_Selection& theObject)
+:ModelHighAPI_Interface(theFeature)
+{
+  if (initialize()) {
+    fillAttribute(theObject, myobjectSelected);
+    execute();
+  }
+}
+
+//=================================================================================================
+FeaturesAPI_BoundingBox::~FeaturesAPI_BoundingBox()
+{
+}
+
+//=================================================================================================
+void FeaturesAPI_BoundingBox::dump(ModelHighAPI_Dumper& theDumper) const
+{
+  FeaturePtr aBase = feature();
+  const std::string& aDocName = theDumper.name(aBase->document());
+
+  AttributeSelectionPtr anAttrObject;
+    anAttrObject = aBase->selection(FeaturesPlugin_CreateBoundingBox::OBJECT_ID());
+
+  theDumper << aBase << " = model.getBoundingBox(" << aDocName << ", " << anAttrObject;
+
+  theDumper << ")" << std::endl;
+}
+
+//=================================================================================================
+BoundingBoxPtr getBoundingBox(const std::shared_ptr<ModelAPI_Document>& thePart,
+                    const ModelHighAPI_Selection& theObject)
+{
+
+  FeaturePtr aFeature =
+      thePart->addFeature(FeaturesPlugin_CreateBoundingBox::ID());
+
+  BoundingBoxPtr aBoundingBox;
+
+  aBoundingBox.reset(new FeaturesAPI_BoundingBox(aFeature, theObject));
+
+  return aBoundingBox;
+}
diff --git a/src/FeaturesAPI/FeaturesAPI_BoundingBox.h b/src/FeaturesAPI/FeaturesAPI_BoundingBox.h
new file mode 100644 (file)
index 0000000..959d0d4
--- /dev/null
@@ -0,0 +1,74 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesAPI_BoundingBox_H_
+#define FeaturesAPI_BoundingBox_H_
+
+#include "FeaturesAPI.h"
+
+#include "FeaturesPlugin_CreateBoundingBox.h"
+
+#include <ModelHighAPI_Interface.h>
+#include <ModelHighAPI_Macro.h>
+
+#include <memory>
+
+class ModelAPI_Document;
+class ModelHighAPI_Selection;
+
+/// \class FeaturesAPI_NormalToFace
+/// \ingroup CPPHighAPI
+/// \brief Interface for NormalToface feature.
+class FeaturesAPI_BoundingBox: public ModelHighAPI_Interface
+{
+public:
+  /// Constructor without values.
+  FEATURESAPI_EXPORT
+  explicit FeaturesAPI_BoundingBox(const std::shared_ptr<ModelAPI_Feature>& theFeature);
+
+  FEATURESAPI_EXPORT
+  explicit FeaturesAPI_BoundingBox(const std::shared_ptr<ModelAPI_Feature>& theFeature,
+                                   const ModelHighAPI_Selection& theObject);
+
+  /// Destructor.
+  FEATURESAPI_EXPORT
+  virtual ~FeaturesAPI_BoundingBox();
+
+  INTERFACE_1(FeaturesPlugin_CreateBoundingBox::ID(),
+              objectSelected, FeaturesPlugin_CreateBoundingBox::OBJECT_ID(),
+              ModelAPI_AttributeSelection, /** object selected*/)
+
+  /// Dump wrapped feature
+  FEATURESAPI_EXPORT
+  virtual void dump(ModelHighAPI_Dumper& theDumper) const;
+
+};
+
+/// Pointer on the NormalToface object.
+typedef std::shared_ptr<FeaturesAPI_BoundingBox> BoundingBoxPtr;
+
+/// \ingroup CPPHighAPI
+/// \brief get the bounding Box
+/// \param thePart the part
+/// \param theobject the object selected
+FEATURESAPI_EXPORT
+BoundingBoxPtr getBoundingBox(const std::shared_ptr<ModelAPI_Document>& thePart,
+                              const ModelHighAPI_Selection& theObject);
+
+#endif // FeaturesAPI_BoundingBox_H_
index 5e22a0065425caa3ef4db57f76626eaa31d4334d..b85a91a033bde70b782ed9ca2f03a14117b8ed66 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7a0aa43d516081693ef98fc366c15e2d055ee54f..2708965ec9108ea7e15f464ee3b1975b159df072 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8c9c9bb4d886c2c31b867f7bee944f906cc0fba8..d73874fdb11efaf00cf48cb139fea4e5d146a9ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8a8c1f31b84e2877b0f168007465e1212ddb8c00..4698ca2621a838ddf483b85881ea68d1b87bc584 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5accac9a39d4bd560756124961d15191c985fab3..9cb890e80e1db3a7b68e34b2238bdc3372acb008 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 960934d0029a94c195c1574a1a53cccea6f93842..f1ceda721d3ff8ca26f21d208d58b8a4aff92741 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6d4b090574febefb6fc8730c1be433a3269a9661..813730769a5701cc6f7272facfddb4cba98c28d4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 84d66913a814a016dc5731602c6eebc791e17fd5..697c2e7de1f96353f4dfbc312c96e4f494029626 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2577edda8a5672ee558b2de84619b92021be8129..dff1ec24efbe88228c746a763125ad3890078ee2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6ca1abff478e81b7b293c5457f4264cc60737942..24a3d6cc1a0094af391bd15738c88cf6d5446d3b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 332b5820878c9eb63c6d4ae8dddb8db63edaf8e2..c1e54e617eac7289d3db1545e418c9e35de8a175 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7eac5d6c882c3bfd2f71a69bea4e4e62f8a6b48c..8025a9111d6b48719fef96e24764cbf3710d3755 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e0e1a006b6a6d7e97f0fe38626981c77a654c28..dd8e44b8069b204c837619a82f0b000610ade2ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 829700182ffbc15e9e865dbac3cd7a51bac55ce7..a4fa3754c4c2ff43d9b8ef569a950b1ceae0b846 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesAPI/FeaturesAPI_GeometryCalculation.cpp b/src/FeaturesAPI/FeaturesAPI_GeometryCalculation.cpp
new file mode 100644 (file)
index 0000000..363c773
--- /dev/null
@@ -0,0 +1,45 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesAPI_GeometryCalculation.h"
+
+#include <FeaturesPlugin_GeometryCalculation.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+#include <ModelHighAPI_Services.h>
+#include <ModelHighAPI_Tools.h>
+
+//=================================================================================================
+std::list<double> getGeometryCalculation(const std::shared_ptr<ModelAPI_Document>& thePart,
+                                         const ModelHighAPI_Selection& theObject)
+{
+  FeaturePtr aPointCoodFeat = thePart->addFeature(FeaturesPlugin_GeometryCalculation::ID());
+
+  fillAttribute(theObject, aPointCoodFeat
+                      ->selection(FeaturesPlugin_GeometryCalculation::OBJECT_SELECTED_ID()));
+  std::list<double> res;
+
+  // obtain result
+  AttributeDoubleArrayPtr aResult = std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(
+      aPointCoodFeat->attribute(FeaturesPlugin_GeometryCalculation::RESULT_VALUES_ID()));
+
+  for (int i : {0, 1, 2})
+    res.push_back(aResult->value(i));
+
+  return res;
+}
diff --git a/src/FeaturesAPI/FeaturesAPI_GeometryCalculation.h b/src/FeaturesAPI/FeaturesAPI_GeometryCalculation.h
new file mode 100644 (file)
index 0000000..46b6b7a
--- /dev/null
@@ -0,0 +1,37 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesAPI_GeometryCalculation_H_
+#define FeaturesAPI_GeometryCalculation_H_
+
+#include "FeaturesAPI.h"
+
+#include <list>
+#include <memory>
+
+class ModelAPI_Document;
+class ModelHighAPI_Selection;
+
+/// \ingroup CPPHighAPI
+/// \brief get the geometry calculation (length, Surface area, volume)
+FEATURESAPI_EXPORT
+std::list<double> getGeometryCalculation(const std::shared_ptr<ModelAPI_Document>& thePart,
+                                         const ModelHighAPI_Selection& theObject);
+
+#endif // FeaturesAPI_GeometryCalculation_H_
\ No newline at end of file
index 923b246ed1a92b328935e2309152bb9d8de24165..22e93b7182bfcb875679e4b5ae22faff8cfa0634 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 06d6808ba607c31805ccedbb9dca3c75ab171918..aff79b25d790d4ebba51f9f366bdbf51353f6015 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 505cf8e12552edf710b387d8c1b85bab1f24cb7e..2f7fdf1a9ccd2776122617c87612edf121905917 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b3f6d070ac87a8a4d2e831126f3a7eddcacaeff3..854d57e76651c02043cd80aec4b603cc8e4af672 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 178c9933f7026114ed37446d92d6764e455c5a95..71fe50ec49bde8c3ac7246ebea847e8128ab7614 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a5b1fe72a21a31b276a09e67c1eae66818e98522..9438a6326543b26bb7c02ad19209c5626e02ccde 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d90446a46a5cbfea16e8c0fd2d05f6b876e3b71..61291949b64749712395b06e5093042878631af6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 92aa64b92b0b581c3403bc98f8e8fc8337e2f82c..31f990c0881d57b65232af0385d11ad4470b06d1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 755055a2069b77b7e8786db77a30b967e3cd225e..956f6bdd8c68aa403033e545fe96e1edb5cbfbaa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb99d1efb575a67fb5afe87db83cbe00c7b6b844..60c98de7803f689f2fe1cd75717a65d0ba5d5290 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0d2b4409d9d2e28458891330cb579438a264a13..c99cb7e1286ac5d90a1f16e9144f5a82a2aad698 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 70866fe4682594aa735b1307572829cf9d5900b3..71f77fd5ab8bd77b918eae8f300c7775b9edf903 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 85bf7e5777d469613ec0b38bbc26b59fa664a15b..2551dbe838fa1e679c9821997232966f56a2af36 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 99338f4a7dca0c7125501dae8f2307789c041591..dfe06cd2944d878cf9182574f69eb9801b9a004d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b73a18227745a6f7f4cd519d96a71bd81abf9ef3..dffb8c7bed881602b367aa5c844b9ee029c31b65 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d5a17998c73c78b9384caaae66477ea07d2250fb..6142f82f95d14da93982b2f6822c2b1112f23c68 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesAPI/FeaturesAPI_PointCoordinates.cpp b/src/FeaturesAPI/FeaturesAPI_PointCoordinates.cpp
new file mode 100644 (file)
index 0000000..d51fc3d
--- /dev/null
@@ -0,0 +1,44 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesAPI_PointCoordinates.h"
+
+#include <FeaturesPlugin_PointCoordinates.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+#include <ModelHighAPI_Services.h>
+#include <ModelHighAPI_Tools.h>
+
+std::list<double> getPointCoordinates(const std::shared_ptr<ModelAPI_Document>& thePart,
+                                      const ModelHighAPI_Selection& thePoint)
+{
+  FeaturePtr aPointCoordFeat = thePart->addFeature(FeaturesPlugin_PointCoordinates::ID());
+
+  fillAttribute(thePoint, aPointCoordFeat
+                      ->selection(FeaturesPlugin_PointCoordinates::POINT_SELECTED_ID()));
+  std::list<double> res;
+
+  // obtain result
+  AttributeDoubleArrayPtr aResult = std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(
+      aPointCoordFeat->attribute(FeaturesPlugin_PointCoordinates::RESULT_VALUES_ID()));
+
+  for ( int i : {0, 1, 2})
+    res.push_back( aResult->value(i));
+
+  return res;
+}
diff --git a/src/FeaturesAPI/FeaturesAPI_PointCoordinates.h b/src/FeaturesAPI/FeaturesAPI_PointCoordinates.h
new file mode 100644 (file)
index 0000000..30ed9d7
--- /dev/null
@@ -0,0 +1,37 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesAPI_PointCoordinates_H_
+#define FeaturesAPI_PointCoordinates_H_
+
+#include "FeaturesAPI.h"
+
+#include <list>
+#include <memory>
+
+class ModelAPI_Document;
+class ModelHighAPI_Selection;
+
+/// \ingroup CPPHighAPI
+/// \brief  Get the point coordinates.
+FEATURESAPI_EXPORT
+std::list<double> getPointCoordinates(const std::shared_ptr<ModelAPI_Document>& thePart,
+                                      const ModelHighAPI_Selection& thePoint);
+
+#endif // FeaturesAPI_PointCoordinates_H_
index 49a41dfb1631838eb982a0dd25ced9002fab4caf..b4de32a66b69bc26a635096b52daee4703bc2b67 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7fac550441ed63b3cc9ea5f45ac21af1887701ea..ed1ca8cfddab7a37a0791758f66752ed889b824b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ea8372915405ca091636747ac067a0f298e9cec2..50cf42d05a171fbf029e5bfdd9cdb3701d2d28f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index af066543f44275be5b87a95128c508e5c0e4235e..558301e6c90abf9def6045b7762f5d2324f9a230 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1701d204d8ea376ce795715f291951914564d819..e536a6b123baf3f2c45b29e74b287288758c178e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0fab200c76c907be2857b171fc25eb4e25293a07..1a15109e31b00d7ceebc0717f788471278766743 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7799776da1eb65ea312e34b82861336f00421ef5..89e87b2e347d88652da2e78195db641e3aea2a09 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cc1c78bf5af012ef66acb48762af955cd8b5ee54..e4feef09e6831bc85218b7148e91847bea897a0f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6ecc6cb89932e4784a323ef62a6b71811eb88c39..4ef17362e7fb54b843987ddcdb946a3ad02fb743 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aa8b327f2afabd0a17a018b3eca375c9ce2c62b5..fc22b3fda241aaf86f72672fe8d8ef92c76bf414 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c2ff9c217a0f891260752aa292313a38e399b932..c77c8a89a6f086e42e3abd63244704ccba71bebf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9a8baa43d4b0f5b8dd08c709f1f5f502747dd5b8..ceec6e71c470088ba6a2af0d79e119ddd9ce25fe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 24986a2220de37ecfc238e9914baa4d312dd59ad..5519c5de92a5d4a141fc57737acec5155c4be59b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 89c0a2b93c6dc62a7761248d7e90aa387b2d598d..03691b2ed2a3baa6a2abd3c44a36867aaaaa37a9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 010ef35d746abf045ff0b4b4c1c118157c219d7a..12423e10f047231b1c89d4306e363401a5255fcc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e261a147790fcee538c63fdcec346db80ccfd2f2..99adccd2cadef699435e7cd7769e55e4158b1515 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a1eaea96197855466c6de081a0fac65fa3c5960f..50e14579c262900df70a040579726b4d98d7e998 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5451e214c0eadb5c1d224829e1428b1f83aa65bb..86c1bd7c9e201a9fd41c949421986c19590b3e84 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a15dd91f64a48a2d7c89834ec56768c48cc6986e..3c652adbadc69dac3d5b3bc0ca6c4fc036bac70f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 87bcde20bbdff03ec00473db325a5d7c30e23236..97276e28c6dc98598f5362f71d505e4ed9d2b71a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 17ada7187e7c42fda139cd4ebb47fea682fc0974..ce4a8887e4df42d750a95ecc38b3aa48e31c0557 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -53,5 +53,8 @@
   #include "FeaturesAPI_RemoveResults.h"
   #include "FeaturesAPI_Copy.h"
   #include "FeaturesAPI_ImportResult.h"
+  #include "FeaturesAPI_PointCoordinates.h"
+  #include "FeaturesAPI_GeometryCalculation.h"
+  #include "FeaturesAPI_BoundingBox.h"
 
 #endif // FeaturesAPI_swig_H_
index 1dce791a91c48cc0b07a8e657e6e0f197598d6e1..4d52c6119e6e61c640b6db860caec407c006988c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -20,6 +20,7 @@
 INCLUDE(Common)
 INCLUDE(UnitTest)
 
+
 SET(PROJECT_HEADERS
     FeaturesPlugin.h
     FeaturesPlugin_Plugin.h
@@ -66,6 +67,11 @@ SET(PROJECT_HEADERS
     FeaturesPlugin_ImportResult.h
     FeaturesPlugin_Defeaturing.h
     FeaturesPlugin_VersionedChFi.h
+    FeaturesPlugin_PointCoordinates.h
+    FeaturesPlugin_GeometryCalculation.h
+    FeaturesPlugin_BoundingBox.h
+    FeaturesPlugin_CommonBoundingBox.h
+    FeaturesPlugin_CreateBoundingBox.h
 )
 
 SET(PROJECT_SOURCES
@@ -113,6 +119,11 @@ SET(PROJECT_SOURCES
     FeaturesPlugin_ImportResult.cpp
     FeaturesPlugin_Defeaturing.cpp
     FeaturesPlugin_VersionedChFi.cpp
+    FeaturesPlugin_PointCoordinates.cpp
+    FeaturesPlugin_GeometryCalculation.cpp
+    FeaturesPlugin_BoundingBox.cpp
+    FeaturesPlugin_CommonBoundingBox.cpp
+    FeaturesPlugin_CreateBoundingBox.cpp
 )
 
 SET(XML_RESOURCES
@@ -149,6 +160,10 @@ SET(XML_RESOURCES
   copy_widget.xml
   import_result_widget.xml
   defeaturing_widget.xml
+  point_coordinates_widget.xml
+  geometry_calculation_widget.xml
+  bounding_box_widget.xml
+  create_bounding_box_widget.xml
 )
 
 SET(TEXT_RESOURCES
@@ -166,6 +181,7 @@ INCLUDE_DIRECTORIES(
   ../GeomAPI
   ../GeomAlgoAPI
   ../GeomValidators
+  ../ModuleBase
   ../Events
   ../Config
   ${OpenCASCADE_INCLUDE_DIR}
@@ -190,502 +206,25 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Features)
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
-ADD_UNIT_TESTS(TestExtrusion.py
-               TestExtrusionOfCompound.py
-               TestExtrusionCut.py
-               TestExtrusionCut_BySize.py
-               TestExtrusionCut_ByPlanesAndOffsets.py
-               TestExtrusionCut_ByFaces.py
-               TestExtrusionCut_ThroughAll.py
-               TestExtrusionFuse.py
-               TestExtrusionFuse_BySize.py
-               TestExtrusionFuse_ByPlanesAndOffsets.py
-               TestExtrusionFuse_ThroughAll.py
-               TestExtrusion_ErrorMsg.py
-               TestExtrusion_ZeroOffsetError.py
-               TestExtrusion_ByFaces01.py
-               TestExtrusion_ByFaces02.py
-               TestExtrusion_ByFaces03.py
-               TestExtrusion_ByFaces04.py
-               TestExtrusion_ByFaces05.py
-               TestExtrusion_ByFaces06.py
-               TestExtrusion_ByFaces07.py
-               TestExtrusion_ByFaces08.py
-               TestExtrusion_ByFaces09.py
-               TestExtrusion_ByFaces10.py
-               TestExtrusion_ByFaces11.py
-               TestExtrusion_ByFaces12.py
-               TestExtrusion_ByFaces13.py
-               TestExtrusion_ByFaces14.py
-               TestExtrusion_ByFaces15.py
-               TestExtrusion_ByFaces16.py
-               TestExtrusion_ByFaces17.py
-               TestExtrusion_ByFaces18.py
-               TestExtrusion_ByFaces19.py
-               TestRevolution.py
-               TestRevolution_ByAngle.py
-               TestRevolutionOfPoint.py
-               TestRevolutionOfEdge.py
-               TestRevolutionOfCompound.py
-               TestRevolutionCut.py
-               TestRevolutionCut_ByAngle.py
-               TestRevolutionCut_ByPlanesAndOffsets.py
-               TestRevolutionCut_ThroughAll.py
-               TestRevolutionFuse.py
-               TestRevolutionFuse_ByAngle.py
-               TestRevolutionFuse_ByPlanesAndOffsets.py
-               TestRevolutionFuse_ThroughAll.py
-               TestCompositeFeaturesOnCompSolids.py
-               TestPartition.py
-               TestPartition_ErrorMsg.py
-               TestPlacement_Vertex_Vertex.py
-               TestPlacement_Edge_Vertex.py
-               TestPlacement_Edge_Edge.py
-               TestPlacement_Face_Vertex.py
-               TestPlacement_Face_Edge.py
-               TestPlacement_Face_Face.py
-               TestPlacement_Part_Part.py
-               TestPlacement_Complex.py
-               TestPlacement_ErrorMsg.py
-               TestPlacement_BodyShapesValidator.py
-               TestTranslation.py
-               TestTranslation_Part.py
-               TestRotation.py
-               TestRotation_ByAxis.py
-               TestRotation_ByPoints.py
-               TestRotation_ErrorMsg.py
-               TestMultiRotation_Part.py
-               TestMultiRotation_ErrorMsg.py
-               TestMultiTranslation_Part.py
-               TestMultiTranslation_ErrorMsg.py
-               TestSymmetry_Part.py
-               TestBoolean1.py
-               TestBoolean2.py
-               TestBoolean3.py
-               TestBooleanCompSolids.py
-               TestBooleanSmash.py
-               TestBooleanSplit.py
-               TestBooleanSplitWithPlane.py
-               TestBooleanSplit_ErrorMsg.py
-               TestMultiBoolean.py
-               TestSerialBoolean.py
-               TestBoolean_ErrorMsg.py
-               TestIntersection.py
-               TestIntersection_ErrorMsg.py
-               TestUnion.py
-               TestUnionFaces.py
-               TestUnion_ErrorMsg.py
-               TestRemoveSubShapes.py
-               TestRemoveSubShapes2.py
-               TestRemoveSubShapes3.py
-               TestRemoveSubShapes4.py
-               TestRemoveSubShapes5.py
-               TestRemoveSubShapes6.py
-               TestPipe.py
-               TestPipe_Edge.py
-               TestPipe_Wire.py
-               TestPipe_Compound.py
-               TestPipe_ErrorMsg.py
-               TestRecover.py
-               TestRecover_Compound.py
-               TestRecover_Compsolid1.py
-               TestRecover_Compsolid2.py
-               TestRecover1798.py
-               TestSplitEdgeVertex.py
-               TestSplitEdgeEdge.py
-               TestSplitEdgeEdgeIntersected.py
-               TestSplitEdgeWire.py
-               TestSplitEdgeFace.py
-               TestSplitEdgeShell.py
-               TestSplitEdgeSolid.py
-               TestSplitEdgeSolidIntersected.py
-               TestSplitWireVertex.py
-               TestSplitWireEdge.py
-               TestSplitWireWire.py
-               TestSplitWireFace.py
-               TestSplitWireShell.py
-               TestSplitWireSolid.py
-               TestSplitFaceVertex.py
-               TestSplitFaceEdge.py
-               TestSplitFaceEdgeInside.py
-               TestSplitFaceEdgePerpendicular.py
-               TestSplitFaceWire.py
-               TestSplitFaceFace.py
-               TestSplitFaceShell.py
-               TestSplitFaceSolid.py
-               TestSplitCompFaceSolid.py
-               TestSplitShellVertex.py
-               TestSplitShellEdge.py
-               TestSplitShellConstrPlane.py
-               TestSplitShellWire.py
-               TestSplitShellFace.py
-               TestSplitShellShell.py
-               TestSplitShellSolid.py
-               TestSplitSolid2ConstructionPlanes.py
-               TestSplitSolidEdge.py
-               TestSplitSolidFace.py
-               TestSplitSolidCompFace.py
-               TestSplitSolidShell.py
-               TestSplitSolidCompShell.py
-               TestSplitCompsolidPlane.py
-               TestPartition2Faces.py
-               TestPartition2Solids.py
-               TestPartition2Wires.py
-               TestPartitionBox4Planes.py
-               TestPartitionEdgeSolid.py
-               TestPartitionFace2Solid.py
-               TestPartitionFaceSolid.py
-               TestPartitionFaceWire.py
-               TestPartitionInclinedFaceSolid.py
-               TestPartitionWireFaceSolid.py
-               TestUnion4CurvedFaces.py
-               TestUnion4CurvedFaces_2.py
-               TestUnion4Faces.py
-               TestUnionOfUnion.py
-               TestMeasurementLength.py
-               TestMeasurementDistance.py
-               TestMeasurementRadius.py
-               TestMeasurementAngle.py
-               TestMeasurementAngle3Points.py
-               TestMeasurementPresentation.py
-               TestFusionFaces.py
-               TestFusionFaces2697.py 
-               Test1379.py
-               Test1922.py
-               Test1942.py
-               Test1915.py
-               Test2023.py
-               Test2046.py
-               Test2038.py
-               Test2172.py
-               Test2194.py
-               Test2197_1.py
-               Test2197_2.py
-               Test2197_3.py
-               Test2197_4.py
-               Test2215.py
-               Test2222.py
-               Test2233.py
-               Test2231.py
-               Test2240.py
-               Test2246.py
-               Test2248.py
-               Test2251.py
-               Test2255.py
-               Test2289.py
-               Test2304.py
-               Test2304_2.py
-               Test2375.py
-               Test2377.py
-               Test2394.py
-               Test2395.py
-               Test2419_1.py
-               Test2419_2.py
-               Test2419_3.py
-               Test2465.py
-               Test2495.py
-               Test2514.py
-               Test2520.py
-               TestBooleanCut_CompSolid_CompSolid.py
-               TestBooleanCut_CompSolidCompound_CompSolidCompound.py
-               TestBooleanCut_Edge_Edge.py
-               TestBooleanCut_Edge_Face.py
-               TestBooleanCut_EdgeCompound_EdgeCompound.py
-               TestBooleanCut_EdgeCompound_Solid.py
-               TestBooleanCut_Face_Face.py
-               TestBooleanCut_Face_Solid.py
-               TestBooleanCut_FaceCompound_FaceCompound.py
-               TestBooleanCut_Shell_Shell.py
-               TestBooleanCut_ShellCompound_ShellCompound.py
-               TestBooleanCut_Solid_Solid.py
-               TestBooleanCut_SolidCompound_SolidCompound.py
-               TestBooleanCut_Vertex_Vertex.py
-               TestBooleanCut_VertexCompound_Solid.py
-               TestBooleanCut_VertexCompound_VertexCompound.py
-               TestBooleanCut_Wire_Face.py
-               TestBooleanCut_Wire_Wire.py
-               TestBooleanCut_WireCompound_WireCompound.py
-               TestBooleanCut_Compound_Solid.py
-               TestBooleanCut_ErrorMsg.py
-               TestBooleanCut_SolidsHistory.py
-               TestBooleanSmash_Face_Face.py
-               TestBooleanSmash_SubSolid_Solid.py
-               TestBooleanSmash_CompSolid_Solid.py
-               TestBooleanSmash_ErrorMsg.py
-               TestBooleanSmash_SolidsHistory.py
-               TestBooleanFuse_SimpleMode.py
-               TestBooleanFuse_RemoveEdges.py
-               TestBooleanFuse_ErrorMsg.py
-               TestBooleanCommon_Vertex_Vertex.py
-               TestBooleanCommon_VertexCompound_VertexCompound.py
-               TestBooleanCommon_Edge_Edge.py
-               TestBooleanCommon_EdgeCompound_EdgeCompound.py
-               TestBooleanCommon_Wire_Wire.py
-               TestBooleanCommon_WireCompound_WireCompound.py
-               TestBooleanCommon_Face_Face.py
-               TestBooleanCommon_Face_Plane.py
-               TestBooleanCommon_FaceCompound_FaceCompound.py
-               TestBooleanCommon_Shell_Shell.py
-               TestBooleanCommon_ShellCompound_ShellCompound.py
-               TestBooleanCommon_Solid_Face.py
-               TestBooleanCommon_Solid_Shell.py
-               TestBooleanCommon_Solid_Solid.py
-               TestBooleanCommon_SolidCompound_Face.py
-               TestBooleanCommon_SolidCompound_Shell.py
-               TestBooleanCommon_SolidCompound_SolidCompound.py
-               TestBooleanCommon_SubCompound_Solid.py
-               TestBooleanCommon_SubSolid_Solid.py
-               TestBooleanCommon_CompSolid_Face.py
-               TestBooleanCommon_CompSolid_Shell.py
-               TestBooleanCommon_CompSolid_CompSolid.py
-               TestBooleanCommon_CompSolidCompound_Face.py
-               TestBooleanCommon_CompSolidCompound_Shell.py
-               TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
-               TestBooleanCommon_ErrorMsg.py
-               TestBooleanCommon_SolidsHistory.py
-               Test2596.py
-               Test2592.py
-               Test2588.py
-               Test1467.py
-               TestPartitionSubCompsolidWithCompSolid1.py
-               TestPartitionSubCompsolidWithCompSolid2.py
-               TestPartitionSubCompsolidWithCompSolid3.py
-               TestPartitionSubCompsolidWithSolid1.py
-               TestPartitionSubCompsolidWithSolid2.py
-               TestPartitionSubCompsolidWithSolid3.py
-               TestPartitionSubCompsolidWithSolid4.py
-               TestPartitionSubCompsolidWithSolid5.py
-               TestPartitionSubCompsolidWithFace1.py
-               TestPartitionSubCompsolidWithFace2.py
-               TestPartitionSubCompsolidWithFace3.py
-               TestPartitionSubCompsolidWithFace4.py
-               TestPartitionSubCompsolidWithFace5.py
-               TestPartitionSubCompsolidWithPlane1.py
-               TestPartitionSubCompsolidWithPlane2.py
-               TestPartitionSubCompsolidWithPlane3.py
-               TestPartitionSubCompsolidWithPlane4.py
-               TestPartitionSubCompsolidWithPlane5.py
-               TestPartitionArgsUpdate.py
-               TestPartition_SolidsHistory.py
-               TestBooleanFuse_Vertex_Vertex.py
-               TestBooleanFuse_VertexCompound_VertexCompound.py
-               TestBooleanFuse_Edge_Edge.py
-               TestBooleanFuse_EdgeCompound_EdgeCompound.py
-               TestBooleanFuse_Wire_Wire.py
-               TestBooleanFuse_WireCompound_WireCompound.py
-               TestBooleanFuse_Face_Face.py
-               TestBooleanFuse_FaceCompound_FaceCompound.py
-               TestBooleanFuse_Shell_Shell.py
-               TestBooleanFuse_ShellCompound_ShellCompound.py
-               TestBooleanFuse_Solid_Solid.py
-               TestBooleanFuse_SolidCompound_SolidCompound.py
-               TestBooleanFuse_CompSolid_Face.py
-               TestBooleanFuse_CompSolid_CompSolid.py
-               TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
-               TestBooleanFuse_SolidsHistory.py
-               TestFillet.py
-               TestFillet1.py
-               TestFillet_ErrorMsg.py
-               TestFillet_History.py
-               TestScale1.py
-               TestScale2.py
-               Test1816.py
-               Test1876.py
-               Test2225.py
-               Test2631.py
-               Test2636.py
-               Test2650.py
-               Test2681.py
-               Test2686.py
-               Test2689.py
-               Test2693.py
-               Test2698.py
-               Test2701.py
-               Test2724.py
-               Test2692.py
-               Test2617.py
-               Test2729.py
-               Test2738.py
-               Test2751.py
-               Test2826.py
-               Test2854.py
-               Test2878.py
-               Test2920.py
-               Test2971.py
-               Test3014.py
-               TestBooleanCommon_MultiLevelCompound_v0_1.py
-               TestBooleanCommon_MultiLevelCompound_v0_2.py
-               TestBooleanCommon_MultiLevelCompound_v20190506_1.py
-               TestBooleanCommon_MultiLevelCompound_v20190506_2.py
-               TestBooleanCut_MultiLevelCompound_v0_1.py
-               TestBooleanCut_MultiLevelCompound_v0_2.py
-               TestBooleanCut_MultiLevelCompound_v20190506_1.py
-               TestBooleanCut_MultiLevelCompound_v20190506_2.py
-               TestBooleanFuse_MultiLevelCompound_v0_1.py
-               TestBooleanFuse_MultiLevelCompound_v0_2.py
-               TestBooleanFuse_MultiLevelCompound_v0_3.py
-               TestBooleanFuse_MultiLevelCompound_v0_4.py
-               TestBooleanFuse_MultiLevelCompound_v20190506_1.py
-               TestBooleanFuse_MultiLevelCompound_v20190506_2.py
-               TestBooleanFuse_MultiLevelCompound_v20190506_3.py
-               TestBooleanFuse_MultiLevelCompound_v20190506_4.py
-               TestBooleanSmash_MultiLevelCompound_v0_1.py
-               TestBooleanSmash_MultiLevelCompound_v0_2.py
-               TestBooleanSmash_MultiLevelCompound_v20190506_1.py
-               TestBooleanSmash_MultiLevelCompound_v20190506_2.py
-               TestBooleanSplit_MultiLevelCompound_v0_1.py
-               TestBooleanSplit_MultiLevelCompound_v0_2.py
-               TestBooleanSplit_MultiLevelCompound_v20190506_1.py
-               TestBooleanSplit_MultiLevelCompound_v20190506_2.py
-               TestPartition_MultiLevelCompound_v0_1.py
-               TestPartition_MultiLevelCompound_v0_2.py
-               TestPartition_MultiLevelCompound_v0_3.py
-               TestPartition_MultiLevelCompound_v20190506_1.py
-               TestPartition_MultiLevelCompound_v20190506_2.py
-               TestPartition_MultiLevelCompound_v20190506_3.py
-               TestUnion_MultiLevelCompound_v0.py
-               TestUnion_MultiLevelCompound_v20190506.py
-               TestUnionFaces_v20190506.py
-               TestRemoveResultsBody.py
-               TestRemoveResultsConstruction.py
-               TestRemoveResultsPart.py
-               Test17000.py
-               Test17261.py
-               Test17281.py
-               TestChamfer.py
-               Test3033.py
-               Test3076.py
-               Test17909.py
-               TestCopy_ErrorMsg.py
-               TestCopyFeature.py
-               TestCopyFeatureMoveGroupOfFeature.py
-               TestCopyMoveResult.py
-               TestCopyMoveSubShapes.py
-               TestCopyNames.py
-               TestCopySubShapes.py
-               TestCopyWholeFeature.py
-               TestImportResult.py
-               TestDefeaturing_ErrorMsg.py
-               TestDefeaturing_OnSolid1.py
-               TestDefeaturing_OnSolid2.py
-               TestDefeaturing_OnSolid3.py
-               TestDefeaturing_OnCompsolid1.py
-               TestDefeaturing_OnCompsolid2.py
-               TestDefeaturing_OnCompsolid3.py
-               TestDefeaturing_OnCompound.py
-               Test3137_1.py
-               Test3137_2.py
-               Test2918.py
-               Test3139.py
-               TestPlacement_MultiLevelCompound_v0_1.py
-               TestPlacement_MultiLevelCompound_v0_2.py
-               TestPlacement_MultiLevelCompound_v0_3.py
-               TestPlacement_MultiLevelCompound_v0_4.py
-               TestPlacement_MultiLevelCompound_v0_5.py
-               TestPlacement_MultiLevelCompound_v0_6.py
-               TestPlacement_MultiLevelCompound_v95_1.py
-               TestPlacement_MultiLevelCompound_v95_2.py
-               TestPlacement_MultiLevelCompound_v95_3.py
-               TestPlacement_MultiLevelCompound_v95_4.py
-               TestPlacement_MultiLevelCompound_v95_5.py
-               TestPlacement_MultiLevelCompound_v95_6.py
-               TestTranslation_MultiLevelCompound_v0_1.py
-               TestTranslation_MultiLevelCompound_v0_2.py
-               TestTranslation_MultiLevelCompound_v0_3.py
-               TestTranslation_MultiLevelCompound_v0_4.py
-               TestTranslation_MultiLevelCompound_v0_5.py
-               TestTranslation_MultiLevelCompound_v95_1.py
-               TestTranslation_MultiLevelCompound_v95_2.py
-               TestTranslation_MultiLevelCompound_v95_3.py
-               TestTranslation_MultiLevelCompound_v95_4.py
-               TestTranslation_MultiLevelCompound_v95_5.py
-               TestRotation_MultiLevelCompound_v0_1.py
-               TestRotation_MultiLevelCompound_v0_2.py
-               TestRotation_MultiLevelCompound_v0_3.py
-               TestRotation_MultiLevelCompound_v0_4.py
-               TestRotation_MultiLevelCompound_v95_1.py
-               TestRotation_MultiLevelCompound_v95_2.py
-               TestRotation_MultiLevelCompound_v95_3.py
-               TestRotation_MultiLevelCompound_v95_4.py
-               TestSymmetry_MultiLevelCompound_v0_1.py
-               TestSymmetry_MultiLevelCompound_v0_2.py
-               TestSymmetry_MultiLevelCompound_v0_3.py
-               TestSymmetry_MultiLevelCompound_v0_4.py
-               TestSymmetry_MultiLevelCompound_v0_5.py
-               TestSymmetry_MultiLevelCompound_v95_1.py
-               TestSymmetry_MultiLevelCompound_v95_2.py
-               TestSymmetry_MultiLevelCompound_v95_3.py
-               TestSymmetry_MultiLevelCompound_v95_4.py
-               TestSymmetry_MultiLevelCompound_v95_5.py
-               TestScale_MultiLevelCompound_v0_1.py
-               TestScale_MultiLevelCompound_v0_2.py
-               TestScale_MultiLevelCompound_v0_3.py
-               TestScale_MultiLevelCompound_v0_4.py
-               TestScale_MultiLevelCompound_v95_1.py
-               TestScale_MultiLevelCompound_v95_2.py
-               TestScale_MultiLevelCompound_v95_3.py
-               TestScale_MultiLevelCompound_v95_4.py
-               TestMultiTranslation_MultiLevelCompound_v0_1.py
-               TestMultiTranslation_MultiLevelCompound_v0_2.py
-               TestMultiTranslation_MultiLevelCompound_v0_3.py
-               TestMultiTranslation_MultiLevelCompound_v0_4.py
-               TestMultiTranslation_MultiLevelCompound_v95_1.py
-               TestMultiTranslation_MultiLevelCompound_v95_2.py
-               TestMultiTranslation_MultiLevelCompound_v95_3.py
-               TestMultiTranslation_MultiLevelCompound_v95_4.py
-               TestMultiRotation_MultiLevelCompound_v0_1.py
-               TestMultiRotation_MultiLevelCompound_v0_2.py
-               TestMultiRotation_MultiLevelCompound_v0_3.py
-               TestMultiRotation_MultiLevelCompound_v0_4.py
-               TestMultiRotation_MultiLevelCompound_v95_1.py
-               TestMultiRotation_MultiLevelCompound_v95_2.py
-               TestMultiRotation_MultiLevelCompound_v95_3.py
-               TestMultiRotation_MultiLevelCompound_v95_4.py
-               TestIntersection_MultiLevelCompound_v0_1.py
-               TestIntersection_MultiLevelCompound_v0_2.py
-               TestIntersection_MultiLevelCompound_v95_1.py
-               TestIntersection_MultiLevelCompound_v95_2.py
-               TestFillet_MultiLevelCompound_v0_1.py
-               TestFillet_MultiLevelCompound_v0_2.py
-               TestFillet_MultiLevelCompound_v0_3.py
-               TestFillet_MultiLevelCompound_v0_4.py
-               TestFillet_MultiLevelCompound_v95_1.py
-               TestFillet_MultiLevelCompound_v95_2.py
-               TestFillet_MultiLevelCompound_v95_3.py
-               TestFillet_MultiLevelCompound_v95_4.py
-               TestChamfer_MultiLevelCompound_v0_1.py
-               TestChamfer_MultiLevelCompound_v0_2.py
-               TestChamfer_MultiLevelCompound_v0_3.py
-               TestChamfer_MultiLevelCompound_v0_4.py
-               TestChamfer_MultiLevelCompound_v95_1.py
-               TestChamfer_MultiLevelCompound_v95_2.py
-               TestChamfer_MultiLevelCompound_v95_3.py
-               TestChamfer_MultiLevelCompound_v95_4.py
-               Test18836.py
-               Test2817.py
-               Test19065.py
-               Test19066.py
-               Test19115.py
-               Test19196.py
-               TestFillet1D_ErrorMsg.py
-               TestFillet1D_Vertices_1.py
-               TestFillet1D_Vertices_2.py
-               TestFillet1D_Vertices_3.py
-               TestFillet1D_Vertices_4.py
-               TestFillet1D_Vertices_5.py
-               TestFillet1D_Vertices_6.py
-               TestFillet1D_Vertices_7.py
-               TestFillet1D_Vertices_8.py
-               TestFillet1D_Vertices_9.py
-               TestFillet1D_Wire_1.py
-               TestFillet1D_Wire_2.py
-               TestFillet1D_Wire_3.py
-               TestFillet1D_Wire_4.py
-               TestFillet1D_Wire_5.py
-               Test19931.py
-               Test20027.py
-               Test20245_1.py
-               Test20245_2.py
-               Test20245_3.py
-               Test20247.py
+INCLUDE(tests.set)
+
+ADD_UNIT_TESTS(
+  ${TEST_NAMES}
 )
+
+IF(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/FeaturesPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+ENDIF(${HAVE_SALOME})
diff --git a/src/FeaturesPlugin/CTestTestfileInstall.cmake b/src/FeaturesPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..42056d5
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+#SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
+#SET(TIMEOUT        300)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 7afed5c262633fed24e63cec26da4e7a05ba7e35..14601d4f3275d3354650f82d74c7288c8123fb98 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fdcf7a33c8d80abaad9e08c01370b158d891ff95..ed051dc00015ad7034cbe7fe24cce215e82c4df5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ffc44fd35af2792758e970a1c80edeffb820c5e0..f6bf522665117ede34710d71038165f30819739f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 74380af7e1a809a2a2387242bdd4139771d6c17c..085107edb431bd23ece7571978a4b23b0d632188 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 93525cf2dc7564cc69bed2eb26970055cbeaa7e8..4afb71db76a795b305166b1aeaae9cc05a2643fe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e7f73ce8e412470099f41762346d9130202d025c..f24d6f78bb7d322edfbe041f6256b3b4806b23ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 717b67df48d11463740f53a9f01b5f13f2a1a5d5..f57a838aefa6f47a4b8bb21af35b2ed0f8e2ecc3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9a49e23e80a6f02dd5e32b31553c1f5cfa0de3b5..de0c313baa9bf5c62ddb8a4043b67d9dcc854413 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8009c0efa954913d653ac927cb3d8451fdfd1b4e..425ff58d2a4b7a509ddfa3d852774171d3d0d904 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3ab6d589c74eababd55b07e1fc95a50cc32cf734..1214bb2147d2c0ffdf712727fb27c44dc5e20313 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -185,7 +185,7 @@ void FeaturesPlugin_BooleanFuse::execute()
       std::shared_ptr<GeomAlgoAPI_Boolean> aCutAlgo(
         new GeomAlgoAPI_Boolean(aOneObjectList, aShapesToAdd, GeomAlgoAPI_Tools::BOOL_CUT));
 
-      if (GeomAlgoAPI_ShapeTools::volume(aCutAlgo->shape()) > 1.e-27) {
+      if (GeomAlgoAPI_ShapeTools::area(aCutAlgo->shape()) > 1.e-27) {
         aSolidsToFuse.push_back(aCutAlgo->shape());
         aMakeShapeList->appendAlgo(aCutAlgo);
       }
index 698319ac5e4e350dfb64d92e5a01cf42c6c99caf..b378bd68b9eabb9a47b0fa14682ffcadc9a65446 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0c7f3bab1f292731aa907c874482204f10440651..2eb3753cccdbad18049892826a866ba343f87438 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -110,7 +110,7 @@ void FeaturesPlugin_BooleanSmash::execute()
                               aShapesToAdd,
                               GeomAlgoAPI_Tools::BOOL_CUT));
 
-    if (GeomAlgoAPI_ShapeTools::volume(anObjectsCutAlgo->shape()) > 1.e-27) {
+    if (GeomAlgoAPI_ShapeTools::area(anObjectsCutAlgo->shape()) > 1.e-27) {
       aShapesToSmash.clear();
       aShapesToSmash.push_back(anObjectsCutAlgo->shape());
       aMakeShapeList->appendAlgo(anObjectsCutAlgo);
@@ -122,7 +122,7 @@ void FeaturesPlugin_BooleanSmash::execute()
                               aShapesToAdd,
                               GeomAlgoAPI_Tools::BOOL_CUT));
 
-    if (GeomAlgoAPI_ShapeTools::volume(aToolsCutAlgo->shape()) > 1.e-27) {
+    if (GeomAlgoAPI_ShapeTools::area(aToolsCutAlgo->shape()) > 1.e-27) {
       aTools.clear();
       aTools.push_back(aToolsCutAlgo->shape());
       aMakeShapeList->appendAlgo(aToolsCutAlgo);
index 890ef1ad7c1834d81b3b7bb1fb963c059e6556d8..08d3b1c0325c5908280eb024f3e3d2dd35dc00ac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/FeaturesPlugin_BoundingBox.cpp b/src/FeaturesPlugin/FeaturesPlugin_BoundingBox.cpp
new file mode 100644 (file)
index 0000000..f2867fe
--- /dev/null
@@ -0,0 +1,199 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesPlugin_BoundingBox.h"
+
+#include <Config_PropManager.h>
+
+#include <FeaturesPlugin_CreateBoundingBox.h>
+
+#include <GeomAlgoAPI_BoundingBox.h>
+
+#include <ModelAPI_AttributeSelection.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+#include <ModelAPI_AttributeBoolean.h>
+#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_Data.h>
+#include <ModelAPI_Session.h>
+#include <ModelAPI_Validator.h>
+
+#include <iomanip>
+#include <sstream>
+
+//=================================================================================================
+FeaturesPlugin_BoundingBox::FeaturesPlugin_BoundingBox()
+{
+}
+
+//=================================================================================================
+void FeaturesPlugin_BoundingBox::initAttributes()
+{
+  // attribute for object selected
+  data()->addAttribute(OBJECT_ID(), ModelAPI_AttributeSelection::typeId());
+
+  // attributes for result message and values
+  data()->addAttribute(X_MIN_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Y_MIN_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Z_MIN_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(X_MAX_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Y_MAX_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Z_MAX_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(CREATEBOX_ID(), ModelAPI_AttributeBoolean::typeId());
+
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), X_MIN_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Y_MIN_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Z_MIN_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), X_MAX_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Y_MAX_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Z_MAX_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), CREATEBOX_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), RESULT_VALUES_ID());
+
+  data()->addAttribute(RESULT_VALUES_ID(), ModelAPI_AttributeDoubleArray::typeId());
+
+  data()->realArray(RESULT_VALUES_ID())->setSize(6);
+
+}
+
+//=================================================================================================
+void FeaturesPlugin_BoundingBox::execute()
+{
+  if (!updateValues())
+    return;
+
+  createBoxByTwoPoints();
+
+  if (boolean(CREATEBOX_ID())->value()) {
+    if (!myCreateFeature.get())
+      createBox();
+    updateBox();
+  } else {
+    if (myCreateFeature.get()) {
+      myCreateFeature->eraseResults();
+      SessionPtr aSession = ModelAPI_Session::get();
+      DocumentPtr aDoc =  aSession->activeDocument();
+      aDoc->removeFeature(myCreateFeature);
+      myCreateFeature.reset();
+    }
+  }
+}
+
+//=================================================================================================
+void FeaturesPlugin_BoundingBox::attributeChanged(const std::string& theID)
+{
+  if (theID == OBJECT_ID()) {
+    if (myCreateFeature.get())
+      updateBox();
+  }
+}
+
+//=================================================================================================
+AttributePtr FeaturesPlugin_BoundingBox::attributResultValues()
+{
+   return attribute(RESULT_VALUES_ID());
+}
+
+//=================================================================================================
+bool FeaturesPlugin_BoundingBox::updateValues()
+{
+  AttributeSelectionPtr aSelection = selection(OBJECT_ID());
+  if (aSelection->isInitialized()) {
+    AttributeDoubleArrayPtr aValues =
+      std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(attribute(RESULT_VALUES_ID()));
+    std::stringstream streamxmin;
+    std::stringstream streamymin;
+    std::stringstream streamzmin;
+    std::stringstream streamxmax;
+    std::stringstream streamymax;
+    std::stringstream streamzmax;
+
+    GeomShapePtr aShape;
+    if (aSelection && aSelection->isInitialized()) {
+      aShape = aSelection->value();
+      if (!aShape && aSelection->context())
+        aShape = aSelection->context()->shape();
+    }
+
+    if (aShape && !aShape->isEqual(myShape)) {
+      double aXmin, aXmax, aYmin, aYmax, aZmin, aZmax;
+      std::string anError;
+      if (!GetBoundingBox(aShape,
+                          aXmin, aXmax,
+                          aYmin, aYmax,
+                          aZmin, aZmax,
+                          anError)) {
+        setError("Error in bounding box calculation :" +  anError);
+        return false;
+      }
+
+      myShape = aShape;
+      streamxmin << std::setprecision(14) << aXmin;
+      aValues->setValue(0, aXmin);
+      streamxmax << std::setprecision(14) << aXmax;
+      aValues->setValue(1, aXmax);
+      streamymin << std::setprecision(14) << aYmin;
+      aValues->setValue(2, aYmin);
+      streamymax << std::setprecision(14) << aYmax;
+      aValues->setValue(3, aYmax);
+      streamzmin << std::setprecision(14) << aZmin;
+      aValues->setValue(4, aZmin);
+      streamzmax << std::setprecision(14) << aZmax;
+      aValues->setValue(5, aZmax);
+      string(X_MIN_COORD_ID() )->setValue( "X = " +  streamxmin.str() );
+      string(Y_MIN_COORD_ID() )->setValue( "Y = " +  streamymin.str() );
+      string(Z_MIN_COORD_ID() )->setValue( "Z = " +  streamzmin.str() );
+      string(X_MAX_COORD_ID() )->setValue( "X = " +  streamxmax.str() );
+      string(Y_MAX_COORD_ID() )->setValue( "Y = " +  streamymax.str() );
+      string(Z_MAX_COORD_ID() )->setValue( "Z = " +  streamzmax.str() );
+    }
+  }
+  return true;
+}
+
+//=================================================================================================
+void FeaturesPlugin_BoundingBox::createBox()
+{
+  SessionPtr aSession = ModelAPI_Session::get();
+
+  DocumentPtr aDoc =  aSession->activeDocument();
+
+  if (aDoc.get()) {
+    myCreateFeature = aDoc->addFeature(FeaturesPlugin_CreateBoundingBox::ID());
+  }
+}
+
+//=================================================================================================
+void FeaturesPlugin_BoundingBox::updateBox()
+{
+  myCreateFeature->boolean(FeaturesPlugin_CreateBoundingBox::COMPUTE_ID())->setValue(false);
+  myCreateFeature->selection(FeaturesPlugin_CreateBoundingBox::OBJECT_ID())
+                        ->setValue(selection(OBJECT_ID())->context(),
+                                   selection(OBJECT_ID())->value());
+
+  AttributeDoubleArrayPtr aValuesFeatures =
+    std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>
+                              (myCreateFeature->attribute(RESULT_VALUES_ID()));
+  AttributeDoubleArrayPtr aValues =
+    std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(attribute(RESULT_VALUES_ID()));
+  for (int anI=0; anI < 6; anI++)
+    aValuesFeatures->setValue(anI,aValues->value(anI));
+
+  myCreateFeature->execute();
+  myCreateFeature->boolean(FeaturesPlugin_CreateBoundingBox::COMPUTE_ID())->setValue(true);
+}
diff --git a/src/FeaturesPlugin/FeaturesPlugin_BoundingBox.h b/src/FeaturesPlugin/FeaturesPlugin_BoundingBox.h
new file mode 100644 (file)
index 0000000..9238942
--- /dev/null
@@ -0,0 +1,140 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesPlugin_BoundingBox_H_
+#define FeaturesPlugin_BoundingBox_H_
+
+#include <FeaturesPlugin_CommonBoundingBox.h>
+
+/// \class FeaturesPlugin_BoundingBox
+/// \ingroup Plugins
+/// \brief Feature to view the Bounding Box.
+
+class FeaturesPlugin_BoundingBox : public FeaturesPlugin_CommonBoundingBox
+{
+public:
+  /// Bounding box macro kind.
+  inline static const std::string& ID()
+  {
+    static const std::string MY_ID("BoundingBoxMacro");
+    return MY_ID;
+  }
+
+  /// Attribute name for object selected.
+  inline static const std::string& OBJECT_ID()
+  {
+    static const std::string MY_OBJECT_ID("main_object");
+    return MY_OBJECT_ID;
+  }
+
+  /// Attribute name for x coodinate.
+  inline static const std::string& X_MIN_COORD_ID()
+  {
+    static const std::string MY_X_MIN_COORD_ID("xmincoordinate");
+    return MY_X_MIN_COORD_ID;
+  }
+
+  /// Attribute name for y coodinate.
+  inline static const std::string& Y_MIN_COORD_ID()
+  {
+    static const std::string MY_Y_MIN_COORD_ID("ymincoordinate");
+    return MY_Y_MIN_COORD_ID;
+  }
+
+  /// Attribute name for z coodinate.
+  inline static const std::string& Z_MIN_COORD_ID()
+  {
+    static const std::string MY_Z_MIN_COORD_ID("zmincoordinate");
+    return MY_Z_MIN_COORD_ID;
+  }
+
+  /// Attribute name for x max coodinate.
+  inline static const std::string& X_MAX_COORD_ID()
+  {
+    static const std::string MY_X_MAX_COORD_ID("xmaxcoordinate");
+    return MY_X_MAX_COORD_ID;
+  }
+
+  /// Attribute name for y max coodinate.
+  inline static const std::string& Y_MAX_COORD_ID()
+  {
+    static const std::string MY_Y_MAX_COORD_ID("ymaxcoordinate");
+    return MY_Y_MAX_COORD_ID;
+  }
+
+  /// Attribute name for z max coodinate.
+  inline static const std::string& Z_MAX_COORD_ID()
+  {
+    static const std::string MY_Z_MAX_COORD_ID("zmaxcoordinate");
+    return MY_Z_MAX_COORD_ID;
+  }
+
+  /// Attribute name for checkbox create box.
+  inline static const std::string& CREATEBOX_ID()
+  {
+    static const std::string MY_CREATEBOX_ID("createbox");
+    return MY_CREATEBOX_ID;
+  }
+
+  /// Attribute name for values of result.
+  inline static const std::string& RESULT_VALUES_ID()
+  {
+    static const std::string MY_RESULT_VALUES_ID("result_values");
+    return MY_RESULT_VALUES_ID;
+  }
+
+  /// \return the kind of a feature.
+  virtual const std::string& getKind()
+  {
+    return ID();
+  }
+
+  /// Performs the algorithm and stores results it in the data structure.
+  FEATURESPLUGIN_EXPORT virtual void execute();
+
+  /// Request for initialization of data model of the feature: adding all attributes
+  FEATURESPLUGIN_EXPORT virtual void initAttributes();
+
+  /// Called on change of any argument-attribute of this object
+  /// \param theID identifier of changed attribute
+  FEATURESPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
+  /// Reimplemented from ModelAPI_Feature::isMacro(). Returns true.
+  FEATURESPLUGIN_EXPORT virtual bool isMacro() const { return true; }
+
+  /// Use plugin manager for features creation
+  FeaturesPlugin_BoundingBox();
+
+private:
+  /// Return Attribut values of result.
+  virtual AttributePtr attributResultValues();
+
+  /// Update values displayed.
+  bool updateValues();
+  /// Create Box
+  void createBox();
+  /// Update Box
+  void updateBox();
+
+  /// Feature to create box
+  FeaturePtr myCreateFeature;
+
+};
+
+#endif
index 54481d6babad5dbd195a13a2d4a4c34dd5392aba..af638afcc8516c300de2a92579031d6ea95cc68c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7cb879ae3835ce6d3345994865a94496bdd86b70..061f9c0e4dfe8f3abb353f3b90771f03dfc71581 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/FeaturesPlugin_CommonBoundingBox.cpp b/src/FeaturesPlugin/FeaturesPlugin_CommonBoundingBox.cpp
new file mode 100644 (file)
index 0000000..531616f
--- /dev/null
@@ -0,0 +1,115 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesPlugin_CommonBoundingBox.h"
+
+#include <ModelAPI_AttributeDoubleArray.h>
+
+#include <ModelAPI_Data.h>
+#include <ModelAPI_ResultBody.h>
+#include <ModelAPI_Session.h>
+#include <ModelAPI_Validator.h>
+#include <GeomAPI_Vertex.h>
+
+#include <GeomAlgoAPI_BoundingBox.h>
+#include <GeomAlgoAPI_PointBuilder.h>
+#include <GeomAlgoAPI_ShapeTools.h>
+
+#include <Config_PropManager.h>
+
+#include <iomanip>
+#include <sstream>
+
+
+
+//=================================================================================================
+void FeaturesPlugin_CommonBoundingBox::createBoxByTwoPoints()
+{
+  AttributeDoubleArrayPtr aValues =
+      std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(attributResultValues());
+
+  SessionPtr aSession = ModelAPI_Session::get();
+
+  DocumentPtr aDoc =  aSession->activeDocument();
+
+  GeomVertexPtr vertexFirst =
+          GeomAlgoAPI_PointBuilder::vertex(aValues->value(0),
+                                           aValues->value(2),
+                                           aValues->value(4));
+
+  GeomVertexPtr  vertexSecond =
+          GeomAlgoAPI_PointBuilder::vertex(aValues->value(1),
+                                           aValues->value(3),
+                                           aValues->value(5));
+
+
+  std::shared_ptr<GeomAlgoAPI_Box> aBoxAlgo;
+
+
+  aBoxAlgo = std::shared_ptr<GeomAlgoAPI_Box>(
+                          new GeomAlgoAPI_Box(vertexFirst->point(),vertexSecond->point()));
+
+
+  // These checks should be made to the GUI for the feature but
+  // the corresponding validator does not exist yet.
+  if (!aBoxAlgo->check()) {
+    setError(aBoxAlgo->getError());
+    return;
+  }
+
+  // Build the box
+  aBoxAlgo->build();
+
+  // Check if the creation of the box
+  if (!aBoxAlgo->isDone()) {
+    // The error is not displayed in a popup window. It must be in the message console.
+    setError(aBoxAlgo->getError());
+    return;
+  }
+  if (!aBoxAlgo->checkValid("Box builder with two points")) {
+    // The error is not displayed in a popup window. It must be in the message console.
+    setError(aBoxAlgo->getError());
+    return;
+  }
+
+  int aResultIndex = 0;
+  ResultBodyPtr aResultBox = document()->createBody(data(), aResultIndex);
+  loadNamingDS(aBoxAlgo, aResultBox);
+  setResult(aResultBox, aResultIndex);
+}
+
+//=================================================================================================
+void FeaturesPlugin_CommonBoundingBox::loadNamingDS(std::shared_ptr<GeomAlgoAPI_Box> theBoxAlgo,
+                                        std::shared_ptr<ModelAPI_ResultBody> theResultBox)
+{
+  // Load the result
+  theResultBox->store(theBoxAlgo->shape());
+
+  // Prepare the naming
+  theBoxAlgo->prepareNamingFaces();
+
+  // Insert to faces
+  std::map< std::string, std::shared_ptr<GeomAPI_Shape> > listOfFaces =
+    theBoxAlgo->getCreatedFaces();
+  for (std::map< std::string, std::shared_ptr<GeomAPI_Shape> >::iterator it = listOfFaces.begin();
+       it != listOfFaces.end();
+       ++it) {
+    theResultBox->generated((*it).second, (*it).first);
+  }
+}
diff --git a/src/FeaturesPlugin/FeaturesPlugin_CommonBoundingBox.h b/src/FeaturesPlugin/FeaturesPlugin_CommonBoundingBox.h
new file mode 100644 (file)
index 0000000..c461535
--- /dev/null
@@ -0,0 +1,59 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesPlugin_CommonBoundingBox_H_
+#define FeaturesPlugin_CommonBoundingBox_H_
+
+#include "FeaturesPlugin.h"
+#include <ModelAPI_Feature.h>
+
+#include <GeomAlgoAPI_Box.h>
+
+#include <GeomAPI_IPresentable.h>
+#include <GeomAPI_IScreenParams.h>
+
+#include <ModelAPI_Attribute.h>
+
+/// \class FeaturesPlugin_CommonBoundingBox
+/// \ingroup Plugins
+/// \brief Feature to view the Bounding Box.
+
+class FeaturesPlugin_CommonBoundingBox : public ModelAPI_Feature
+{
+public:
+  /// Performs the algorithm and stores results it in the data structure.
+  FEATURESPLUGIN_EXPORT virtual void execute(){};
+
+  /// Return Attribut values of result.
+  virtual AttributePtr attributResultValues() = 0;
+
+protected:
+  FeaturesPlugin_CommonBoundingBox() {}
+
+  /// Create box with two points
+  void createBoxByTwoPoints();
+
+  /// Create namming
+  void loadNamingDS(std::shared_ptr<GeomAlgoAPI_Box> theBoxAlgo,
+                    std::shared_ptr<ModelAPI_ResultBody> theResultBox);
+
+  GeomShapePtr myShape;
+};
+
+#endif
index cf8706cac042826d0420bf069f56dd503e0eea14..f2a9b0a28d6f7fe0ad2009884b8b430bb7dd9679 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -27,6 +27,7 @@
 #include <GeomAlgoAPI_MakeShapeList.h>
 #include <GeomAlgoAPI_PaveFiller.h>
 #include <GeomAlgoAPI_ShapeTools.h>
+#include <GeomAlgoAPI_MakeShapeCustom.h>
 
 #include <GeomAPI_ShapeIterator.h>
 
@@ -125,6 +126,7 @@ bool FeaturesPlugin_CompositeBoolean::makeBoolean(const ListOfShape& theTools,
   // Getting objects.
   ListOfShape anObjects, anEdgesAndFaces, aCompSolids;
   std::map<GeomShapePtr, ListOfShape> aCompSolidsObjects;
+  bool aCompoundsOnly = true;// if there are only compounds, do not use filler restoring compsolids
   AttributeSelectionListPtr anObjectsSelList = myFeature->selectionList(OBJECTS_ID());
   for(int anObjectsIndex = 0; anObjectsIndex < anObjectsSelList->size(); anObjectsIndex++) {
     AttributeSelectionPtr anObjectAttr = anObjectsSelList->value(anObjectsIndex);
@@ -147,6 +149,8 @@ bool FeaturesPlugin_CompositeBoolean::makeBoolean(const ListOfShape& theTools,
       if(anIt == aCompSolidsObjects.end()) {
         aCompSolidsObjects[aContextShape].push_back(anObject);
         aCompSolids.push_back(aContextShape);
+        if (aContextShape->shapeType() != GeomAPI_Shape::COMPOUND)
+          aCompoundsOnly = false;
       }
     } else {
       if(anObject->shapeType() == GeomAPI_Shape::EDGE ||
@@ -181,7 +185,7 @@ bool FeaturesPlugin_CompositeBoolean::makeBoolean(const ListOfShape& theTools,
           return false;
         }
 
-        if(GeomAlgoAPI_ShapeTools::volume(aBoolAlgo->shape()) > 1.e-27) {
+        if(GeomAlgoAPI_ShapeTools::area(aBoolAlgo->shape()) > 1.e-27) {
           theObjects.push_back(anObject);
           theMakeShapes.push_back(aBoolAlgo);
         }
@@ -228,17 +232,30 @@ bool FeaturesPlugin_CompositeBoolean::makeBoolean(const ListOfShape& theTools,
         GeomShapePtr aBoolRes = aBoolAlgo->shape();
         if (!aShapesToAdd.empty()) {
           aShapesToAdd.push_back(aBoolRes);
-          std::shared_ptr<GeomAlgoAPI_PaveFiller> aFillerAlgo(
-            new GeomAlgoAPI_PaveFiller(aShapesToAdd, true));
-          if(!aFillerAlgo->isDone() || aFillerAlgo->shape()->isNull() || !aFillerAlgo->isValid()) {
-            myFeature->setError("Error: PaveFiller algorithm failed.");
-            return false;
+          if (aCompoundsOnly)
+          {  // 23885: if there are no compsolids in input, do not use filler to make compsolids
+            aBoolRes = GeomAlgoAPI_CompoundBuilder::compound(aShapesToAdd);
+            std::shared_ptr<GeomAlgoAPI_MakeShapeCustom> aCompMkr(new GeomAlgoAPI_MakeShapeCustom);
+            aCompMkr->setResult(aBoolRes);
+            for(ListOfShape::iterator aCS = aCompSolids.begin(); aCS != aCompSolids.end(); aCS++)
+              aCompMkr->addModified(*aCS, aBoolRes);
+            aMakeShapeList->appendAlgo(aCompMkr);
+          }
+          else
+          {
+            std::shared_ptr<GeomAlgoAPI_PaveFiller> aFillerAlgo(
+              new GeomAlgoAPI_PaveFiller(aShapesToAdd, true));
+            if (!aFillerAlgo->isDone() || aFillerAlgo->shape()->isNull() || !aFillerAlgo->isValid())
+            {
+              myFeature->setError("Error: PaveFiller algorithm failed.");
+              return false;
+            }
+            aBoolRes = aFillerAlgo->shape();
+            aMakeShapeList->appendAlgo(aFillerAlgo);
           }
-          aBoolRes = aFillerAlgo->shape();
-          aMakeShapeList->appendAlgo(aFillerAlgo);
         }
 
-        if(GeomAlgoAPI_ShapeTools::volume(aBoolRes) > 1.e-27) {
+        if(GeomAlgoAPI_ShapeTools::area(aBoolRes) > 1.e-27) {
           theObjects.push_back(aCompSolid);
           theMakeShapes.push_back(aMakeShapeList);
         }
@@ -323,7 +340,7 @@ bool FeaturesPlugin_CompositeBoolean::makeBoolean(const ListOfShape& theTools,
         std::shared_ptr<GeomAlgoAPI_Boolean> aCutAlgo(new GeomAlgoAPI_Boolean(aSolidsToFuse,
                                                               aShapesToAdd,
                                                               GeomAlgoAPI_Tools::BOOL_CUT));
-        if(aCutAlgo->isDone() && GeomAlgoAPI_ShapeTools::volume(aCutAlgo->shape()) > 1.e-27) {
+        if(aCutAlgo->isDone() && GeomAlgoAPI_ShapeTools::area(aCutAlgo->shape()) > 1.e-27) {
           aSolidsToFuse.clear();
           aSolidsToFuse.push_back(aCutAlgo->shape());
           aMakeShapeList->appendAlgo(aCutAlgo);
index fd2fee853b0accaa82b72a299231afbec8ee05e6..06c4d957fedf5669e0edd632cdce384e0e472072 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0bd58e26cf7755321e1b2c7158e6ea18642b2784..b08db58574de872fbdff1674ffef925049391d68 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 441d78b8700b18b40222ff1027ad5b7e59f9904a..72413a03f5c9c3e226b4ab5914ee085a98816c4c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 830e83a336e12ac9caaac2d1f0163afcd3e3c711..20707c7199aa084147d489a5edb6cf2098fe5737 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d8a603c066853e9c350a1a9699dbfc8ab9aa9f36..95f6df0bf5e94d33c043d7a8247ac68df5ac2822 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/FeaturesPlugin_CreateBoundingBox.cpp b/src/FeaturesPlugin/FeaturesPlugin_CreateBoundingBox.cpp
new file mode 100644 (file)
index 0000000..c3c9bea
--- /dev/null
@@ -0,0 +1,162 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesPlugin_CreateBoundingBox.h"
+
+#include <ModelAPI_AttributeSelection.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_AttributeBoolean.h>
+
+#include <ModelAPI_Data.h>
+#include <ModelAPI_Session.h>
+#include <ModelAPI_Validator.h>
+
+#include <GeomAlgoAPI_BoundingBox.h>
+
+#include <Config_PropManager.h>
+#include <ModelAPI_ResultBody.h>
+
+#include <iomanip>
+#include <sstream>
+
+//=================================================================================================
+FeaturesPlugin_CreateBoundingBox::FeaturesPlugin_CreateBoundingBox()
+{
+}
+
+//=================================================================================================
+void FeaturesPlugin_CreateBoundingBox::initAttributes()
+{
+  // attribute for object selected
+  data()->addAttribute(OBJECT_ID(), ModelAPI_AttributeSelection::typeId());
+
+  // attributes for result message and values
+  data()->addAttribute(X_MIN_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Y_MIN_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Z_MIN_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(X_MAX_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Y_MAX_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Z_MAX_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(COMPUTE_ID(), ModelAPI_AttributeBoolean::typeId());
+
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), X_MIN_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Y_MIN_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Z_MIN_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), X_MAX_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Y_MAX_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), Z_MAX_COORD_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), COMPUTE_ID());
+  ModelAPI_Session::get()->validators()->registerNotObligatory(getKind(), OBJECT_ID());
+  data()->addAttribute(RESULT_VALUES_ID(), ModelAPI_AttributeDoubleArray::typeId());
+
+  data()->realArray(RESULT_VALUES_ID())->setSize(6);
+  data()->boolean(COMPUTE_ID())->setValue(true);
+}
+
+//=================================================================================================
+void FeaturesPlugin_CreateBoundingBox::execute()
+{
+  if (!updateValues())
+    return;
+
+  createBoxByTwoPoints();
+}
+
+//=================================================================================================
+void FeaturesPlugin_CreateBoundingBox::attributeChanged(const std::string& theID)
+{
+}
+
+//=================================================================================================
+bool FeaturesPlugin_CreateBoundingBox::updateValues()
+{
+  AttributeSelectionPtr aSelection = selection(OBJECT_ID());
+  AttributeDoubleArrayPtr aValues =
+      std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(attribute(RESULT_VALUES_ID()));
+
+  if (aSelection->isInitialized()) {
+    std::stringstream streamxmin;
+    std::stringstream streamymin;
+    std::stringstream streamzmin;
+    std::stringstream streamxmax;
+    std::stringstream streamymax;
+    std::stringstream streamzmax;
+
+    GeomShapePtr aShape;
+    if (aSelection && aSelection->isInitialized()) {
+      aShape = aSelection->value();
+      if (!aShape && aSelection->context())
+        aShape = aSelection->context()->shape();
+    }
+
+    AttributeBooleanPtr anIsCompute = boolean(COMPUTE_ID());
+    if (!anIsCompute->value()) {
+      myShape = aShape;
+      anIsCompute->setValue(true);
+    }
+
+    if (aShape && !aShape->isEqual(myShape)) {
+      double aXmin, aXmax, aYmin, aYmax, aZmin, aZmax;
+      std::string anError;
+      if (!GetBoundingBox(aShape,
+                          aXmin, aXmax,
+                          aYmin, aYmax,
+                          aZmin, aZmax,
+                          anError)) {
+        setError("Error in bounding box calculation :" +  anError);
+        return false;
+      }
+      myShape = aShape;
+      streamxmin << std::setprecision(14) << aXmin;
+      aValues->setValue(0, aXmin);
+      streamxmax << std::setprecision(14) << aXmax;
+      aValues->setValue(1, aXmax);
+      streamymin << std::setprecision(14) << aYmin;
+      aValues->setValue(2, aYmin);
+      streamymax << std::setprecision(14) << aYmax;
+      aValues->setValue(3, aYmax);
+      streamzmin << std::setprecision(14) << aZmin;
+      aValues->setValue(4, aZmin);
+      streamzmax << std::setprecision(14) << aZmax;
+      aValues->setValue(5, aZmax);
+    } else {
+      streamxmin << std::setprecision(14) << aValues->value(0);
+      streamxmax << std::setprecision(14) << aValues->value(1);
+      streamymin << std::setprecision(14) << aValues->value(2);
+      streamymax << std::setprecision(14) << aValues->value(3);
+      streamzmin << std::setprecision(14) << aValues->value(4);
+      streamzmax << std::setprecision(14) << aValues->value(5);
+    }
+
+    string(X_MIN_COORD_ID() )->setValue( "X = " +  streamxmin.str() );
+    string(Y_MIN_COORD_ID() )->setValue( "Y = " +  streamymin.str() );
+    string(Z_MIN_COORD_ID() )->setValue( "Z = " +  streamzmin.str() );
+    string(X_MAX_COORD_ID() )->setValue( "X = " +  streamxmax.str() );
+    string(Y_MAX_COORD_ID() )->setValue( "Y = " +  streamymax.str() );
+    string(Z_MAX_COORD_ID() )->setValue( "Z = " +  streamzmax.str() );
+  }
+  return true;
+}
+
+//=================================================================================================
+AttributePtr FeaturesPlugin_CreateBoundingBox::attributResultValues()
+{
+   return attribute(RESULT_VALUES_ID());
+}
diff --git a/src/FeaturesPlugin/FeaturesPlugin_CreateBoundingBox.h b/src/FeaturesPlugin/FeaturesPlugin_CreateBoundingBox.h
new file mode 100644 (file)
index 0000000..c7ead90
--- /dev/null
@@ -0,0 +1,130 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesPlugin_CreateBoundingBox_H_
+#define FeaturesPlugin_CreateBoundingBox_H_
+
+#include <FeaturesPlugin_CommonBoundingBox.h>
+
+/// \class FeaturesPlugin_BoundingBox
+/// \ingroup Plugins
+/// \brief Feature to view the Bounding Box.
+
+class FeaturesPlugin_CreateBoundingBox : public FeaturesPlugin_CommonBoundingBox
+{
+public:
+  /// Bounding box kind.
+  inline static const std::string& ID()
+  {
+    static const std::string MY_ID("BoundingBox");
+    return MY_ID;
+  }
+
+  /// Attribute name for object selected.
+  inline static const std::string& OBJECT_ID()
+  {
+    static const std::string MY_OBJECT_ID("main_object");
+    return MY_OBJECT_ID;
+  }
+
+  /// Attribute name for x coodinate.
+  inline static const std::string& X_MIN_COORD_ID()
+  {
+    static const std::string MY_X_MIN_COORD_ID("xmincoordinate");
+    return MY_X_MIN_COORD_ID;
+  }
+
+  /// Attribute name for y coodinate.
+  inline static const std::string& Y_MIN_COORD_ID()
+  {
+    static const std::string MY_Y_MIN_COORD_ID("ymincoordinate");
+    return MY_Y_MIN_COORD_ID;
+  }
+
+  /// Attribute name for z coodinate.
+  inline static const std::string& Z_MIN_COORD_ID()
+  {
+    static const std::string MY_Z_MIN_COORD_ID("zmincoordinate");
+    return MY_Z_MIN_COORD_ID;
+  }
+
+  /// Attribute name for x max coodinate.
+  inline static const std::string& X_MAX_COORD_ID()
+  {
+    static const std::string MY_X_MAX_COORD_ID("xmaxcoordinate");
+    return MY_X_MAX_COORD_ID;
+  }
+
+  /// Attribute name for y max coodinate.
+  inline static const std::string& Y_MAX_COORD_ID()
+  {
+    static const std::string MY_Y_MAX_COORD_ID("ymaxcoordinate");
+    return MY_Y_MAX_COORD_ID;
+  }
+
+  /// Attribute name for z max coodinate.
+  inline static const std::string& Z_MAX_COORD_ID()
+  {
+    static const std::string MY_Z_MAX_COORD_ID("zmaxcoordinate");
+    return MY_Z_MAX_COORD_ID;
+  }
+
+  /// Attribute name for values of result.
+  inline static const std::string& RESULT_VALUES_ID()
+  {
+    static const std::string MY_RESULT_VALUES_ID("result_values");
+    return MY_RESULT_VALUES_ID;
+  }
+
+  /// Attribute name for indicate to compute the bounding box.
+  inline static const std::string& COMPUTE_ID()
+  {
+    static const std::string MY_COMPUTE_ID("compute");
+    return MY_COMPUTE_ID;
+  }
+
+  /// \return the kind of a feature.
+  virtual const std::string& getKind()
+  {
+    return ID();
+  }
+
+  /// Performs the algorithm and stores results it in the data structure.
+  FEATURESPLUGIN_EXPORT virtual void execute();
+
+  /// Request for initialization of data model of the feature: adding all attributes
+  FEATURESPLUGIN_EXPORT virtual void initAttributes();
+
+  /// Called on change of any argument-attribute of this object
+  /// \param theID identifier of changed attribute
+  FEATURESPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
+  /// Return Attribut values of result.
+  FEATURESPLUGIN_EXPORT virtual AttributePtr attributResultValues();
+
+  /// Use plugin manager for features creation
+  FeaturesPlugin_CreateBoundingBox();
+
+private:
+  /// Update values displayed.
+  bool updateValues();
+
+};
+
+#endif
index 104667ed5ae64bbcbf53772e61c50d38cdcbb9ee..ac60462ce6316acef4cd59863d275629795eb745 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c703e027b57e4851f13307b08bb4dace0c57e59c..17c6893d4a655a746967adf69d0363c9b87e9c0a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0ef1875dcd97ddef2a63c684f6beb410a8de5851..aa95790a54b023b4933f02153e0aaeb567288a9c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -220,7 +220,7 @@ void FeaturesPlugin_Extrusion::getSizes(double& theToSize, double& theFromSize)
   if (string(CREATION_METHOD())->value() == CREATION_METHOD_BY_SIZES()) {
     theToSize = real(TO_SIZE_ID())->value();
     theFromSize = real(FROM_SIZE_ID())->value();
-  } if (string(CREATION_METHOD())->value() == CREATION_METHOD_BY_PLANES()) {
+  } else if (string(CREATION_METHOD())->value() == CREATION_METHOD_BY_PLANES()) {
     theToSize = real(TO_OFFSET_ID())->value();
     theFromSize = real(FROM_OFFSET_ID())->value();
   } else {
index 088e8b19cbbd04ecfac2220b9b297af9b3679d5a..446ed6590293e9d3af276639818ea82939180ab7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -56,22 +56,22 @@ public:
   /// Attribute name for creation method.
   inline static const std::string& CREATION_METHOD_BY_SIZES()
   {
-    static const std::string MY_CREATION_METHOD_ID("BySizes");
-    return MY_CREATION_METHOD_ID;
+    static const std::string MY_CREATION_METHOD_BY_SIZES("BySizes");
+    return MY_CREATION_METHOD_BY_SIZES;
   }
 
   /// Attribute name for creation method.
   inline static const std::string& CREATION_METHOD_BY_PLANES()
   {
-    static const std::string MY_CREATION_METHOD_ID("ByPlanesAndOffsets");
-    return MY_CREATION_METHOD_ID;
+    static const std::string MY_CREATION_METHOD_BY_PLANES("ByPlanesAndOffsets");
+    return MY_CREATION_METHOD_BY_PLANES;
   }
 
   /// Attribute name for creation method.
   inline static const std::string& CREATION_METHOD_THROUGH_ALL()
   {
-    static const std::string MY_CREATION_METHOD_ID("ThroughAll");
-    return MY_CREATION_METHOD_ID;
+    static const std::string MY_CREATION_METHOD_THROUGH_ALL("ThroughAll");
+    return MY_CREATION_METHOD_THROUGH_ALL;
   }
 
   /// Attribute name of an object to which the extrusion grows.
index bf075f1a80ae524e0fc75949fab64d7ee1f819b7..581353bb3fea09869a455c64438ca3f0efcf6783 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 32d42fe4d1e33692d9f5a0d0f9e2851a46a87d8a..baa2ca2dd9ffb05f5a5d457b8af29f4302dfbef4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 50f415c297659fc9adcae14e2dd128f319271cd4..e9d387f7d2d5b5a9539d8d554c3962647e5118d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5ea3e2af5b797f5140fa372b43a1f852274cc515..cb8ed6f533e66ad076f11a7f7ca89b3f71f90748 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f8a2e2188f1059448a20180056df1193ba292a2..96e0b7e140f712b886168825093b7ac5c5db15d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 451696feee3ffd0e17941bea9d6c7a5b4cdff18b..584aa6269e90aa5a6f372267efced2183d31ed2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c8c5bf0d5a6f305054af06233eb66093ab32b329..ddee74a75da2537490153226c09d9130b705d355 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2c1460b957618bcae4c77d0adb07a73202933f11..ddf8a023300dd2bee890b101387ae3a039824b28 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c19cfa34d8ef0c9ad3326defbe48e3ab5602f0c7..b3b4b8493e54a56a7c55f10c48dc3188a0c89bbd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 074d03ce4c56c9ccb4a2fa547afab884808ade77..02faaef09c48d6ba713498e9b5e552bb45540412 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bc9964e9a8a962d98c1b784b122b6ffd6b8fc733..1ded92cbecf35142b7e4d72a88e5446e08829143 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3009ff04f305585152920eb980ba86d5b0c27f23..5f6a6815a7edaa2ca51d4918a6f8b7a209d2a7a1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/FeaturesPlugin_GeometryCalculation.cpp b/src/FeaturesPlugin/FeaturesPlugin_GeometryCalculation.cpp
new file mode 100644 (file)
index 0000000..724ce7e
--- /dev/null
@@ -0,0 +1,105 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesPlugin_GeometryCalculation.h"
+
+#include <ModelAPI_AttributeSelection.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+
+#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_Data.h>
+#include <ModelAPI_Session.h>
+
+#include <Config_PropManager.h>
+
+#include <GeomAPI_Shape.h>
+#include <GeomAlgoAPI_ShapeTools.h>
+
+
+#include <iomanip>
+#include <sstream>
+
+//=================================================================================================
+FeaturesPlugin_GeometryCalculation::FeaturesPlugin_GeometryCalculation()
+{
+}
+
+//=================================================================================================
+void FeaturesPlugin_GeometryCalculation::initAttributes()
+{
+  // attribute for point selected
+  data()->addAttribute(OBJECT_SELECTED_ID(), ModelAPI_AttributeSelection::typeId());
+
+  // attributes for result message and values
+  data()->addAttribute(LENGTH_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(AREA_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(VOLUME_ID(), ModelAPI_AttributeString::typeId());
+
+  data()->addAttribute(RESULT_VALUES_ID(), ModelAPI_AttributeDoubleArray::typeId());
+  data()->realArray(RESULT_VALUES_ID())->setSize(3);
+
+}
+
+//=================================================================================================
+void FeaturesPlugin_GeometryCalculation::execute()
+{
+}
+
+//=================================================================================================
+void FeaturesPlugin_GeometryCalculation::attributeChanged(const std::string& theID)
+{
+  if (theID == OBJECT_SELECTED_ID()) {
+
+    AttributeSelectionPtr aSelection = selection(OBJECT_SELECTED_ID());
+    AttributeDoubleArrayPtr aValues =
+      std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(attribute(RESULT_VALUES_ID()));
+    std::stringstream streamL;
+    std::stringstream streamA;
+    std::stringstream streamV;
+    GeomShapePtr aShape;
+
+    if (aSelection && aSelection->isInitialized()) {
+      aShape = aSelection->value();
+      if (!aShape && aSelection->context())
+        aShape = aSelection->context()->shape();
+    }
+
+    if (aShape) {
+      double aTolerance = 0.0001;
+      double aLength;
+      double aSurfArea;
+      double aVolume;
+
+      aLength = GeomAlgoAPI_ShapeTools::length(aShape);
+      aSurfArea = GeomAlgoAPI_ShapeTools::area(aShape);
+      aVolume = GeomAlgoAPI_ShapeTools::volume(aShape);
+
+      streamL << std::setprecision(14) << aLength;
+      aValues->setValue(0, aLength);
+      streamA << std::setprecision(14) << aSurfArea;
+      aValues->setValue(1, aSurfArea);
+      streamV << std::setprecision(14) << aVolume;
+      aValues->setValue(2, aVolume);
+    }
+
+    string(LENGTH_ID())->setValue(streamL.str());
+    string(AREA_ID())->setValue(streamA.str());
+    string(VOLUME_ID())->setValue(streamV.str());
+  }
+}
diff --git a/src/FeaturesPlugin/FeaturesPlugin_GeometryCalculation.h b/src/FeaturesPlugin/FeaturesPlugin_GeometryCalculation.h
new file mode 100644 (file)
index 0000000..7f8abe5
--- /dev/null
@@ -0,0 +1,101 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesPlugin_GeometryCalculation_H_
+#define FeaturesPlugin_GeometryCalculation_H_
+
+#include "FeaturesPlugin.h"
+#include <ModelAPI_Feature.h>
+
+#include <GeomAPI_IPresentable.h>
+#include <GeomAPI_IScreenParams.h>
+
+/// \class FeaturesPlugin_GeometryCalculation
+/// \ingroup Plugins
+/// \brief Feature for geometry calculation.
+
+class FeaturesPlugin_GeometryCalculation : public ModelAPI_Feature
+{
+public:
+  inline static const std::string& ID()
+  {
+    static const std::string MY_ID("GeometryCalculation");
+    return MY_ID;
+  }
+
+  /// \return the kind of a feature.
+  virtual const std::string& getKind()
+  {
+    return ID();
+  }
+
+  /// Attribute name for object selected.
+  inline static const std::string& OBJECT_SELECTED_ID()
+  {
+    static const std::string MY_OBJECT_SELECTED_ID("main_object");
+    return MY_OBJECT_SELECTED_ID;
+  }
+
+  /// Attribute name for length
+  inline static const std::string& LENGTH_ID()
+  {
+    static const std::string MY_LENGTH_ID("length");
+    return MY_LENGTH_ID;
+  }
+
+  /// Attribute name for area
+  inline static const std::string& AREA_ID()
+  {
+    static const std::string MY_AREA_ID("area");
+    return MY_AREA_ID;
+  }
+
+  /// Attribute name for volume.
+  inline static const std::string& VOLUME_ID()
+  {
+    static const std::string MY_VOLUME_ID("volume");
+    return MY_VOLUME_ID;
+  }
+
+  /// Attribute name for values of result.
+  inline static const std::string& RESULT_VALUES_ID()
+  {
+    static const std::string MY_RESULT_VALUES_ID("result_values");
+    return MY_RESULT_VALUES_ID;
+  }
+
+  /// Performs the algorithm and stores results it in the data structure.
+  FEATURESPLUGIN_EXPORT virtual void execute();
+
+  /// Request for initialization of data model of the feature: adding all attributes
+  FEATURESPLUGIN_EXPORT virtual void initAttributes();
+
+  /// Called on change of any argument-attribute of this object
+  /// \param theID identifier of changed attribute
+  FEATURESPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
+  /// Reimplemented from ModelAPI_Feature::isMacro(). Returns true.
+  FEATURESPLUGIN_EXPORT virtual bool isMacro() const { return true; }
+
+  /// Use plugin manager for features creation
+  FeaturesPlugin_GeometryCalculation();
+
+};
+
+#endif
index 59dadceb5849031f8c4920fe06c0054b12d89412..a49ef0fb480529c1edb95e640f8386493804400f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 32bd6aa0030da542dec048f6c9c6b6b4b2d4fd52..9b946ab18fb3982dd427841494cd3e260472c93a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b4407c86dd28aca88a89152a349707d367a52eab..aa95218e08e118772d62fac93e579602d6afd92f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d46039fb1e33c91ac043e736cff35c24a82c39b7..33434259a395dbbe451bdfa982f885e9197fce44 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a7ade701c14e40867c774daa286bc2c33221ca58..da2c2c9811b03fb1c6afbaaa9aebc7579fe0dc37 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d8ccd3b87a90b87709525b6fd18a2b40aa16db57..944970b39c40f5fc6e75e35f19810186901d49c4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 45796ddd3cb8196ec5c24dad88f471e2d8d82216..e8caba9bff97b72d8fc5eb6ae156b7874e4c7907 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 199e4cd35c6fba8a775c673c423d59bf99bc10b8..97a79cde84f2d157e0df388a817362329d46abf5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e9f29c0ddb3d93e2dec222d7ba34a4dcb054dd58..c507c7d501a8514e3774601123d6948bd7797101 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7fafd1d3e3d2b7d62c554438d8482594ee95f287..b9f2e1644fcdc00112f964d66fde9659d6f78b82 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e1a257aefa37a8e17ae123e1620feb388c33dd10..69fd8deaae1795298ca9de48a4875c0e0e372ed0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6c330264e922155dcf37b73b12df9317b5efefb4..e55c256198a8d44421cfe623f10822237669f0cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a582dcc920ef5dfc93dbe5eede14f20d57cd9735..fcddc9cee66aa337caee8b8c6e6afcf97e274871 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 26db9070f5be85be1a91071cba24efd6950c6a25..12ecbd4112e0c3fbcc1829a326e391310e448b18 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fbda5b8f9a7c8c7f920d6f13d4acf7999479fce7..efc09092acf21eee33242bd10659d3541a7c11ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ddf361d7fb4634e0f6271a204799bd4488706c9b..ea39e8b900bfb28cbd72c674d66e055f16680d26 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0d49dfe08d1da9ca019628b9784e630e8b5331f9..63d0241e38f1ac7174eef1b543568ae9ba544113 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #include <FeaturesPlugin_BooleanCommon.h>
 #include <FeaturesPlugin_BooleanSmash.h>
 #include <FeaturesPlugin_BooleanFill.h>
+#include <FeaturesPlugin_BoundingBox.h>
 #include <FeaturesPlugin_Chamfer.h>
+#include <FeaturesPlugin_CreateBoundingBox.h>
 #include <FeaturesPlugin_Defeaturing.h>
 #include <FeaturesPlugin_Extrusion.h>
 #include <FeaturesPlugin_ExtrusionCut.h>
 #include <FeaturesPlugin_ExtrusionFuse.h>
 #include <FeaturesPlugin_Fillet.h>
 #include <FeaturesPlugin_Fillet1D.h>
+#include <FeaturesPlugin_GeometryCalculation.h>
 #include <FeaturesPlugin_Intersection.h>
 #include <FeaturesPlugin_Measurement.h>
+#include <FeaturesPlugin_PointCoordinates.h>
 #include <FeaturesPlugin_MultiRotation.h>
 #include <FeaturesPlugin_MultiTranslation.h>
 #include <FeaturesPlugin_Partition.h>
@@ -197,6 +201,14 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(std::string theFeatureID)
     return FeaturePtr(new FeaturesPlugin_ImportResult);
   } else if (theFeatureID == FeaturesPlugin_Defeaturing::ID()) {
     return FeaturePtr(new FeaturesPlugin_Defeaturing);
+  } else if (theFeatureID == FeaturesPlugin_PointCoordinates::ID()) {
+    return FeaturePtr(new FeaturesPlugin_PointCoordinates);
+  } else if (theFeatureID == FeaturesPlugin_GeometryCalculation::ID()) {
+    return FeaturePtr(new FeaturesPlugin_GeometryCalculation);
+  } else if (theFeatureID == FeaturesPlugin_BoundingBox::ID()) {
+    return FeaturePtr(new FeaturesPlugin_BoundingBox);
+  } else if (theFeatureID == FeaturesPlugin_CreateBoundingBox::ID()) {
+    return FeaturePtr(new FeaturesPlugin_CreateBoundingBox);
   }
 
 
index 84aa6c3e44f772a0f74925fb3fdc3cc5133537e5..bc3fb90b59342a085fdc79e83023e1660d857902 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.cpp b/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.cpp
new file mode 100644 (file)
index 0000000..54a1645
--- /dev/null
@@ -0,0 +1,95 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "FeaturesPlugin_PointCoordinates.h"
+
+#include <ModelAPI_AttributeSelection.h>
+#include <ModelAPI_AttributeDoubleArray.h>
+
+#include <ModelAPI_AttributeString.h>
+#include <ModelAPI_Data.h>
+#include <ModelAPI_Session.h>
+
+#include <Config_PropManager.h>
+
+#include <GeomAPI_Pnt.h>
+#include <GeomAPI_Shape.h>
+#include <GeomAPI_Vertex.h>
+
+#include <GeomAlgoAPI_PointBuilder.h>
+
+#include <iomanip>
+#include <sstream>
+
+FeaturesPlugin_PointCoordinates::FeaturesPlugin_PointCoordinates()
+{
+}
+
+void FeaturesPlugin_PointCoordinates::initAttributes()
+{
+  // attribute for point selected
+  data()->addAttribute(POINT_SELECTED_ID(), ModelAPI_AttributeSelection::typeId());
+
+  // attribute for x, y and z coordinates
+  data()->addAttribute(X_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Y_COORD_ID(), ModelAPI_AttributeString::typeId());
+  data()->addAttribute(Z_COORD_ID(), ModelAPI_AttributeString::typeId());
+
+  // attributes for result message and values
+  data()->addAttribute(RESULT_VALUES_ID(), ModelAPI_AttributeDoubleArray::typeId());
+  data()->realArray(RESULT_VALUES_ID())->setSize(3);
+}
+
+void FeaturesPlugin_PointCoordinates::execute()
+{
+}
+
+void FeaturesPlugin_PointCoordinates::attributeChanged(const std::string& theID)
+{
+  if (theID == POINT_SELECTED_ID()) {
+    AttributeSelectionPtr aSelection = selection(POINT_SELECTED_ID());
+    GeomShapePtr aShape;
+    GeomPointPtr aPoint;
+    if (aSelection && aSelection->isInitialized()) {
+      aShape = aSelection->value();
+      if (!aShape && aSelection->context())
+        aShape = aSelection->context()->shape();
+    }
+
+    AttributeDoubleArrayPtr aValues =
+      std::dynamic_pointer_cast<ModelAPI_AttributeDoubleArray>(attribute(RESULT_VALUES_ID()));
+    std::stringstream streamx;
+    std::stringstream streamy;
+    std::stringstream streamz;
+    if (aShape) {
+      aPoint = GeomAlgoAPI_PointBuilder::point(aShape);
+      streamx << std::setprecision(14) << aPoint->x();
+      aValues->setValue(0, aPoint->x());
+      streamy << std::setprecision(14) << aPoint->y();
+      aValues->setValue(1, aPoint->y());
+      streamz << std::setprecision(14) << aPoint->z();
+      aValues->setValue(2, aPoint->z());
+    }
+
+    string(X_COORD_ID() )->setValue( "X = " +  streamx.str() );
+    string(Y_COORD_ID() )->setValue( "Y = " +  streamy.str() );
+    string(Z_COORD_ID() )->setValue( "Z = " +  streamz.str() );
+  }
+
+}
diff --git a/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h b/src/FeaturesPlugin/FeaturesPlugin_PointCoordinates.h
new file mode 100644 (file)
index 0000000..94ec884
--- /dev/null
@@ -0,0 +1,101 @@
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef FeaturesPlugin_PointCoordinates_H_
+#define FeaturesPlugin_PointCoordinates_H_
+
+#include "FeaturesPlugin.h"
+#include <ModelAPI_Feature.h>
+
+#include <GeomAPI_IPresentable.h>
+#include <GeomAPI_IScreenParams.h>
+
+/// \class FeaturesPlugin_PointCoordinates
+/// \ingroup Plugins
+/// \brief Feature to view point coordinates.
+
+class FeaturesPlugin_PointCoordinates : public ModelAPI_Feature
+{
+public:
+  inline static const std::string& ID()
+  {
+    static const std::string MY_ID("PointCoordinates");
+    return MY_ID;
+  }
+
+  /// Attribute name for point selected.
+  inline static const std::string& POINT_SELECTED_ID()
+  {
+    static const std::string MY_POINT_SELECTED_ID("point_selected");
+    return MY_POINT_SELECTED_ID;
+  }
+
+  /// Attribute name for x coordinate.
+  inline static const std::string& X_COORD_ID()
+  {
+    static const std::string MY_X_COORD_ID("xcoordinate");
+    return MY_X_COORD_ID;
+  }
+
+  /// Attribute name for y coordinate.
+  inline static const std::string& Y_COORD_ID()
+  {
+    static const std::string MY_Y_COORD_ID("ycoordinate");
+    return MY_Y_COORD_ID;
+  }
+
+  /// Attribute name for z coordinate.
+  inline static const std::string& Z_COORD_ID()
+  {
+    static const std::string MY_Z_COORD_ID("zcoordinate");
+    return MY_Z_COORD_ID;
+  }
+
+  /// Attribute name for values of result.
+  inline static const std::string& RESULT_VALUES_ID()
+  {
+    static const std::string MY_RESULT_VALUES_ID("result_values");
+    return MY_RESULT_VALUES_ID;
+  }
+
+  /// \return the kind of a feature.
+  virtual const std::string& getKind()
+  {
+    return ID();
+  }
+
+  /// Performs the algorithm and stores results it in the data structure.
+  FEATURESPLUGIN_EXPORT virtual void execute();
+
+  /// Request for initialization of data model of the feature: adding all attributes
+  FEATURESPLUGIN_EXPORT virtual void initAttributes();
+
+  /// Called on change of any argument-attribute of this object
+  /// \param theID identifier of changed attribute
+  FEATURESPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
+
+  /// Reimplemented from ModelAPI_Feature::isMacro(). Returns true.
+  FEATURESPLUGIN_EXPORT virtual bool isMacro() const { return true; }
+
+  /// Use plugin manager for features creation
+  FeaturesPlugin_PointCoordinates();
+
+};
+
+#endif
index 2005cef0711c71c4fc2c0951a5e0f0d3a5bca7ed..17366288465caaa7541dcc99ac7f8b5fca8abcf1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 47edd6a33b9d76b0b44f2406f90d0c040a2c007a..fc6708ffa31c9b07a0f4397bb0e27812eaf1d50b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4644a6130f78ab70003f5ac7beb70a31a9c26763..e751f8082006918348b2b51c372f9b315c7078cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8ba77fa73856870d015f61ed73ca923bb4946eb0..48169ed7edb25d5419fba2e103835c523a1de442 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e00351b73037df9e32d8d5417f07a22356040868..f0deaf6a6e1f2e1a7bc6e6c534f6cf8b6b535730 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -290,7 +290,9 @@ void FeaturesPlugin_RemoveSubShapes::execute()
 
   // Store result.
   ResultBodyPtr aResultBody = document()->createBody(data());
-  aResultBody->storeModified(aBaseShape, aResultShape);
+  std::list<GeomShapePtr> anOldShapes;
+  anOldShapes.push_back(aBaseShape);
+  aResultBody->storeModified(anOldShapes, aResultShape, aMakeShapeList);
   for (std::set<GeomAPI_Shape::ShapeType>::iterator aTypeIter = aTypes.begin();
        aTypeIter != aTypes.end();
        ++aTypeIter)
index d15b6480384536ad8c94a294cdbb610b67d6f9f7..5b2e5070e2c0c08199c9665626c4a4477f452acd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 695a1efb54e43c0f63ea8c6ec1d2eb1cfafb91a1..26b879ea3053a83a25b78fb36f2cf1b5d98f3de9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d9c2b99101c7237fe72888edb0c0d155da52de9e..70a4a46a2f2356c971ef5274045c76d026755991 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -51,22 +51,22 @@ public:
   /// Attribute name for creation method.
   inline static const std::string& CREATION_METHOD_THROUGH_ALL()
   {
-    static const std::string MY_CREATION_METHOD_ID("ThroughAll");
-    return MY_CREATION_METHOD_ID;
+    static const std::string MY_CREATION_METHOD_THROUGH_ALL("ThroughAll");
+    return MY_CREATION_METHOD_THROUGH_ALL;
   }
 
   /// Attribute name for creation method.
   inline static const std::string& CREATION_METHOD_BY_ANGLES()
   {
-    static const std::string MY_CREATION_METHOD_ID("ByAngles");
-    return MY_CREATION_METHOD_ID;
+    static const std::string MY_CREATION_METHOD_BY_ANGLES("ByAngles");
+    return MY_CREATION_METHOD_BY_ANGLES;
   }
 
   /// Attribute name for creation method.
   inline static const std::string& CREATION_METHOD_BY_PLANES()
   {
-    static const std::string MY_CREATION_METHOD_ID("ByPlanesAndOffsets");
-    return MY_CREATION_METHOD_ID;
+    static const std::string MY_CREATION_METHOD_BY_PLANES("ByPlanesAndOffsets");
+    return MY_CREATION_METHOD_BY_PLANES;
   }
 
   /// Attribute name of an revolution axis.
index 406939bef8da809915a0ebbca50bd7c528546ef2..4f9033a14882069b717f3cbec9e46ebf05dfa3de 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7580a92c2f758561d926ae63a1a4c0a5cba424d6..125d71db48e26d9387d601925c90a34440c67f27 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5c14ef7e9ecb46f3f78067f6c3bd8bb6af0e7855..9b4bd4525461417d8d5263a6497f89d14d658e5a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2c2ffe09dfb2df6e26705f0be18ed59d6ffdb2df..19d8382615349e174346645c6ba1ed6a062b5953 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0356bee61499503a33a2604e4dfb562c1ba6f5c0..86eaeac862bb1fb48c89f0ae48058d9a64cefb2a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 731205bcaccaa3b7f5c69eb149888492f2a2efd3..1fe8653da4e563af01f3413e77cbce54568052d1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 63ce379a4de4eed68ccde6ba4561a405ce91930c..1fe9334eb920d96d20141daa984895f1880b8597 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8479fe56c842e0655edf98652dcc6d3453aa4869..e64f468bf4e7e1b99901ab8a5e348fa3e2a5b179 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7992c7c81817e585a6cccadc792c057819fc5946..73cbd10bcb5cae7869880abcacd36228723c3d13 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 313c1d501647e1a6ef72f49f46557ece2be0e835..64b7c8c7b123312c72e6dcd943fe0e7f295a8f83 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 57effe32d5716926043444b378357bc5c6cd319b..e877c4016b7f709a7db6a82c3cd2cacfd2b0f57a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index da43928993ccf1ec746b2b87395b2f80dcf02182..5d73f9ec8b9ff94888d58e0535f4140518107d50 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e8a1af8c42f8b723ba600e2496ab4222059690cb..9a36609a4e5d6c07188af5c03bd88270d749f566 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6f77dc4af00f7f0a2969b81b9fd6b657b6fa9b26..c9a138a37d53f2d67a8d8649e0957cdd801d09b6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c419d2ea8dea16cf706fd5cc2fc4900bbe2d38e9..11a0dca227d1fd8d0981685f7ffba80578603d4d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 04c1bc15c9d24ef99831a8f90eba6fd75861ba35..03b279ca9b4a44dba836a544f3cc7358b272c194 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2af7f0da09240d2b1f68d8f868e6ef1490fb38fe..ad7a638de10fa2e6effa1ff9bb2e8f63a78fbc58 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 88ab8d10ae073e6948b9ad3b67898f8894c85c0d..4087eef5ca07031cbb39551aa96fad5887671948 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 41a18c8c8abada8d84becf43166c19f258d1a266..3c08f74dd69ea93fdd9f5b68791665bf443f9c40 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3ce4bac5766062097c645895a19416fa7f623450..cfa965ffe3fcdd899897796ebc07d37b8de3491a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 55bad81ce443f6772c579ab99f0760d2f362ac78..828b4bdd8be11a16e42b47681b24bc382442d431 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 951d4c52f969eb17ce2924d31fe0b5732e43c242..138ff80dad79523ee97efea26478603f9d7d881d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2cf25d034fc5b231d39d3dcfd9b2fc4f57809141..50dd45bcbcc5a26f4fdc4a123bbd7af1f98dd4c1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f803ed711198aafb08ed7afd4bf6a6518fd0b2b..f244542b9200a0142eb11735abf10a425cbb5090 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7dfa2e3394ec18945277654e11746f4ce1cdaada..7417bf570c64986fbd01f2722bb007217c0b8fa4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 85072f9966f97d719d5728efa978f841a5e21acb..de0f979bd75cbf253a4ca742a3d840f8fb3bc783 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 66977d71fa36ba56200345b4638c1787c42a4dce..878c1f4d5b97b1bad9fdab6ec1d76f3155b3364f 100644 (file)
       <source>Measurement</source>
       <translation>Mesure</translation>
     </message>
+    <message>
+      <source>Point coordinates</source>
+      <translation>Coordonnées d'un point</translation>
+    </message>
+    <message>
+      <source>Geometry calculation</source>
+      <translation>Calcul de la géométrie</translation>
+    </message>
+    <message>
+      <source>Bounding box</source>
+      <translation>Boîte englobante</translation>
+    </message>
     <message>
       <source>Placement</source>
       <translation>Placement</translation>
     </message>
   </context>
 
+  <!-- Bounding Box -->
+  <context>
+    <name>BoundingBox</name>
+    <message>
+      <source>BoundingBox</source>
+      <translation>Boîte englobante</translation>
+    </message>
+    <message>
+      <source>Create box</source>
+      <translation>Créer la boîte</translation>
+    </message>
+  </context>
+  <context>
+    <name>BoundingBoxMacro</name>
+    <message>
+      <source>BoundingBox</source>
+      <translation>Boîte englobante</translation>
+    </message>
+    <message>
+      <source>Create box</source>
+      <translation>Créer la boîte</translation>
+    </message>
+  </context>
+
   <!-- Chamfer -->
   <context>
     <name>Chamfer</name>
     </message>
   </context>
 
+  <!--Bounding box-->
+  <context>
+    <name>BoundingBoxMacro</name>
+    <message>
+      <source>Bounding box</source>
+      <translation>Boîte englobante</translation>
+    </message>
+  </context>
+  <context>
+    <name>BoundingBoxMacro:main_object</name>
+    <message>
+      <source>Object</source>
+      <translation>Objet</translation>
+    </message>
+  </context>
+  <context>
+  <name>BoundingBoxMacro:createbox</name>
+    <message>
+      <source>Create box</source>
+      <translation>Créer la boîte</translation>
+    </message>
+  </context>
+  <context>
+    <name>BoundingBox</name>
+    <message>
+      <source>Bounding box</source>
+      <translation>Boîte englobante</translation>
+    </message>
+  </context>
+  <context>
+    <name>BoundingBox:main_object</name>
+    <message>
+      <source>Object</source>
+      <translation>Objet</translation>
+    </message>
+  </context>
+
+  <!--Geometry calculation-->
+  <context>
+    <name>GeometryCalculation</name>
+    <message>
+      <source>Geometry calculation</source>
+      <translation>Calcul de la géometrie</translation>
+    </message>
+  </context>
+  <context>
+    <name>GeometryCalculation:main_object</name>
+    <message>
+      <source>Object</source>
+      <translation>Objet</translation>
+    </message>
+  </context>
+  <context>
+    <name>GeometryCalculation</name>
+    <message>
+      <source>Length = </source>
+      <translation>Longueur = </translation>
+    </message>
+    <message>
+      <source>Area = </source>
+      <translation>Surface = </translation>
+    </message>
+    <message>
+      <source>Volume = </source>
+      <translation>Volume = </translation>
+    </message>
+  </context>
+
   <!-- Measurement -->
   <context>
     <name>Measurement</name>
     </message>
   </context>
 
+  <!-- PointCoordinates -->
+  <context>
+    <name>PointCoordinates</name>
+    <message>
+      <source>Point coordinates</source>
+      <translation>Coordonnées d'un point</translation>
+    </message>
+  </context>
+
   <!-- Rotation -->
   <context>
     <name>Rotation</name>
index f84f1229d04e8acec11f54d4dd9c45a2180cec4a..8088ba9c3dd7ccd8da51f0ab4db780117eba64ed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d475b42b5b4bfd42c30344c282c7e152c4a8f9ac..0ac84b7dd5ad4279ad3ec938eac6c1acc2bd0174 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 911621c09b081e2134968a3f9761d829f4e47ac6..c372688fb1decfac8f3fdd629439934c2c778073 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6d86ad4370eb94b49e9bb14bcfb5229ffa27f59c..a7b94dd558222f17a4741613739914d96cd87c48 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -142,6 +142,6 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [15])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [102])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [204])
-model.testResultsVolumes(Extrusion_1, [466.947878])
+model.testResultsAreas(Extrusion_1, [466.947878])
 
 assert(model.checkPythonDump())
index c81ad2d64d2ddc246dd63189f2528984c586300d..ec1c2674d152f1e354a113994b29ae3757f7abd1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -81,6 +81,6 @@ model.testNbSubShapes(Pipe_2, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Pipe_2, [280.91366299542733])
+model.testResultsAreas(Pipe_2, [280.91366299542733])
 
 assert(model.checkPythonDump())
index 8b1865cfe3c46c06228f432483ed565d8a9adbb6..4d9ec98f8fb0a6b8e96a6c252a8ebc35495160cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 92fe0abbaade3e0f74456761eb280136a8f453f6..dfeaf9d2529fca6e41f812124abcf9105966a454 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 384c32877874f7b24d00024fe781c7454a021005..e681aada53aee6de29f69276ed6c0ab9f7cb8164 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a00106807e69c04455616c1d05cc5646f13efb0a..bd24596ba967a36eac600af5c89f2c3e6bfecfce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -78,7 +78,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [16])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [64])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [128])
-model.testResultsVolumes(Extrusion_1, [10242.31054])
+model.testResultsAreas(Extrusion_1, [10242.31054])
 
 model.testNbResults(Extrusion_2, 1)
 model.testNbSubResults(Extrusion_2, [16])
@@ -86,6 +86,6 @@ model.testNbSubShapes(Extrusion_2, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_2, GeomAPI_Shape.FACE, [16])
 model.testNbSubShapes(Extrusion_2, GeomAPI_Shape.EDGE, [64])
 model.testNbSubShapes(Extrusion_2, GeomAPI_Shape.VERTEX, [128])
-model.testResultsVolumes(Extrusion_2, [10242.31054])
+model.testResultsAreas(Extrusion_2, [10242.31054])
 
 assert(model.checkPythonDump())
\ No newline at end of file
index 92b68beaff0e92ddc3fd6476f71877e97293e4e9..808b87c72a26f2774598302bad408b352209ebb7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -85,7 +85,7 @@ model.testNbSubShapes(Pipe_2, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.FACE, [5])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.EDGE, [20])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.VERTEX, [40])
-model.testResultsVolumes(Pipe_2, [26549.49767585])
+model.testResultsAreas(Pipe_2, [26549.49767585])
 
 # Cut should have no results
 model.testNbResults(Cut_1, 0)
index 41e4615f4964adac599a7c057d40adaf0d189a52..37cc7d79a8522d6c8cc31594d2e81d0f72c283e9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -109,6 +109,6 @@ model.testNbSubShapes(Pipe_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Pipe_1, GeomAPI_Shape.FACE, [12])
 model.testNbSubShapes(Pipe_1, GeomAPI_Shape.EDGE, [48])
 model.testNbSubShapes(Pipe_1, GeomAPI_Shape.VERTEX, [96])
-model.testResultsVolumes(Pipe_1, [27370.29819])
+model.testResultsAreas(Pipe_1, [27370.29819])
 
 assert(model.checkPythonDump())
index a93eea7b57b24fd9c0ff7c0a8f4310df687a9df2..1273f3e4108c679a676692827584ecfa92769d82 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5ccb157dce4eed19a507b98fa9dd643e13983e53..69490f5636550e79d593085695d64a690e543716 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4dae68500abd73ede426c88710db53c07af0f7cd..0cd1a7182315258249465ec5c25acb51ecc53cf2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e43848e2e2e44248e0792c7acbae7c792d714ba5..344634fa5bb04a1cd1454f7751a2ad0b1130f3e0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8dcbbb3fe9c69b04624a115dc70bad4b436146a5..513d0e396bc00925bc27d51cfa4f041f29f7b46b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9f2c5b0e407402061ee7813a2d7335ce46bc459b..1fd39930e46be1574d0bc9654f69ef195c940917 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 21d21c301daf2df83675f3500fd40278cf29e7f7..d92704285433cfd643113551291eb038911b2e9f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ef4de72593b9c54c7b2e6dfaa2e9a25edadac758..e0ce7d7e311202afb00089bd9eb1603142ee9fbb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e77f4f5e73b8e9ba4b0739f7fc7943b77ed74513..84f0002bc8a1a83af45e58e718690f6a48a88439 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index de33ec84707ba76541c9d0ccbfa23e1ce637116a..2370a985d398b5662c32f64181b47c94371d24bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 162ca1ac0eda39cbfde99c54c4330423a0fcb5dd..8fbc617399c2c7401abb638f66b2d3269b941f0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ce7d0ea46cf6a7d74547c3a2ddadc4355a20ed42..5fe660a924e1dc747bd7ebb9228e087f384ad745 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c6b018a1759c629ef13c7df44648d4f4e75dc72a..978400f3f6602f15d86e61a3a8637fd9ee5e1a62 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a8549e24131eba00579e0cb0ec0befc8ff173586..6c704b2f7a85594d4163b482f572339bb8c54ed1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bd683d52cb16d7ef618f10f507116f7773733d3f..517b92a93e43674eb0783c72506111ef8b812454 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 546e9f287ad9b72fe00b65f1257acf1297bb45f3..40181b88ff3c60dc8adf5c3daa3c87d09b1b602f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 721ad4e405557ab6ee14f53f79ef3e48738748a2..82e7989caf7b30df67935b5d0cca959e0c0918ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4b014441cb104e20ef935fcf579d7d13d4a4315f..24dd490e67cac9d1ba327f848afe75e5636b1f44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a23ceba89a9ef5c52c93791cd3127e966a8fd742..0dce0f8e9eded220a5972f4090235dc3dff449ae 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c7c8b4e82c9e03f47cddd815402c9166241394d8..fc2ec22ed50a462785259f0e619e93b2251140fc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ff834a6971fe01f00913a81778a9386c074bc770..147bfe61109d58744c422f1d0f1fe6a296e66b09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4fc419ad95fa33c3dbe6dfb40f36fa315260b99e..34a865638ca3786381964bbbe3997a9d90972acd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 331bfe926cc2cf5dbc8d3a3b9614757c7e6052c1..2a2b7ce51ee2de709b8fb0d92dbf2a5abc8db44b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6a050bbc7447ed14711a33e79e96d352968f937a..c817148b706648497ef8c6a61244585eef2256cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 06e037842ea90fd6b2eea1f6a71e30f8c7998b49..75af4f80e41f31b80ceb20674ed0e08456956b2d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 03373555d156b971f61d4ef7f8472e281bb188f8..02d45a0f018f3d2e13e0208ac3bea05b31d4da6f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 86575da7d77e035e8d1767197dd024df6ec9c942..1097cda0cfbfbd7bc94891c37f27ec29d0fbedb1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 649dd2a6e3f733f68eaee9be9e8f59d3ca9cf5cd..803b57fdfbcf45bbb73eb1b5811ee93273b3b4eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e2b74d0f2fbee878db52254bf6595f318629dce4..8c8d6f909a98b5487df7228faa231f2b91e7befa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b304582192c7f702decc479320d6a91a9c512e9a..3fe6af19ee93a23ecab3cb13a64876eb0b039be2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/Test/Test22847.py b/src/FeaturesPlugin/Test/Test22847.py
new file mode 100644 (file)
index 0000000..17ebc50
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+
+### Create Part
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+SketchLine_1 = Sketch_1.addLine(22, 23, 60, 70)
+SketchLine_2 = Sketch_1.addLine(60, 70, 90, 23)
+Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_2.startPoint())
+SketchLine_3 = Sketch_1.addLine(90, 23, 22, 23)
+Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_3.startPoint())
+Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchLine_3.endPoint())
+Sketch_1.setHorizontal(SketchLine_3.result())
+SketchLine_4 = Sketch_1.addLine(60, 72, 54, 23)
+Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_3.result())
+Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_2.startPoint())
+model.do()
+
+Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "all-in-Sketch_1")], model.selection(), 10, 0, "Faces|Wires")
+LinearCopy_1 = model.addMultiTranslation(Part_1_doc, [model.selection("COMPSOLID", "Extrusion_1_1")], model.selection("EDGE", "PartSet/OY"), 60, 2, model.selection("EDGE", "PartSet/OX"), 75, 2, keepSubResults = True)
+
+### Create Group
+Group_1 = model.addGroup(Part_1_doc, "Faces", [model.selection("FACE", "LinearCopy_1_1_1_2/MF:Translated&Sketch_1/SketchLine_2")])
+
+### Create Remove_SubShapes
+Remove_SubShapes_1 = model.addRemoveSubShapes(Part_1_doc, model.selection("COMPOUND", "LinearCopy_1_1"))
+Remove_SubShapes_1.setSubShapesToRemove([model.selection("SOLID", "LinearCopy_1_1_4_2")])
+model.end()
+
+# Move the group to the end of history
+model.begin()
+Part_1_doc.moveFeature(Group_1.feature(), Remove_SubShapes_1.feature())
+model.end()
+
+# check that all groups are correct
+from ModelAPI import *
+aFactory = ModelAPI_Session.get().validators()
+
+assert(aFactory.validate(Group_1.feature()))
+assert(Group_1.groupList().size() == 1)
+assert(Group_1.groupList().value(0).value().shapeTypeStr() == "FACE")
+assert(len(Group_1.groupList().value(0).namingName()) > 0)
+
+assert(model.checkPythonDump())
index bc78f1d931734b286a6eb5b63887bde3d92aa08f..6c7fc801f3c3bf8cc2b8e81e627a8a74a387c82f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 125700e7320acbb4b235a8b4f429b5e2d4f473bf..5c8f9f72456b7623e3bea39e87335b6f775399ad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 478773c97014d7888e933aa0b1773ceab122ac58..7a3f92c2320ceb23772cf19f1645972717c302fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 06c4e2322e25125dc07e47087d9c3834f0b12572..e321fba6dee159fe67f076895a5c14598c6f5de4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a0e6a57dca31a181480c4143392d64aac81855fa..aa0e81a9b51a513ec7b6e334e8573f0a0def9815 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/Test/Test23885.py b/src/FeaturesPlugin/Test/Test23885.py
new file mode 100644 (file)
index 0000000..b94c262
--- /dev/null
@@ -0,0 +1,73 @@
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+
+### Create Part
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+### Create Sketch
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+
+### Create SketchCircle
+SketchCircle_1 = Sketch_1.addCircle(45, 45, 28)
+model.do()
+
+### Create Sketch
+Sketch_2 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+
+### Create SketchCircle
+SketchCircle_2 = Sketch_2.addCircle(79, 72, 29.30)
+model.do()
+
+### Create Extrusion
+Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_1/Face-SketchCircle_1_2r")], model.selection(), 10, 0, "Faces|Wires")
+
+### Create Extrusion
+Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchCircle_2_2r")], model.selection(), 10, 0, "Faces|Wires")
+
+### Create Compound
+Compound_1 = model.addCompound(Part_1_doc, [model.selection("SOLID", "Extrusion_1_1"), model.selection("SOLID", "Extrusion_2_1")])
+
+### Create ExtrusionCut
+ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [], model.selection(), [model.selection("SOLID", "Compound_1_1_2")])
+
+### Create Sketch
+Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "Compound_1_1_2/Modified_Face&Extrusion_2_1/To_Face"))
+
+### Create SketchCircle
+SketchCircle_3 = Sketch_3.addCircle(88, 78, 6)
+ExtrusionCut_1.setNestedSketch(Sketch_3)
+
+model.end()
+
+from GeomAPI import GeomAPI_Shape
+
+model.testNbResults(ExtrusionCut_1, 1)
+model.testNbSubResults(ExtrusionCut_1, [2])
+model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.SOLID, [2])
+model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.FACE, [7])
+model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.EDGE, [18])
+model.testNbSubShapes(ExtrusionCut_1, GeomAPI_Shape.VERTEX, [36])
+model.testResultsVolumes(ExtrusionCut_1, [50469.37182])
+
+assert(model.checkPythonDump())
index cd11fc85a491da5752b5c91c03e2c30dd460eb85..afa76e15c464565f25ad78e8d1fcf631d6068c17 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c91401e80234397ed16ab387897a6eb5cf835d55..1d772b0106d2695896d0475aae06b40cf8b701ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c0f5b2ef3a422033544eb67fc4a4a918eb97844f..4f0be7d6d142c3155961e9e87780b66dbb40dba2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 33d0a3c8fdfd3734d1cd84ad6ce4cd3a6cf780ed..361085a858abdb55be96804d9b117526bd4cfadb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0969c2af3543df71a3326804a7ce74c88a62debd..236c4433c1a782d5034aedcd6a1a522da26a4cd9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f27112bdae283bdd91b5ab8e62921b71c24272dd..27544645e191964124834e7fa0233cf6902818c6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7e246a1b30cc3b380500b1232f0a514ed87d5b1d..c8fb4ff3e64ef93c32c144d378f08ccfa3432152 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cc7b39e2c3f4b0653c1c2f5e3f056233d717d4fb..bfe0bbe257b086e2810d09e670f58fc7b98b2508 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e2c5a4eb650ed84d908c0831d463ca7dfb22de26..56f3eb2f12ab3427ac5c9842dbbfcd86d495f63f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2e51bba336beacf129c0f4f37c55041de5a9c450..e254aabaee378e17fa0ec4d77f432320e175e75e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index da1a2772782223d14591f51e00b8dfeb3f776a4a..cfea8a80a35afc29294d4947348b4e9db04661b5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7871e78505374ab630a454435f62182eedbd7364..5341d28c04d6613a4dc25b701dd409915cf1a400 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 434388ebd915b6b9c10b6ad294aa2bbe0ea0715b..0e12460a6042b6d8ef3c33b5275ebcf8d8f38cab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d7082e63ccd4eed56dce4491152ef04d7b0e8c95..68c8ebccac9e19a9d7bafcb088360cae6bfca6d3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0e71fb1f4ffbf43230719d76b8333dc8010dd736..01f8de3cabd168eb5744e09865ac5ad0e95cb373 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 733a1874837610a4117eb00db69bb495d38ac5e5..0c71fcc62c81d3b8220f9829e3dd4ff762be3095 100644 (file)
@@ -1,4 +1,4 @@
-## Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+## Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 ##
 ## This library is free software; you can redistribute it and/or
 ## modify it under the terms of the GNU Lesser General Public
index 522f3d40ad867bfbb6e49072dd368594aec96619..4133578de3fc5398cf9702ac45f8de261f90cb8d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 70fd317e6ddcc622ffcdfb14014c982e1a1e9658..724302c3557d47b7fa69fbd8d0a9c630d2213827 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 042ef2ccfd9e0443536063d7adbbc0fb274a9d38..b489f4105b795ed16784f903905b7e4932858eb9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9b4f70e48b15e6148e2247f4278ef358728f82fc..b3aa4e4949a8f1328a687f52b2c337a8ce997817 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3682af564b1959b156c9fb729081761f53600de2..09922acb3ab1d89d44d27d6024f5e0d32475a728 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9c127fb8c2f7bf101269f43ddf6074f5cb97861c..68cefd4162876b6e2ae07261097ec65366fd7955 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3c715ac238e2e985153aab71322b3f32323936c8..04b9a379b715561e58ad43d9972c9a1fa258c7bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5a23197ca261b8abcad7c70f30458d3b291a31c5..198c7db01d960363d32f2fba9592e7f7c4a7a9c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 40a0dc7bf743c9a6bb8333f065254c64ff8a218b..3a01baf399f52ea78245c3a8c260a4afdb3db62b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d919664d8a14d6d2b47549799344cac18cef1481..722c21a82a5172ced64c4ac0f6867c1b9a82545a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c0054d75637cb33374d32c2d67d7b8b8aa290270..a521c0e06cf04c9313697f88650f257e24046b51 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d6c25562e3269bf578941bd994f8a37666d40f98..6bd9a24b1f4dc00f04ed1a250ddfa6f559ed470c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0f5114e84eef9b39d4cafb08afe0282224effb80..9dda94a28741861c1d58cf2c6cadc5e261b5118a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c179304ba034faa86ebb16ade122cbd10c2df082..c21a8f85ab8ecaf89b5e1b5683603ac5230659e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b2cb5ba970cdcd64a507f2228591deeae08dfc0..deec78c4c54dfa0e6ab8495b3068495e117e8861 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a98a3c4539b5b18e939c41e3a1d9a0c5025da67c..4e380a91b8b9e9aa9e1a564c4e1639783070ccce 100644 (file)
@@ -1,4 +1,4 @@
-## Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+## Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 ##
 ## This library is free software; you can redistribute it and/or
 ## modify it under the terms of the GNU Lesser General Public
index 9c42f1bc26063b41c9ed4af8ca7a997e348aae6a..d72bc170ba62a5315ffbe7631dab3af2c06d371c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 958cba97fe1d0aacc44f67414c2d069c0093df3d..834a37d02b729d327548eb2f268567566f806a84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dc39dd4854bc738bdf12dabec920e047dd4c2102..a19cb09d354bc0f733f036721a582d982782d2b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9a6ce40a8b0b594ba34c682082f6569123c4bb54..27c6deb12acf0f097f43fa2a9e0c171b3f567f36 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 319222135223dd5a1e9c56e576c6fe6dc3e0700c..6566c06d480e4805adf210130f5f6837448671e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b3fedb24461587030c4fd99ec7f4ab2cff58cf26..f59882a2df38c63e52f24621ebd1059aac09f73c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6945ca75eeafb48e093a2506da1fca594fe97c93..6063784d9ae9865a69033c55bf549f43747a77c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 351bebad0f11b5cdf5b56d8e0bb66a97e280d39c..a1313224feffb18ef92f09476ecf308273d47e1b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1fa763f5dd0c74dd4246b5a7f75e7ef42bee7e08..22968acb482db0ed324935ec474b0bbb0316ac1d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aecae0b8c8f575063f8a890ae0b9aa4e88f15b49..f1d56faf48144642b7d7d9565b05f1975faef13d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4eae7fa41400b700ba6568fd5cf709aeba922337..f4608384fc7f933238b85e680df81e6b678de765 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e4bb1ccf36acb68825ec9984b198cc8ebe3cc7c2..18bb85793c6d224729f4df4df6e2028226dee41f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e258178a2bdd0467f1f892a5f40e9ab490f838c1..da93b100625f9170fa5d4bf7ea869b012f69ba2b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4b91467f8971ec132f2f3129abe942a012dae934..000e5c3811fffdc98c0f40cfb30b2186d85a3141 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b452d024dca3551794651789d99a944e975ad1f3..b850ba55d82b87ecf1779afd6876fabd2d534f57 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c85d224d0c5ae0f32cf031e82169ddd322a90246..525fb2ddd1cca419feb70fb105d0435928c91f2c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2c2009185fc2bae78c3980207ae37df4f662afd9..4830b61b52f61f5e95379f66e55063e96ac936cc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5bb9e4bf4fa583c9c4340ae0e83cfd562834eeac..565f5abd3ceaf4524b478b72d995e1e69088069f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3ca941d026c0bd6ab7863b860f85c7887b5c5975..b9960d8073fbfa064a03f6a13067628f022d2bd3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1e10806bc738b6dd26553955fb415955a806c274..3d67f3296b94d690905d392e624c1fe87e7a334a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 158977d6797e1632c31a2efbc3c197edc9eee7cb..190279626e5bc2002a0170cde036704746e0ce0e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d88ed322b03f9de964100fb5d6007e74e40269da..afe6c6b6081f87ea8ccb96e17785665a20dbf8df 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index efc0edce3483d7b8b876cc11ca078e210ec6677f..f1676cdbf13232c7a42cb0b652058aaedfb02ab2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index da0e1b32c2afe7aff46254e95eb245a8a3d83f2f..1a002e4b7e5d69eb182fd4da7313dc8090a16458 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3c479752616976b6704adba9dea905bb5f1bb94d..5e715bf87a701d70c63c694a59b88388f6879878 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a7b76be1625e070c8886d2461bb5308706fe8d31..e6329ff040d2f71c69ca28445c733c3910881cef 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c0a529dcac670eb8f58e49e63f8943cca2d0c091..0b74c61e695aa7038946283f155b4147e2b2f643 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b5aa151bd473762dd207e1d80659d31e90907940..dede41b0b63a3b4b4ce3d6b18b0da9320a346611 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4611216b2f7055496bedaa8f6375550925e33302..974f2e0b20d0e9c4e1e1691f7e4aeecffaa23e0d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e572cd732b8d42c554571e8665a05cada6e82839..956df995d8e304794578e9dded7edd327846b28d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2b9c8a8a3be835cf5df6e0bd83b91b6ceafa5ad5..53bc11b91769648c22380bb373fd08dcd98e8690 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb741d45afceab1f6de4f0b7da7c5507922b406a..32c174b3273c6a0d35d66092c7c2d472847b8bd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8661dbe5ad0936c017ff39193839ac6e54304392..b3a296f408ad92fa4f89ef95d779a520b2bb29f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c9203cede73ca0b179b32b6342d927f082085109..dd82bbb2b71cfdf441bdd1ed1468591a04fab872 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3834422de73cbe53020b4df64dcce72f2cb6d555..4cd9a90999b3928ecbb07b4ed35deea5b3edbd15 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6b6e611d52308103761534d33452ea9bc2d8b7bb..17c3e95594be53339290af73a71d69a0ee7462b4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a8d783e93b34eae320191c7f3ea818bf483e2b6d..ddb390988d9ffe96e2eeafc91027939bb8bcc08d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e0bcfa053b6a1adaf7c326a116001928d26dca94..5fae4adf7baf8e27d2f06b8d3d4d4c08c5a38d8d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a4d6a817e777f43c5a8ceccdea62513a9a8c023c..75eddaad4d9ad07a59c0be291b5a3eb1ea46053a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 196160948c9a6b224525ce2da78d6eb9c193fdf4..e063c839167b43ea8d4e837d904f0589e7e2f548 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 83f647fd0497fd989f5684d52a2980222380ae93..ed8a33c339d33ed1df75fa0795d1211cd0ac45e4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4d0f39764f58d387a0a11a1fbbe736ffeed315b0..4ceae3b5dd3835d212a768c916f2b0c22cc153ee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2cdc014ff1801f19d167a712712b6566ddd2906d..194eaa74cc201282fe81db543b536db5d99c97b7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a81a17325003af7c8c0cecfefd9f5033dc6f966f..ad5765f636061b86f6abae03ed8b1ce40571e748 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 11931929136d56bbcbfbb04802ff56863a12c832..fa6f5ce6aee6f70bb245ef483559b756d750c5f0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8a347ae7482aa562a58bc54a7094cc125fde1536..457481bf45d97d671b7066d736d7f6334919a6e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e13ce4a04e9235c623bca72a46e2ca79063816b0..5faebc5b2032ad7fc18b2d6d1e8d16d88aa20ceb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0dff27113b3e09686b80e0110d503c69eb1474dd..6827fb07c79472cd89aaf6d7bcca7f74f5e4afa5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8efc25336c98c31676c882342bf22681d6489ac0..cce433ecbb148c76a48cb6802517dd6104f09ca5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 381ec579b4c8ab481322a16979367dc3c7061506..7cd47a5287ea26f218db6fb021691bc3addd57ec 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 42f76c9d622f9975ade32e6c163562342914edf3..2cbf5cff028a8d8c789ffddc63937fe27073de1c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 165a9738ad9d51a415150e78fa16cd66c211cf46..e8f6cb747dd7a4fadb6d2bf3211fde0c7ee19f84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7cfbf5b12e4b490134e984ec428ffdea660a00e3..e056772af74165e6ddf58d386af83b8fa05cd7c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b2f79272c6dd7dbfb0fefdc0b2107f3384efd73..cd8bbde2b3e31c81e1371a15f5177f7801238851 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e6ca305d1c33e01f1c0c0e37d4afcdc0a42f5fd..89d76a44f8bf38b9153087d3ba4a4e3e64c40739 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9782ebdc9209f19071f47396f22b5b5bace2aa22..0a286479c71dbcef07cc021b57c68fe0662831ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1d2c727388106e3442c927dbfa759d7c110ab75c..1a2307f7db2fc5f36c8673210f38c7337a5992a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7752be46804da9c87ce3bd6093bfd4e367723047..ce587b90669e0dcb186570b1ca9a8d0c7085beca 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 52358cd9629ad0c9dffe40a309ff57d471694f4d..03b75a7d32445237eaf85a993f875472c8ee605f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c10c055e547427394ffecbf83da4ac93ce68d073..8c3588e0d8e1cf24bc6c0b9869806b12c266cbd9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b198a2b02bf5fc76775864628696f319a4668fb1..3dc0b22eb7ae0ee73259625a9160eac3fa1262bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 676bc914fba9bc10ebeff85abda170265f46b616..a30f5dd85f19364b1195d919e4c6a4fbbce1bd8e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 449f838c6e60fb77477681ea84e3a31ce4e1438b..ab22ffe10fc698a696fa27c7a6fe50eb5ea4ccc0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9d24ed7c09b3e19aa20503b00d84c3e685d23542..2c4333efb85d625a9a88a6e7c384f4a2d16e0736 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a0fa822f9b2da8424c576591184c310f9b7a4d37..69da28189a5eed03303681720df2b63e52d10837 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d250cd7802493313be45231b317994c1245a4070..2cb210a4cdbe24450400f89cbdb178173af57aae 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a087f7ae9da4d109c3bebaf909aefdaee445e629..3603d2561a519d54c17d3ea14923d0dda8d354cd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0c9bdfcbb4a413c30cfb3f387bd6560754a3912b..3174b2dd2a8605c1471f86f4356bb7e5345afd3f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a0d56fc531ede14a93dde8926576823ad5374dda..4172deb09a0b87445d4476314c183c8c84caaa0a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8466b63a33e58727a6ad87e25bfde781970ca46e..0d1a2376a7b4fd09302ad64c21c56e4cf55767ef 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 69cada0d59ac315e211f5436040bea58a61cc71c..e072cbbda9eb3d41833aeb4c00aa5c2014b2a6ed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 71aaa386cca68580eabd5d0d524facbe35034f65..f612e515fc6c4c5b051e03ef76d213798093033c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 53ee10e79ef5f2f52ef95b32c672af4aecc2c76f..784f1fbc14fa506831f18e93e46e365a4f4a060b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bea773f64899f1023ef649e698b6b8d5c352fb1b..8c80ba2ceca0f7da623eeee96f5184e8125f15aa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9789994d10a7a557abe961df149e271e4371d626..ab738f7188784ab6473f5f6f9da2c8ff58302a5b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2616be15a35a8f04ae0532c44fc6cd2ae618ec83..17d45aab126c7e9099db1580f680daa3fe6b9b22 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8da475912bd0fa38132294b535d0968473a593e0..85861ee09f1e238a543efbfe2c3e797effc24c72 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 86f66354c10a19c5075b349e7d23eb375096c7a4..1b1a6aab89d7ad900e2ab447d3b7096cf24aeb11 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e4f67fc927870fcf2a611ca1709fcba77db0b72c..d32bda8a9f6ae6c062f8667129d95487863ad084 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index af5615c194946f8362a92ce92f65c67135784673..d26c05d2aaedde4032f178c26f393b17d858c05b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2bd78df009f2d3ad5fbb380841b82e46c72ebaf7..afac2112c8afd286460b4585121dd1e69c2e03ef 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc4e8107acbf3d0d0844b0cf334e41e9ad355b81..2d3a97a32d36a244e80519c5ea06cb8a3bdfc737 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 08f92fe38dd5d6cd801b0d39c1ba995e69b1484a..f30a75324c455107ff8d571f1712750a7915039a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 426a70c398e6407486dd6b33dc3100f44993e5ba..06878100ed1e3b455a11e5e507878e342b394c4b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c7a17c986ec19d90f0cfc8476df524f037f71c54..3a7f3cc277904c4264497857d6d9b33a5eb7ee41 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 30d94b8ddda8844b375d14e2bb2f4b36d3811fdc..becca15ff74c567e7c82563d0b47a0128f998007 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 264dd66c59f49dd2d6ab65b9c89a269caf5b2d75..9f5eb95111e6b75efceaad1893edfca1619a7b26 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a104f5046e157ded4eccdf33402ea29330054e86..4f57c048a6bf75439330dcb05c0ddd90ba3bf30c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dc903c3ec0e4358aeba2c6286907ff1bd01a1fbc..788d0982fec41d479ea1ffa35da40c9960864819 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 780c8d113dc9261deb71a8336fb01d957a8a5421..afdf7ea24f6806b3fb827fab1dbace78bcd46552 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 37bed84c105d16d35c31634f76fe3a0caa4b5ff7..6eb11f74b6ebebf1f410846e3e9aacfa40b18ee8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 54a23ceb3a037eab5d8af752e85b4bbfc2a66d60..54cd384f455fdf43d36e3248c0ac09bc2ab2c969 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 158c9776b19b07f575b65a43628b80f2e4b5cf31..b1a5fb440aa63c4df51c47f98dd9992d66b1454f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2ed535193b1ffeb666b63d2359f5de664a2faf2b..5a3b9cfc7756763f5c21a5b1e97a510640a2f879 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9bedb773a8759299af501cd40a7e687b8e46f91a..97a6adf5c6e0f9e404d5b5f03747eed9f8558809 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3f4323af8d94091665ac6731ade7b97a3c85b2df..569d995c1a99e77fc8fac0403b244fda59c3eb49 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 36a2f5bbe94d67b1b45fba3b3e5819867de93447..cb4e789094e524494b0218c50df3422b28a15109 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9dd901a5129389a7cf06c3bb3f8b9b20b65f94b5..9a3a150a7ef420e2022074f167c7fec63b1592fe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5b05a2cfff13028c15505b9b59e93e33bea2edb9..e310725a73886fe525c5ab4c6042d9705bb596bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 71a965e80f42b3f900e0663fcf12db4ec18d1fbe..aed1053712a001c7369bdd93be89bb911995c906 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5f2bb11dd5fc7560ce1a937520e8cf4b44ad1f3c..ffc8e06f5f8e26740dcb9b6da769a9d62515be81 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 07b5abfe9eb040719886d00952141b621434a0ce..e29f34a5084def3f1ecaf697e851c2e920e4d4e5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2dfa8f4aed23e980557d6d025fb687c8fa49b58d..bfa9b721bd52bd49d72cb3dcb8b406b70c94bfd2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 946d708953f143eb0d3b3296ca4eb8b00817eca3..8a849e9073d926c2d2d58963fed780b74c5a2844 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f71b79778186ece638dabae7cbfa6a4175ddb9ad..79db79f9d0355ffa4691732964ee25da6777a185 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d03ee9bc3f0a48ebdfea82f2df2b700698ba24bb..a09325fd630df5997763923dca6fdfec693c4bd7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 92c76dfeeec675c3a37d1ead93e76f6ac179c2fd..057b025953a830f05fd4e48cf88eaa6aea9cc5ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f32f3461bcbf98d9f8629a96ba48188065bed004..070dfca6965701dd5cde9df891b6c7599e39aa01 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6293f57be12fe8706b12b91f0a657874529b79a1..d92dcc2b0f794cd1fb3fbd69544357c1f78105f3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 990c648c34d30883666a251b911b7f6a0bc0edb5..efb1cdf1e2c76762ed80c12a60e6402ad8431865 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1962b6c999c8f7d3d8ee09ef8c412a25a3d2a216..b2afc31fe1d58dc86f5c89bdac07b33b0724358a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9739b34aefb9771d2a0ba003bd384222d99cf225..cb50de32bf9587edac508d73c5287fd97cff16c0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 294df6efd7d96d097067a179a1569a474bd53d0d..9beb884e9c4740ec2122fa44790e1b5671181910 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 91bb0e0735394bb589abf07720c5afb7348f92bf..db8cfc7166cf7706a8056672e6642a4b2ca98459 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/Test/TestBoundingBox.py b/src/FeaturesPlugin/Test/TestBoundingBox.py
new file mode 100644 (file)
index 0000000..b391273
--- /dev/null
@@ -0,0 +1,82 @@
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+"""
+      Unit test of ...
+"""
+#=========================================================================
+# Initialization of the test
+#=========================================================================
+
+
+import os
+import math
+
+from ModelAPI import *
+from salome.shaper import model
+
+
+__updated__ = "2020-11-12"
+
+
+#=========================================================================
+# test Bounding Box
+#=========================================================================
+def test_Bounding_Box():
+
+    model.begin()
+    partSet = model.moduleDocument()
+    Part_1 = model.addPart(partSet)
+    Part_1_doc = Part_1.document()
+    ### Create Cone
+    Cone_1 = model.addCone(Part_1_doc, model.selection("VERTEX", "PartSet/Origin"), model.selection("EDGE", "PartSet/OZ"), 10, 5, 10)
+
+    model.do()
+    ### Create BoundingBox
+    BoundingBox_1 = model.getBoundingBox(Part_1_doc, model.selection("SOLID", "Cone_1_1"))
+    model.end()
+
+    myDelta = 1e-6
+    Props = model.getGeometryCalculation(Part_1_doc,model.selection("SOLID", "BoundingBox_1_1"))
+
+    print(" Basic Properties:")
+    print(" Wires length: ", Props[0])
+    print(" Surface area: ", Props[1])
+    print(" Volume      : ", Props[2])
+
+    aReflength = 200
+    aReslength = Props[0]
+    assert (math.fabs(aReslength - aReflength) < myDelta), "The surface is wrong: expected = {0}, real = {1}".format(aReflength, aReslength)
+
+    aRefSurface = 1600
+    aResSurface = Props[1]
+    assert (math.fabs(aResSurface - aRefSurface) < myDelta), "The surface is wrong: expected = {0}, real = {1}".format(aRefSurface, aResSurface)
+
+    aRefVolume = 4000
+    aResVolume = Props[2]
+    assert (math.fabs(aResVolume - aRefVolume) < myDelta), "The volume is wrong: expected = {0}, real = {1}".format(aRefVolume, aResVolume)
+
+
+if __name__ == '__main__':
+
+    test_Bounding_Box()
+
+    #=========================================================================
+    # End of test
+    #=========================================================================
index 837fd4122aec9ae21921e935e193d620b2c0a4ec..ecd25d3ebbccb57eb036331036ca2683c47f5870 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bc024cca91e2fb563767b282d36a17f40e594513..b5929f0d6ff013d4d0f883924ba0b94f58e32f14 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b45173339ea7ef9421f6b20651ac3e0799a71d6b..753b301f2acbc106af12818963f1395926894b09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 352143277b96c937f16111ba72e65d8df634874a..07edc1787b57ff65a73c2bd2fe4bec577e4ff23e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 59038989dd04d48ce67115ad098d3182077b81bb..e7ba089aa9264246f337088ba1fe912b40bf9fbe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bfbffbf982841bcb4b13920f46e022eae51c204b..123ad48454c4efc3f6f635a3a55d1e6b72c1ec47 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1767d54eaf7f06784484b6834b5495a30aa031c7..5a3b10f4bba1c1b90f3660fb105d8e37963325b3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f23c42830584a02e96e38f33c31ae9666030c254..9037a594c3c19f97e13b9fe45e6430da093649cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1605570d9ece09b7e4228b01c2341548bf7465fa..34cb56370b2c2759e6e1beaf4ce8c8913c735412 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3bbd35ae3fcc605e3e8497278201c24db736c4da..bc258fa3333ca3cab9861c3ccff7e682511b86ed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f9f536ba5c3116f1fbfc068a8fd6298d1511d68a..fba27caad517489fecae04299a256ae62855e5c0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5ad8aaf2624c97b088120f4aa73313a91c619837..c7b7645c425152af2b302016c954962cbb63e165 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b0e0f58ce2315895f8888d044f8fe6f2743aa9ad..06ff68fa1a9ed6f2f3303002b1f94195a1bf91f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index afaef17fcd57f27af4388ae50adbf19ce281065c..5c73880203a2941e39404a7c557a5fc12952fd14 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 36368efd341e67d9bc568d02dd5a64540ed1f387..eaa6e33b4e69065bf9bcd672c6a1b2a390854ad1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 324df4877af53897644c73dc8ea080335bca517e..7fb0186b8c5c5599c0505134cd29116b8497d385 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 609ff5c7e1c7a6e839fa7d4bdef860ad3762a714..41a343cda0ea7aa295465e81dfaefafa129b73db 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ce0d9c4773ba9ff9c9f48548042c6242b8f27355..1a24910dfcbfac1cb8203b44fd47a7c69465b379 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 387605fc09201a833a95991d2cc11e5d1a872ac6..8646ea3448ff0053ea7f6460df121330a0468fed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ce66d04c5f5edd75079feec25739afad52a066c4..12b5d6095ccd5cc0c223f10afbbcdf9614b06d28 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a6807c5591f0532afa316e45c562fab95e9a0ba4..38ac4972ad153b579c24053b187afe31d921268d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6840119991ed5104b40295e9ed8d3ba0e19dc5dd..a45fa507c777aef6216f96206b97bdbe5770fb97 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c63df13bf1c93edefe4fa1f6afac9b3baccc38f8..23d82d2fa8ab17f2d6c0c29280e4a0e46b8d5899 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8feef55cbca03de145531b9c339ca7e983400ac0..494c6042ef43b1893045361b1627848b1c9209f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a7d7c5d7e44fdfe50064e39b618c12e90ec12664..0d2baf8d0e9fd0bf7c2e6f97734302ac0ee17cbd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e5645226885e77ffbe830ebdb1ab28c46cb08272..926ca728f815157b45128304bb4ebcd940a7c22d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ee343dabbb0b9c3246f96556cb3c21881649c5e1..b901b6f8dc388df40e740611d2d026e7efc448bd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9108c6087d8a99027dc1adfe47fc28798fe17c99..720a74403c98c9f83ae13f8f134a0b43198b5e8e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bcbf2ca73f83bc821241b556396887d21f827387..219a2a0a2712d7166159ac22f4a18d7cc06e21e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e1e06d659fb6746d27a668ad08fef0f5c45827e1..2ac5ca1673b5cf1266d346d8e8d0e29898062782 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0603489fdecd405f122d6ca6916b74d519270462..b060e3b228cd70dabe64a625f416232a218d28e1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e19da51a6a031e6f0a7549732910b42e46208a44..c8b3492b217e4a34d50700a7fdfd1c4d5ed9fb40 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b1cddbba0c89d277b0e231ab7d4244ee28a2af23..d730c06a9b29dd7cefa8eccd7a8c2f090fb1dccc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7fadc77841cdd58dd1c22128924ade652ba638a4..cbbb8bc3d1e715e7488bf50b82d6657d3a9c2aa4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2facdc54b81ca23d0e4ef1a9e79c344a57057010..94b3be176bfdd83e57171de69f2f07b75ba2ce00 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8fdf772f50c36acafa135a8294be337cc680cb0b..2b2647690449f1061d720200a8badac471941cd1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ed74ec2707fc781aa04c70b143ad72715b1b18f2..a6da616a7a168d8803eeefdadd8cfd32bfb65892 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dd23f86938384255545321446fea2f2fff773b90..7e33681552a1b8cedc4f9cc9cbad918c8f65619b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 282e8876648b3aa171bd6db50135638403745954..538b0d53437e72216927a926f535838638609378 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 02fe60c192f5d7642d552dccfd8a9231655a1e8d..afa5c96fe5c29f153c92b2b1e958506705d72a3c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5b5d6e1d0dec3b1405b9fe88ab5e99763fe08a32..ae02ce909b128d926c824efaf2de04b455267df2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f2c1c93b198d8f1254d862510b2569c008389f24..e8e8a352e7a8bccf34df39a44195f10ce0f709d9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4d9ccc81e3624f4384d7d44781f0fcf54fe7bd0e..7a9bc55e2082dbff95f7349ecfb526583d8e4317 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e2f403aaa276b80e2ee5d7112a86cd1b97d3f9d0..57d71fea51fb617bfca7913dde077d81ab6f3e4a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a35db31a6391dc7d298ece9756d976bc074ee0e5..8485cd3433aa3d72511af5823e0b6104030bca39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2ec3cfc2ad3c934c4993e3f04123108c2e3c8e57..eb96b09920ecf61ae895b3a2304065bffa5d0026 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d230a2b7b49344e47864df6121ef346227a79c75..e089f982b3ab6af83ae61030a6d66b039cd92b28 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9aec59902094dee43af80397ac89d7f928023574..d73e89ab24a8867dd81299d9df4f28a9564f4645 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 10f59d90f436b3c3fa89a6fc8021fb7f6090d154..7da4db7919814fee5cbff83fe43bdc22815aa8a9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dbae3cea1aced53b7cbfd032248e6e2e310f1894..a6b33c02f6af4f91e20398291c10bf9d01c0c711 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -62,7 +62,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [2377.030013, 800, 2377.030013, 916.515139])
+model.testResultsAreas(Extrusion_1, [2377.030013, 800, 2377.030013, 916.515139])
 
 # change radius of cylinder
 ParamR.setValue(10)
@@ -82,7 +82,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1840.601542, 529.150262, 1840.601542, 692.820323])
+model.testResultsAreas(Extrusion_1, [1840.601542, 529.150262, 1840.601542, 692.820323])
 
 # change offsetting "To" face
 ParamTo.setValue(-20)
@@ -98,7 +98,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [2899.292521, 1039.2304845, 2899.292521, 1131.3708499])
+model.testResultsAreas(Extrusion_1, [2899.292521, 1039.2304845, 2899.292521, 1131.3708499])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -109,7 +109,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [3899.292521, 1439.2304845, 3899.292521, 1531.3708499])
+model.testResultsAreas(Extrusion_1, [3899.292521, 1439.2304845, 3899.292521, 1531.3708499])
 
 ParamFrom.setValue(-20)
 model.do()
@@ -119,7 +119,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1899.292521, 639.2304845, 1899.292521, 731.3708499])
+model.testResultsAreas(Extrusion_1, [1899.292521, 639.2304845, 1899.292521, 731.3708499])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index ebac64a8b7583c5bdb08f6d2f7ca1f4d7370e448..002064e85c1e2b2987d7c894dc4fcca6536dc29e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -63,7 +63,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [4877.030013, 1800, 4877.030013, 1916.515139])
+model.testResultsAreas(Extrusion_1, [4877.030013, 1800, 4877.030013, 1916.515139])
 
 # change radius of cylinder and check failure
 ParamR.setValue(10)
@@ -83,7 +83,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [4340.6015418, 1529.1502622, 4340.6015418, 1692.820323])
+model.testResultsAreas(Extrusion_1, [4340.6015418, 1529.1502622, 4340.6015418, 1692.820323])
 
 # change offsetting "To" face and check failure
 ParamTo.setValue(-20)
@@ -99,7 +99,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [5399.2925211, 2039.2304845, 5399.2925212, 2131.37085])
+model.testResultsAreas(Extrusion_1, [5399.2925211, 2039.2304845, 5399.2925212, 2131.37085])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -110,7 +110,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [6399.2925211, 2439.2304845, 6399.2925212, 2531.37085])
+model.testResultsAreas(Extrusion_1, [6399.2925211, 2439.2304845, 6399.2925212, 2531.37085])
 
 ParamFrom.setValue(-20)
 model.do()
@@ -120,7 +120,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [4399.2925211, 1639.2304845, 4399.2925212, 1731.37085])
+model.testResultsAreas(Extrusion_1, [4399.2925211, 1639.2304845, 4399.2925212, 1731.37085])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index 5383c9ac53f7d859410429d075a415dbf1d29199..ccbb2e3b35a39142e0702e1475a2255f5bfdf457 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -82,7 +82,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1911.43203298, 1911.43203298, 4564.43663366])
+model.testResultsAreas(Extrusion_1, [1911.43203298, 1911.43203298, 4564.43663366])
 
 # change radius of sphere and check failure
 ParamR.setValue(10)
@@ -98,7 +98,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1034.989222291, 1034.989222291, 2276.43702246])
+model.testResultsAreas(Extrusion_1, [1034.989222291, 1034.989222291, 2276.43702246])
 
 ParamR.setValue(40);
 model.do()
@@ -108,7 +108,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1505.0174, 1505.0174, 3530.28837537636])
+model.testResultsAreas(Extrusion_1, [1505.0174, 1505.0174, 3530.28837537636])
 
 # change size of the face
 ParamSize.setValue(10)
@@ -119,7 +119,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1505.0174, 1505.0174, 3530.28837537636])
+model.testResultsAreas(Extrusion_1, [1505.0174, 1505.0174, 3530.28837537636])
 
 # change offsetting "To" face and check failure
 ParamTo.setValue(-20)
@@ -135,7 +135,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [2295.81450653, 2295.81450653, 5527.16645028])
+model.testResultsAreas(Extrusion_1, [2295.81450653, 2295.81450653, 5527.16645028])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -146,7 +146,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1595.81450653, 1595.81450653, 3814.47306888])
+model.testResultsAreas(Extrusion_1, [1595.81450653, 1595.81450653, 3814.47306888])
 
 ParamFrom.setValue(-20)
 model.do()
@@ -156,7 +156,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [2995.81450653, 2995.81450653, 7239.85983168])
+model.testResultsAreas(Extrusion_1, [2995.81450653, 2995.81450653, 7239.85983168])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index 4cba579cbb66bec38f2ecf3b0b339525cabb0dce..c33da4affd9f4b6214faa1b25ca36e3a7b5a9f0f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -101,7 +101,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1708.843326299, 1708.843325768, 1895.559443038])
+model.testResultsAreas(Extrusion_1, [1708.843326299, 1708.843325768, 1895.559443038])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -112,7 +112,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [2915.069101129, 2915.069100598, 4138.27332218])
+model.testResultsAreas(Extrusion_1, [2915.069101129, 2915.069100598, 4138.27332218])
 
 # check failure
 ParamFrom.setValue(-20)
@@ -128,7 +128,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 8])
-model.testResultsVolumes(Extrusion_1, [1105.7304388842, 1105.730438353, 774.2025034671])
+model.testResultsAreas(Extrusion_1, [1105.7304388842, 1105.730438353, 774.2025034671])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index 1782b69efe8604dcc9dac8f5891ba8dc1ad69a33..8ae199af30f7798fa480abfd3086fbd3d132b53f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -51,7 +51,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Extrusion_1, [2178.8497332])
+model.testResultsAreas(Extrusion_1, [2178.8497332])
 
 # change radius of sketch circle
 ParamRCir.setValue(17)
@@ -62,7 +62,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [10])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [20])
-model.testResultsVolumes(Extrusion_1, [3960.00723])
+model.testResultsAreas(Extrusion_1, [3960.00723])
 
 # change radius of sphere
 ParamRSph.setValue(10)
@@ -73,7 +73,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [5])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [10])
-model.testResultsVolumes(Extrusion_1, [3658.7714])
+model.testResultsAreas(Extrusion_1, [3658.7714])
 
 # change radius of sketch circle and check failure
 ParamRCir.setValue(10)
@@ -89,7 +89,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Extrusion_1, [1398.72992867])
+model.testResultsAreas(Extrusion_1, [1398.72992867])
 
 # change radius of cylinder
 ParamRCyl.setValue(10)
@@ -100,7 +100,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [6])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [12])
-model.testResultsVolumes(Extrusion_1, [4194.25709])
+model.testResultsAreas(Extrusion_1, [4194.25709])
 
 ParamRCyl.setValue(50)
 model.do()
@@ -110,7 +110,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Extrusion_1, [1433.0518])
+model.testResultsAreas(Extrusion_1, [1433.0518])
 
 # change offsetting "To" face
 ParamTo.setValue(-20)
@@ -121,7 +121,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [10])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [20])
-model.testResultsVolumes(Extrusion_1, [5078.347278])
+model.testResultsAreas(Extrusion_1, [5078.347278])
 
 # revert failure
 ParamTo.setValue(20)
@@ -132,7 +132,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Extrusion_1, [1504.36096473])
+model.testResultsAreas(Extrusion_1, [1504.36096473])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -143,7 +143,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Extrusion_1, [4336.142699])
+model.testResultsAreas(Extrusion_1, [4336.142699])
 
 ParamFrom.setValue(-20)
 model.do()
@@ -153,7 +153,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Extrusion_1, [1118.8887326])
+model.testResultsAreas(Extrusion_1, [1118.8887326])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index e25dd0dc7a2b2ef5ab2fb8aab0a1f3ccdb0531e6..f26be94591f58f753b87f8d3dd03da9b5cf20408 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -62,7 +62,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 5])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 10])
-model.testResultsVolumes(Extrusion_1, [1309.42058662, 1016.82520496, 2589.5946928])
+model.testResultsAreas(Extrusion_1, [1309.42058662, 1016.82520496, 2589.5946928])
 
 # change radius of sphere and check failure
 ParamR.setValue(10)
@@ -78,7 +78,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 5])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 10])
-model.testResultsVolumes(Extrusion_1, [1081.93830116, 793.80218227, 2095.8021933])
+model.testResultsAreas(Extrusion_1, [1081.93830116, 793.80218227, 2095.8021933])
 
 # change offsetting "To" face and check failure
 ParamTo.setValue(-20)
@@ -94,7 +94,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4, 4, 5])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8, 8, 10])
-model.testResultsVolumes(Extrusion_1, [1314.8586588, 1022.169915122, 2601.32913399])
+model.testResultsAreas(Extrusion_1, [1314.8586588, 1022.169915122, 2601.32913399])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -103,7 +103,7 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testResultsVolumes(Extrusion_1, [825.71966141, 533.030917699, 1551.6191757579])
+model.testResultsAreas(Extrusion_1, [825.71966141, 533.030917699, 1551.6191757579])
 
 ParamFrom.setValue(-20)
 model.do()
@@ -111,7 +111,7 @@ model.testNbResults(Extrusion_1, 3)
 model.testNbSubResults(Extrusion_1, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0, 0, 0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [1, 1, 1])
-model.testResultsVolumes(Extrusion_1, [1803.997656259, 1511.308912545, 3651.0390970659])
+model.testResultsAreas(Extrusion_1, [1803.997656259, 1511.308912545, 3651.0390970659])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index ee57d7af9c416d4c2102f06694671f0ebf7d68ae..96ef8db51d6e382cfb3f88e7b07258a3a3410dce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -61,7 +61,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [16])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [32])
-model.testResultsVolumes(Extrusion_1, [6470.575165134267])
+model.testResultsAreas(Extrusion_1, [6470.575165134267])
 
 # change radius of cylinder
 ParamR.setValue(10)
@@ -72,7 +72,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Extrusion_1, [314.159265359])
+model.testResultsAreas(Extrusion_1, [314.159265359])
 
 ParamR.setValue(30)
 model.do()
@@ -82,7 +82,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [3])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [10])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [20])
-model.testResultsVolumes(Extrusion_1, [2964.89877572])
+model.testResultsAreas(Extrusion_1, [2964.89877572])
 
 # check the intersected boundaries are processed well
 ParamR.setValue(40);
@@ -93,7 +93,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [16])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [32])
-model.testResultsVolumes(Extrusion_1, [4903.173668915])
+model.testResultsAreas(Extrusion_1, [4903.173668915])
 
 # change offsetting "To" face
 ParamTo.setValue(-20)
@@ -104,7 +104,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Extrusion_1, [1256.637061267])
+model.testResultsAreas(Extrusion_1, [1256.637061267])
 
 ParamTo.setValue(20)
 model.do()
@@ -114,7 +114,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [16])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [32])
-model.testResultsVolumes(Extrusion_1, [7969.186376787])
+model.testResultsAreas(Extrusion_1, [7969.186376787])
 
 # offset "From" face
 ParamFrom.setValue(20)
@@ -125,7 +125,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [16])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [32])
-model.testResultsVolumes(Extrusion_1, [5169.186376787])
+model.testResultsAreas(Extrusion_1, [5169.186376787])
 
 ParamFrom.setValue(-20)
 model.do()
@@ -135,7 +135,7 @@ model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.FACE, [4])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.EDGE, [16])
 model.testNbSubShapes(Extrusion_1, GeomAPI_Shape.VERTEX, [32])
-model.testResultsVolumes(Extrusion_1, [10769.186376787])
+model.testResultsAreas(Extrusion_1, [10769.186376787])
 
 model.testHaveNamingSubshapes(Extrusion_1, model, Part_1_doc)
 
index 694eac4bb19f2e2937fa138af37817a259dc769e..521a20fa9576e9a827bb29a8785314aa014d35ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 00b052bbe6a583cf8a7558f8cc606bb3016cafb7..77bb31ce5ad772931bda9011e84e822bc39744fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ed05f8be4660e7424af0c1fd4cea8a1bdc543e14..da7a49853ae12b312d67e164497f8999c506cdb9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6c122c19f88793018328a6d3e019734f47bf1e1b..7bc01e847bf6cfb2ea52d65a633e7cd260fd3002 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d491c37005432eb624e11e5e8eec72e7c1d3436d..f3d24fa8b5ad642647b5b288eac7ba7bcf0fbde5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 078f4950c81054814713f2e82b6571b7c0c4e345..b31b82cb127e4dfe7ba9b6e9a86c11093c758fc7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 295f226633682b56f65a236d329be9feab918063..cae0364b4cae58f1b0d241e92158bdec2f92ca36 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2d1a78b7a592797f37235d183b40205d4a013487..32d6bbd6952666958fc7252d24541b322fecde8d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9112fcda417c65231a3a4d833be48e80e6da858a..57904de0eeac3f11c0ac5ce976b5fe4cbcfbe9bd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a2406906f2d0160ffb1f2dee0c39ddd9b008770c..bb3837860afcf69ed19cca5ce510024009fa096f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 46ffa866a45ef5663bb1e2cef84f4b3cb4e7e15f..8691c995f7d8e3fda1e86c6eb445595e57e7f9d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 777ecc0ac3591402182a946be84fe323ec412955..5aba768cd9b69ebf2e53d2a16e8bb92300d32398 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ac9bdcf2186337c8e7531edce1ec43b14d657f68..4bd9e33cd3d990b50caa59c368589e427dcf9de1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2305d0cc34f597cab53acaaad477aded7ac3f2b7..76bcd5c4cb70e9e90b147398679757b2244e9a5d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aaad4ecdfb18259e2864eb181d200868e54ef1be..7ce4dbe33ef922db66aaa3d485360df334d9e8ed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dea6667ea8d42fdfaa6f114bdb5f816eb42fed8c..52148e4cdc26b94bc17b530636ed15a3f35776b5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 834dd2b1a5a2ed801de52193da668f06f86ddbb2..70453e714d35819a64d2d96f0ee921f5cfc67a6e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5249526f7efd6def086bb952205edee804e5b7e4..b26ced6a3fb8837b1a25b8c8f8cf32b2e3344135 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b05c0c685da8d1caaecfb18b76ad2cd5e2c3cfce..75e786a57a1d74d286f76a8ae1e19cdaf54f261e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 032fdd65d75ada0c079e5ef13b9bc4901139553c..dd328986af75c923fb56f1259162b9e46f40fa7d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1cf85edb723974037ae90bbd78c3ff53c50e1d61..b31e12aa9971110ba4c5c712fa13d629f3d2140f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2c44913adfd9db1407e788ddce722f79a75a8301..208411f82aafb3dae52f0968ba42decbfe6c2bd3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4db0ecba21c2e9fc96e07d2faaa461e360d4a462..f37d9b3ed654d4a633a0d93f2dc145ed85f1bc46 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b15634542b8c91df069147281c6f1aafc60b6828..ba553ebeafe5c317be4a1e56af5748567232f924 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b1b177b6581e683f5dc6aae51a4f8748ec87fc09..02f95dc74f8d81d41e9719badb866e1b05aa0ebe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dc852edb73c227d6838dc2e43abfaba038a10770..bc483984c71fd2703f1699be75a41f214af84807 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2ed530374eb0c3f17750cdbc3eaf4c0529ee81ba..4a0366580396f144983625f20e92c21c3bdc5bbb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4ad363735f8ca42bbc5d773f5cb9efd11479c1d5..34100404005e3cf7d3b4d1be1e709fbedc617aaf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ebd1bf9d3e765ed5c895e257967a245a13717d76..fcebd22b7a88a30dfcecccd135c685ba1597fd04 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1ec6398d3e8ca60313f3d0d26060dc7187831e4b..74b51f105ccd8f8d685ed9108595c0112f1bd4c8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 933c87d589714e876eac59607873371893b33907..5e10e4b2e881be903813a57d8a8ddc094878e405 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/Test/TestGeometryCalculation.py b/src/FeaturesPlugin/Test/TestGeometryCalculation.py
new file mode 100644 (file)
index 0000000..9ab462c
--- /dev/null
@@ -0,0 +1,80 @@
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+"""
+      Unit test of ...
+"""
+#=========================================================================
+# Initialization of the test
+#=========================================================================
+
+import salome
+
+import os
+import math
+
+from ModelAPI import *
+from salome.shaper import model
+
+
+
+__updated__ = "2020-11-12"
+
+
+#=========================================================================
+# test Geometry calculation
+#=========================================================================
+def test_Geometry_Calculation():
+
+    model.begin()
+    file_path = os.path.join(os.getenv("DATA_DIR"),"Shapes","Brep","box1.brep")
+    partSet = model.moduleDocument()
+    Part_1 = model.addPart(partSet)
+    Part_1_doc = Part_1.document()
+    Import_1 = model.addImport(Part_1_doc,file_path)
+    model.do()
+
+    myDelta = 1e-6
+    Props = model.getGeometryCalculation(Part_1_doc,model.selection("SOLID", "box1_1"))
+
+    print(" Geometry calculation:")
+    print(" Wires length: ", Props[0])
+    print(" Surface area: ", Props[1])
+    print(" Volume      : ", Props[2])
+
+    aReflength = 2400
+    aReslength = Props[0]
+    assert (math.fabs(aReslength - aReflength) < myDelta), "The surface is wrong: expected = {0}, real = {1}".format(aReflength, aReslength)
+
+    aRefSurface = 240000
+    aResSurface = Props[1]
+    assert (math.fabs(aResSurface - aRefSurface) < myDelta), "The surface is wrong: expected = {0}, real = {1}".format(aRefSurface, aResSurface)
+
+    aRefVolume = 8000000
+    aResVolume = Props[2]
+    assert (math.fabs(aResVolume - aRefVolume) < myDelta), "The volume is wrong: expected = {0}, real = {1}".format(aRefVolume, aResVolume)
+
+
+if __name__ == '__main__':
+
+    test_Geometry_Calculation()
+
+    #=========================================================================
+    # End of test
+    #=========================================================================
index 7b7e9899201f9e581b53264059438d7836e693c6..2c24947cd86195be3654c47fb050dcbf0cba92da 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c77cc3a0d5f80cb51a7af03e28b10a4f42f3f387..ce780c5faf17f2a9c590f7e43039c0e2a502c46a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c213e17593062be717543e1590fe1566a419de13..19198e8decaedf3c20801ffb63a0798cc62e1036 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d3c0269c179adc942675fc5b6dc0a5de599188e9..dec6ee769c0414606db3c021dbb203ca858eae71 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7c7384e6bc986cd188042178f035d5011e1bb273..f16f0a1ab5ed46e557bdb1c25a4a94ffc40dba0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e2a5d638effd80b1faa1a4cc73c803427f466560..8a9306962457edbbea0b1dc625205fb7795e20d7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9b1cc3bcea0cb95858152972ae7a9eb0f049bc3d..b24ac9cd1e360419f0126c84468de181fe51b8c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1c0f080e65da195e081f529ae50f3300393d8f82..d673af4d121b68c0fd8192b25ca5caf25d5e4e5a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3eedfe020a4c22bc80b612659131425cfc56c335..961cf277a47dcd8aafddc9f37c85713f0d4bb2c0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d9c4dc4fbe620607ee69b869913037a3c479c4a3..c66da7bf3c3bfbc9ce59ffa22204cdd707293c16 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7d9572d054f664ce932acde14cd92852a4bd351a..9de2be73751f551c3f5596d6df718b5ac8def074 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 25335c63745c98e302bec209bb77b9b4e9eebf9d..ebb833e707c52097271bb2a84023eb6e9b344553 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4ae3ccd2df5758309bb907320c4ea981f14cee63..3ba5cc2d153fb3c8c74b6e594041354ff6745a7e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2b455052086bb952203429a2c8fcc81ff094c286..59e24fe70266dc4744629cdd3358f374bcf28744 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1add323b3a3c9794b76f6861aa1cd2999ee642ef..0940d4c8c43aa20f0b39ea067a4dfef2e705d2e4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 674650d46f0076af0f34312410a55f097540d120..7237645a8d1f83636226249498cb5cd70b9e32f6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5779ece5eb9a928a0079cdf52cfba42c03c8f87c..a0e5cbf1727df89625c24951933bb6c39b88c5f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7442e963fca9e820521edfa12cd49872ea576c9c..aeb8c5d2ddc13e622d5c67d0f1263540ee43cb0e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -88,6 +88,7 @@ model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiRotation_1, [0])
+model.testResultsAreas(MultiRotation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -102,6 +103,7 @@ model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiRotation_2, [0])
+model.testResultsAreas(MultiRotation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -117,6 +119,7 @@ model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiRotation_3, [0])
+model.testResultsAreas(MultiRotation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -131,7 +134,8 @@ model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiRotation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiRotation_4, [0])
+model.testResultsAreas(MultiRotation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -145,7 +149,8 @@ model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiRotation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiRotation_5, [0])
+model.testResultsAreas(MultiRotation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
index fb3623c8fcf35dbe81168d7d60e7d3aac7c204bf..50a6198008f5a2ae3aefbd2b964ff31798791503 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -90,6 +90,7 @@ model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiRotation_1, [0])
+model.testResultsAreas(MultiRotation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -105,6 +106,7 @@ model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiRotation_2, [0])
+model.testResultsAreas(MultiRotation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -121,6 +123,7 @@ model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiRotation_3, [0])
+model.testResultsAreas(MultiRotation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -136,7 +139,8 @@ model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiRotation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiRotation_4, [0])
+model.testResultsAreas(MultiRotation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -151,7 +155,8 @@ model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiRotation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiRotation_5, [0])
+model.testResultsAreas(MultiRotation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
index 0b47113e40e74d2c726f0bb9a0c4c828d8f77735..120fa71792d2dedf0db579f9e1193bbaec2ca9d8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 34d6b00f6fe630c5affac2de47de434a1dadf8d1..e620d2d988c8595b9302e418ed7d7962743e26ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f416272c75611e4c742a99d18dceb9c9e0793dbb..ef64c7b05934eb99bea208a8030c769b65ed3f7e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -88,6 +88,7 @@ model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiRotation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiRotation_1, [0])
+model.testResultsAreas(MultiRotation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -102,6 +103,7 @@ model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiRotation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiRotation_2, [0])
+model.testResultsAreas(MultiRotation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -117,6 +119,7 @@ model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiRotation_3, [0])
+model.testResultsAreas(MultiRotation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setY(0)
@@ -131,7 +134,8 @@ model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiRotation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiRotation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiRotation_4, [0])
+model.testResultsAreas(MultiRotation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
@@ -145,7 +149,8 @@ model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiRotation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiRotation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiRotation_5, [0])
+model.testResultsAreas(MultiRotation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setY(0)
 refPoint.setZ(0)
index e30b014f5eb976e2b5390d9928fb91fdc1e2c8bf..02b4fae93c496b3ed04cc8291d4775bfdd26ec23 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 638d378906ab5861055f4fc8dd8d4be368371799..fc4aabb7eb813a205ad73215ef35f6b443349840 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a719a8d779aba62f8debf5e83efa74f9f55dfbdc..d2f97155d33a6d1ea0964ff67b5dda5c388fe991 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 08b4fcd5db43f6133ecee9571071375a37bdc607..87b351613440ba541fab3617d581c3f4702f6c12 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 90180fd76c54dc162d96cb961db6ad6b8ca669e4..bc90ccd264187f01a08dd00daab08daecc349922 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 199af9d667b0352c848b4386c6ab133cbe09ee01..43e85f03d1850939c79e5013ed3106e4f5117d2c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -89,6 +89,7 @@ model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiTranslation_1, [0])
+model.testResultsAreas(MultiTranslation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_1.defaultResult().shape().middlePoint()
@@ -102,6 +103,7 @@ model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiTranslation_2, [0])
+model.testResultsAreas(MultiTranslation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
@@ -116,6 +118,7 @@ model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiTranslation_3, [0])
+model.testResultsAreas(MultiTranslation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
@@ -129,7 +132,8 @@ model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiTranslation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiTranslation_4, [0])
+model.testResultsAreas(MultiTranslation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_4.defaultResult().shape().middlePoint()
@@ -142,7 +146,8 @@ model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiTranslation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiTranslation_5, [0])
+model.testResultsAreas(MultiTranslation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_5.defaultResult().shape().middlePoint()
index 2c627b9643e992cc863d30f8c4604b3f92bc2772..1940f13e4dfec69ee5dea49623739652e124bbf3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -91,6 +91,7 @@ model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiTranslation_1, [0])
+model.testResultsAreas(MultiTranslation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_1.defaultResult().shape().middlePoint()
@@ -105,6 +106,7 @@ model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiTranslation_2, [0])
+model.testResultsAreas(MultiTranslation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
@@ -120,6 +122,7 @@ model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiTranslation_3, [0])
+model.testResultsAreas(MultiTranslation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
@@ -134,7 +137,8 @@ model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiTranslation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiTranslation_4, [0])
+model.testResultsAreas(MultiTranslation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_4.defaultResult().shape().middlePoint()
@@ -148,7 +152,8 @@ model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiTranslation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiTranslation_5, [0])
+model.testResultsAreas(MultiTranslation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_5.defaultResult().shape().middlePoint()
index f2a808b6698e01530f254e4a00396b23776e6833..1d34e59d0259b719efb20407bf082699243300a9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 42a6853ef145b2de326b92f24f5070ed275acf7a..484b3b5a00dcc0612b443194f410b56f08795994 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4b851506b9b6dc20659173f3e340445fee9543c6..48f58e209c45f36aedd53d15d0f12d2a9c1535ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -89,6 +89,7 @@ model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(MultiTranslation_1, GeomAPI_Shape.VERTEX, [COPIES])
 model.testResultsVolumes(MultiTranslation_1, [0])
+model.testResultsAreas(MultiTranslation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_1.defaultResult().shape().middlePoint()
@@ -102,6 +103,7 @@ model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.EDGE, [COPIES])
 model.testNbSubShapes(MultiTranslation_2, GeomAPI_Shape.VERTEX, [2 * COPIES])
 model.testResultsVolumes(MultiTranslation_2, [0])
+model.testResultsAreas(MultiTranslation_2, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Edge_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
@@ -116,6 +118,7 @@ model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.EDGE, [2 * COPIES])
 model.testNbSubShapes(MultiTranslation_3, GeomAPI_Shape.VERTEX, [4 * COPIES])
 model.testResultsVolumes(MultiTranslation_3, [0])
+model.testResultsAreas(MultiTranslation_3, [0])
 comp = GeomAlgoAPI_CompoundBuilder.compound([Wire_1.defaultResult().shape()])
 refPoint = comp.middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
@@ -129,7 +132,8 @@ model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.FACE, [COPIES])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.EDGE, [4 * COPIES])
 model.testNbSubShapes(MultiTranslation_4, GeomAPI_Shape.VERTEX, [8 * COPIES])
-model.testResultsVolumes(MultiTranslation_4, [109.154152964914914 * COPIES])
+model.testResultsVolumes(MultiTranslation_4, [0])
+model.testResultsAreas(MultiTranslation_4, [109.154152964914914 * COPIES])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_4.defaultResult().shape().middlePoint()
@@ -142,7 +146,8 @@ model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.FACE, [2 * COPIES])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.EDGE, [8 * COPIES])
 model.testNbSubShapes(MultiTranslation_5, GeomAPI_Shape.VERTEX, [16 * COPIES])
-model.testResultsVolumes(MultiTranslation_5, [182.822012116 * COPIES])
+model.testResultsVolumes(MultiTranslation_5, [0])
+model.testResultsAreas(MultiTranslation_5, [182.822012116 * COPIES])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE / 2 * (COPIES - 1))
 midPoint = MultiTranslation_5.defaultResult().shape().middlePoint()
index 04dc14c4f38f80c3a2b37eeafcc2aaec17610b4f..f51f5b7fa2a1e17d5fc3aaa585e112b13f14c95f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2d29e128fa0993f1f65906b5074cd2e2e4d700ab..d5275352f346a673332e34c6ad6a115cbfab2fe8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 54ade555a4722bf2261361a27241fce0c863e0b5..f3670c3739dc4649bdb6e5ba58000b2f02bfb0c9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3cd440ea6bea36699ffcd10fd7b8b8db376e9581..5e4e467d0ca5f983280639590eceaf3f5ae77688 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e0acd75096b315f57bdb1e9a8b03f07671ec4c6..f1f8c8b4eebb21b24e6954020619f2ef9cacf07b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4a1e23d2d370ab7b03b254a374bd9f9de5c3b6c4..2a27d18bd1b25cc80f11c7694d847d4c61ca0277 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ee7e539eb097eb1e74626f4e42a13b65de91dd12..f26afa764603b7d41e22d01973bf8f88ba5102fb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8a30e1c09bdebd3542b926819fe2baeb449a69dd..3dcebfede1ad79798cf31cfc26ee957fdef7e73a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3004209908f79fd618a6db4dbb3ea6992153a6e0..b6ea21a3c3d561f0bb8ab6530e910d096dbdb98b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 17834d3210dd689558f97e85f10f472cca3b9d9d..61ceeb35d8db864cdeb85f63f284c6831c8d5591 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8aa81012d5e5a88128f6a9e01d06e1bf1df18090..7005f6fe59830cb8ac1a525a9316f214c39ef67f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b3c169dd14171b73a4be7b6fee815bb58a538ac1..3267337a632c953acc029912738bb3037a529528 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4443c69ededbc3404f2d1b443182749501c44335..e096439e6e63cc4031b640611e38c561d0df4871 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8799bd67f38ea1644933f9c4d7806f7b9deee97c..c3d416c5fa557d8780155cb1ae201ad2ed24c070 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3f0f6e97601e6ca1b838139eef4b5220de1edefa..b7561960b0c36d5771118b45c7ddfd0abb2d9185 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cd5e28e0e2d5f69eedfed98844af6fee9ec8eeea..b2c788fbe0e0400859265523e428e7d3b3ec3e17 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cc67a9af41b2f3b4295d2bf0be761ec923d1bcde..e6a20680b72aa631b2cf4dd2d068449fcf866f10 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f41df70564e8233d8a4ec1d61ef681f05cca2388..69c4ef0119be4c3507dd41807cf6e3e6025a068a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fdcc828931f874cd06dfc760697b16bebf2d0156..eac4d34117d195d0cbc26733ec062705d8c15b63 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 06108c0d3e09f984181814493393b8a786d0eabb..863770508c88309f1fa94452784324cff45c29e9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 66a76b298af8bfc5aa8603fe38fc54f56ea07bb6..43d520c42275d013792b1f250c71a354830dca60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 057f6da251fac551a3abe9b3d78d4fe768e2ca8d..0ea803f05ffa54e34be4562fe3ba44a1504f60e6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 76a9d50600e3813c3a6f4b7dbf05408ebe7f2f18..32b16f18b4464d80f38dc34ad01af47630017c32 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 847a90b133b7ad3481e244f09de0122d8b74473a..c86cd1b74f3bcb3c7783bf93319fcd9b613e84f2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cb42d2aa87fab4ff0ef424ce2e0c1eb61ca7379b..e4c846e7d544c8d243865f2ddde52de064a239ee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ba417dd8f0365b50c387cc30b93f17321b3278e9..157cf718075fd3b6047612ea59f5fb12d97a8e87 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cbb446ff3778c7b7589c76cf613b272b9becacbb..27b3bee8c50dedb479123f8e60f73baa8f8b56ae 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7aed50794243d111377dd505b4c905e44e97091a..ddd9c03c7661b4f8d059ff6b3610763a558407e1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e1cd7800f36121aaa82b7a72bdebeb38d9991175..bdf5c25e4ff4597acc9437a7cc6641ac8041f207 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7e758e45ff3fb177ba40bffc72fe6af51ce7dad4..8af381c3690a1ceaa265940492d6a1c8433ba8fe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dd508e12c52b4859722d6f555f2c012fdbe2f71b..ae41f3dcaeb1a63a9356706f33c94274ba47709e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5e41d9b29a392e2e2323224b47afc812949128fe..47c072591ff4ac5503a2af42f1906345628b5c1b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 09cfa14e577255882f38fbebfa8d06691dbef6b6..d4349501c69f8eb03f2a89de6e51c356f0bbc9fc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 355a979b9e314fd9bb38422c168a6d4ed0e4753d..f1b86e90c8dc81c03dfea042217034f02ad7577b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b21982fc332dc73bcdece9a6ed3e608b6178b73..83db5c59205d54fc3488e7ed1f990095c49952a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0954bf9a944e76301aef6c8401f3f8625111ae2a..ae68188099ab7d2473610caeaed951eae8e18e47 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1612428a6cef4fab33535bca5b846b006f9729a1..48f23e375570b9fb285cc9aefb60549f325d318d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e0b6c81a45749c354cc39ff9eccb785fcf63aba8..5f80726019aef5f64546864bfe54f20d33e5ce17 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d89a6bb53ee5a4093bed8fe04ae569e2477f46e2..67424baee0be05438f22c65948ace767bb8e1a37 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b4a3a77c982ee42c9767059a57747e69784d90c4..340c1e55eb2b35e16a050676873f4034b52604dc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 83db0ad588c5b9f4399aae7d95fcc1b645693763..19f3394ac8947f386e12322ac8946959182fd475 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ed5c4eb0f900cc60d0fcca2eb7959c75fab4e048..4ba0292672cf693741a17faed478031feda8c338 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -24,8 +24,8 @@ partSet = model.moduleDocument()
 Part_1 = model.addPart(partSet)
 Part_1_doc = Part_1.document()
 Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
-SketchLine_1 = Sketch_1.addLine(50, 15, 100, 20)
-SketchLine_2 = Sketch_1.addLine(30, 10, 50, 0)
+SketchLine_1 = Sketch_1.addLine(60, 15, 100, 20)
+SketchLine_2 = Sketch_1.addLine(35, 10, 50, 0)
 SketchArc_1 = Sketch_1.addArc(30, 40, 60, 40, 30, 70, False)
 model.do()
 Compound_1 = model.addCompound(Part_1_doc, [model.selection("EDGE", "Sketch_1/SketchLine_1"), model.selection("EDGE", "Sketch_1/SketchLine_2")])
index d0f1abaab2e4275774c65161f5395cfea3026db7..8299d6d90062249946d77f541c52113035eb905d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -42,7 +42,7 @@ model.testNbSubShapes(Pipe_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Pipe_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Pipe_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Pipe_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Pipe_1, [3693.366575752712378744035959244])
+model.testResultsAreas(Pipe_1, [3693.366575752712378744035959244])
 
 model.testNbResults(Pipe_2, 1)
 model.testNbSubResults(Pipe_2, [0])
@@ -50,4 +50,4 @@ model.testNbSubShapes(Pipe_2, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Pipe_2, [3543.018638942841789685189723969])
+model.testResultsAreas(Pipe_2, [3543.018638942841789685189723969])
index 2f2c458e049d289912be408f336fb5d6ecad381e..7a8a2d4922bf722217da4f8f1c3b9d6f85952ea5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8bc4bbd987e163bcf5bb275f8ba0c8daa94d8c3f..890704bda676c27bc1f086b0a3f45604dc558fc4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -65,4 +65,4 @@ model.testNbSubShapes(Pipe_2, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.FACE, [3])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.EDGE, [12])
 model.testNbSubShapes(Pipe_2, GeomAPI_Shape.VERTEX, [24])
-model.testResultsVolumes(Pipe_2, [6000])
+model.testResultsAreas(Pipe_2, [6000])
index 426e1d093e9bec7ad5429eb7df3c3a184c3d49e2..7e71af98400129c34488e1a9c2d6da05fc152ede 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 064fa66e972bb42bb0d68741e238a6e1922531fc..90959dcd4ded62f03bc3d4bbe73d011a11f0b535 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8514f83a3851d8b9309d391d2d463bbf5fb91a6e..754545e4d7e99c6e06e3de637f01c7e9b192b5d3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f784d9ab43ea4eccd97f917cf88e6c0c73622b36..28cd4556c451d94c045e3e0b9cab1373f2decaf8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3d404803ae7e10635c107b51ecf22a2c1d470a03..b81c613c3baf735a738bc410946067888752c58e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8502370c6814297109a97d959bd82b8c885b9636..b723ddd88edc250db618a51ba901701b1a65a86f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cfedee7ed05f692cafa0e8f5d2dbac5870bd0bfb..9868c935370dfc939bb586e58a18f4709b6d4fd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0b894492d6bfce436c82c343f78061afe0cc0f0a..d691be4e0977e5bad8bd5b1f8e5ceda545ebc8ae 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d93c5098355f2e730ec59838e02b4a8b3155c60f..c9a559c6abbf1b12df970b298837792079f8e864 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4791b85fd816bd4e6714a8d512ed75c056e6d1c1..34a93e3da3d61a452d87242aa85ab0ee16db58dd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a52ff744ca815a67f0459f61c00f5529dd78cf12..892de6cb6bf9ff5fb253f149259cb254072d0319 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1a852778390a3b849431d0b9789f4f2c29668695..d15f7c3b608c3ab02bad5863920ba5874fc40de1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c66e0407e4efd68f6073a9456ebcb326c4c078c5..dbc4b7990419efca710b86d5ece06646ddb62ff8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -86,6 +86,7 @@ model.testNbSubShapes(Placement_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Placement_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Placement_1, [0])
+model.testResultsAreas(Placement_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_1.defaultResult().shape().middlePoint()
@@ -99,6 +100,7 @@ model.testNbSubShapes(Placement_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Placement_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Placement_2, [0])
+model.testResultsAreas(Placement_2, [0])
 refPoint = Edge_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_2.defaultResult().shape().middlePoint()
@@ -112,6 +114,7 @@ model.testNbSubShapes(Placement_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Placement_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Placement_3, [0])
+model.testResultsAreas(Placement_3, [0])
 refPoint = Wire_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_3.defaultResult().shape().middlePoint()
@@ -124,7 +127,8 @@ model.testNbSubShapes(Placement_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Placement_4, [109.154152964914914])
+model.testResultsVolumes(Placement_4, [0])
+model.testResultsAreas(Placement_4, [109.154152964914914])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_4.defaultResult().shape().middlePoint()
@@ -137,7 +141,8 @@ model.testNbSubShapes(Placement_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Placement_5, [182.822012116])
+model.testResultsVolumes(Placement_5, [0])
+model.testResultsAreas(Placement_5, [182.822012116])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_5.defaultResult().shape().middlePoint()
index eae3e70dda9ec8235dc11d94a63c358c0b5f90f3..793243ee176759ea14fbd858f170c4723487221b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -96,6 +96,7 @@ model.testNbSubShapes(Placement_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Placement_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Placement_1, [0])
+model.testResultsAreas(Placement_1, [0])
 midPoint = Placement_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -109,6 +110,7 @@ model.testNbSubShapes(Placement_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Placement_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Placement_2, [0])
+model.testResultsAreas(Placement_2, [0])
 midPoint = Placement_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -122,6 +124,7 @@ model.testNbSubShapes(Placement_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Placement_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Placement_3, [0])
+model.testResultsAreas(Placement_3, [0])
 midPoint = Placement_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -134,7 +137,8 @@ model.testNbSubShapes(Placement_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Placement_4, [109.154152964914914])
+model.testResultsVolumes(Placement_4, [0])
+model.testResultsAreas(Placement_4, [109.154152964914914])
 midPoint = Placement_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -147,7 +151,8 @@ model.testNbSubShapes(Placement_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Placement_5, [182.822012116])
+model.testResultsVolumes(Placement_5, [0])
+model.testResultsAreas(Placement_5, [182.822012116])
 midPoint = Placement_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
index d57a603a3cbc5c6a49ab69c62ba8b7d627dd52c7..2ba0c77b4530482a5700cd876af9ee767d7ece4b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 511a402b5bbc4dff72cbe1fd1b62dd022e3ddf0e..6efb9f0bd36aa67695d46de1fcde53f12819a2a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9c615c830e13163f0d9e0634c39ff11978711b64..4444dfc3cb6548db9a987abd75dd5b3d94ce7595 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d8e9eec77973377bf7d186f7386ce841efb295a0..d54e0212ccf7f555d69d460dd10fd595f6342be8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 86ec4d26af977cb64d470a88523491e755a7c1c7..2fd3c5ae1f3dbf2ecb35ef52c084fa4f0a566615 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -86,6 +86,7 @@ model.testNbSubShapes(Placement_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Placement_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Placement_1, [0])
+model.testResultsAreas(Placement_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_1.defaultResult().shape().middlePoint()
@@ -99,6 +100,7 @@ model.testNbSubShapes(Placement_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Placement_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Placement_2, [0])
+model.testResultsAreas(Placement_2, [0])
 refPoint = Edge_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_2.defaultResult().shape().middlePoint()
@@ -112,6 +114,7 @@ model.testNbSubShapes(Placement_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Placement_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Placement_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Placement_3, [0])
+model.testResultsAreas(Placement_3, [0])
 refPoint = Wire_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_3.defaultResult().shape().middlePoint()
@@ -124,7 +127,8 @@ model.testNbSubShapes(Placement_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Placement_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Placement_4, [109.154152964914914])
+model.testResultsVolumes(Placement_4, [0])
+model.testResultsAreas(Placement_4, [109.154152964914914])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_4.defaultResult().shape().middlePoint()
@@ -137,7 +141,8 @@ model.testNbSubShapes(Placement_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Placement_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Placement_5, [182.822012116])
+model.testResultsVolumes(Placement_5, [0])
+model.testResultsAreas(Placement_5, [182.822012116])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + Z_SHIFT)
 midPoint = Placement_5.defaultResult().shape().middlePoint()
index 472756ad14bc9ae5cb9d31adfd945b39c9445dc3..568e174c59e75148c284077cc35b298e3b7e0da7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c3d94ca8bd0289b6391b38261fb36c5adb5fcb5c..33159e6247306c591f96b6112798cdd6b753da84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 21327be585b1aba1a16b252e8abc828020ea473c..7c421a2386016c93eb50d7da9cc29a73111bfbf6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/Test/TestPointCoordinates.py b/src/FeaturesPlugin/Test/TestPointCoordinates.py
new file mode 100644 (file)
index 0000000..0c9a142
--- /dev/null
@@ -0,0 +1,73 @@
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+"""
+      Unit test of ...
+"""
+#=========================================================================
+# Initialization of the test
+#=========================================================================
+
+import os
+import math
+
+from salome.shaper import model
+
+__updated__ = "2020-11-12"
+
+#=========================================================================
+# test get point coordinates
+#=========================================================================
+def test_point_coordinates():
+
+    model.begin()
+    file_path = os.path.join(os.getenv("DATA_DIR"),"Shapes","Brep","box1.brep")
+    partSet = model.moduleDocument()
+    Part_1 = model.addPart(partSet)
+    Part_1_doc = Part_1.document()
+    Import_1 = model.addImport(Part_1_doc,file_path)
+    model.do()
+
+    myDelta = 1e-6
+    coordinates = model.getPointCoordinates(Part_1_doc,model.selection("VERTEX", "[box1_1/Shape_2][box1_1/Shape_3][box1_1/Shape_6]"))
+
+    print(" x: ", coordinates[0])
+    print(" y: ", coordinates[1])
+    print(" z: ", coordinates[2])
+
+    aRef = 200
+    aRes = coordinates[0]
+    assert (math.fabs(aRes - aRef) < myDelta), "The coordinate X is wrong: expected = {0}, real = {1}".format(aRef, aRes)
+
+    aRef = 0
+    aRes= coordinates[1]
+    assert (math.fabs(aRes - aRef) < myDelta), "The coordinate Y is wrong: expected = {0}, real = {1}".format(aRef, aRes)
+
+    aRef = 200
+    aRes = coordinates[2]
+    assert (math.fabs(aRes - aRef) < myDelta), "The coordinate Z is wrong: expected = {0}, real = {1}".format(aRef, aRes)
+
+
+if __name__ == '__main__':
+
+    test_point_coordinates()
+
+    #=========================================================================
+    # End of test
+    #=========================================================================
index 4c4135c218d9467287f8253512d9e85ed6fa50ca..d9fd3a26a6dd85ec1650b95e2ca0b390c46b1ec9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 62dabbcbca23fd2c462f2266013e9e080c61a007..24a473cd8bfcfd644cf3eade5a078e4e1d51e682 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f5968a702a719078c29de0b58ba059499bbeeabb..011e90ef8706d373aebf3963d13b2174b046af13 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e96813ff9c11d822a92f15c2ecaf93f12754b1ef..c876bba7245a1f728c3a97ea87aa7f92f3a5573c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0cf262b76811ed55159f5ec97544a2659e64c47f..17995c1ff6dcbb97f9be4780dfabcf4b957e8c12 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0316f2e24e2daf7457e8cabc0809755a8e17242c..bc11727b9bd6fb0100f7593c97a02bd91aec8145 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 200f3e6176181fd5e84df1bdb7334d7e52fa25c9..747d373c884facb7fdeb579599c44de970ce69f9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1fd3bc3aa1266e47c92fa952a9cf60d5bd499edd..08b78e44c953d34479d8a623a480aeaf23d6a7cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 403b6085d70929097cbeda4f34674050dc37fe6a..fddf6464aabaf40dcdeaac55e2b26180a1fd8568 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 30bacbbd3d76acb9c765bb9d6f16f31ef3c27a3e..9849d8a8dbba48e64920c807010becfb72cd7691 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1782ccdc426e08ca072ef7c49a84fea1ce95b716..3929b3f75cbba4ce8234e59ef52941c212379e8a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ab721584db601fffe095ae6e1e14604a28ad9940..fd57e568547ef90185d0be8262a524cfe1a5d886 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 64d6ecbec4ad46b08c9e937491e56e62f906862d..c5912f39aa6777bb96553e10b116230837fcd542 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 995e5592fd57c4a7bc4252ff2aa930d2b078c58f..7cffd353c3841274f8352faea4233d78a1640ca2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e3c0b47eff3292e221243d2c627c2e06f1ae4572..be8c4a264e5814c855abeb5f2b66e90c726e7824 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 14be6374cf5052071ba358fb4da78db1686724c2..7dd53c3bb972d8c6309e66ec73e64baba668e1f4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 17d513f282baff89a214b4d36d65584b4394030b..18cd36398385b71cd7b9b6a3694a4ff551adc6da 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ae5ca818905626a4be29a2a54c724a2191643178..d9066552c36e9651bcc63643faa53232b247771e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3dc7c8ae2d3e4a56574d9d100345c180427f2a12..928635d236053e42ea97de339fed4bc814400afd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 49fdb40c714b3b994f95ef6d8cbd4ac9d5c50070..a77ed1e36165ca931296b8d054b7270d3ced63f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 11736ae7331e9a2227b82a26a36bc90010d867d8..45232c807aba1be2d283d791ca844f00e08de0e8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 054e7317ed38d8acb17a9fe597a374bc2836f5a2..da90fd5166e151469ee6a60ac5095c2e08fc35c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 374c5f5525ad0111582f4bd026ebc6e795163ac1..dcddd458d3f0a29dbd49782b2749a19c90fa8025 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 66138acefe8a9ff65ee86867245f3c9f0da20933..1dbf7bdd5a069de55f2b3be3a2acb66609cfa5cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2e33b79ef37d7312e2ca08e36460420ad314184e..3f61048abed2dbca0d27d779dc5e7880a705a94a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -36,7 +36,7 @@ model.testNbSubShapes(Revolution_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Revolution_1, [666.43244])
+model.testResultsAreas(Revolution_1, [666.43244])
 
 Revolution_1.setPlanesAndOffsets(model.selection("FACE", "PartSet/YOZ"), 0, model.selection("FACE", "PartSet/XOZ"), 0)
 
@@ -46,7 +46,7 @@ model.testNbSubShapes(Revolution_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Revolution_1, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Revolution_1, [333.21622])
+model.testResultsAreas(Revolution_1, [333.21622])
 
 model.end()
 
index e720ed8114f8a652fef99c2b5390dc2b713e1d18..863751992a9c717f886c364707fa4dcc9308c907 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1f927af99063c461bb4a5cba51be5b7f1d54c264..ab5a0897cadbafddd603655070559639940cff56 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a259ef018634d46df347db7e79262a37d4ed2d26..7a8dbe7aa82953b95113ad9228ce8b59a19fe245 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 25a70f0859c7b09b7ef6bb8eb84a6ec929307009..3d3bfeee58e7ee5be432e3c61b02ae8b094d625b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b208e36de4be610d1ce62e38be6b933c9cf2b539..f74cfc7df3a6710490db9b63c98d7206db2bc5b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 295880f46b0c1d4d7b4a58f2b5f96a81c104c9b4..a3375cd77b6457ce38f571883e22197355fe3638 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e576dc2e871a06bdac119517cd74dabff5b697c5..526f7d1d44d4e8915c295ed5850edb452c200e76 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 64ef8cde73cae8b94aef98400d460fe40165cce5..965dbe044aa9f2e15ae8296431611214934ec886 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 663d6058445b5de197e7428eac1c44697ecf60c5..580e50afee1d0c88f8dce075b2dc9464c8a66955 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -88,6 +88,7 @@ model.testNbSubShapes(Rotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Rotation_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Rotation_1, [0])
+model.testResultsAreas(Rotation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_1.defaultResult().shape().middlePoint()
@@ -101,6 +102,7 @@ model.testNbSubShapes(Rotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Rotation_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Rotation_2, [0])
+model.testResultsAreas(Rotation_2, [0])
 refPoint = Edge_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_2.defaultResult().shape().middlePoint()
@@ -114,6 +116,7 @@ model.testNbSubShapes(Rotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Rotation_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Rotation_3, [0])
+model.testResultsAreas(Rotation_3, [0])
 refPoint = Wire_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_3.defaultResult().shape().middlePoint()
@@ -126,7 +129,8 @@ model.testNbSubShapes(Rotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Rotation_4, [109.154152964914914])
+model.testResultsVolumes(Rotation_4, [0])
+model.testResultsAreas(Rotation_4, [109.154152964914914])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_4.defaultResult().shape().middlePoint()
@@ -139,7 +143,8 @@ model.testNbSubShapes(Rotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Rotation_5, [182.822012116])
+model.testResultsVolumes(Rotation_5, [0])
+model.testResultsAreas(Rotation_5, [182.822012116])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_5.defaultResult().shape().middlePoint()
index b092bf01a429487c7db1d19e3e6458750b7da89d..880e7742650e22b4b8a7dc8cd8a21145e3b0c439 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -90,6 +90,7 @@ model.testNbSubShapes(Rotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Rotation_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Rotation_1, [0])
+model.testResultsAreas(Rotation_1, [0])
 refPoint = Compound_1.result().subResult(0).resultSubShapePair()[0].shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_1.defaultResult().shape().middlePoint()
@@ -104,6 +105,7 @@ model.testNbSubShapes(Rotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Rotation_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Rotation_2, [0])
+model.testResultsAreas(Rotation_2, [0])
 refPoint = Compound_1.result().subResult(1).resultSubShapePair()[0].shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_2.defaultResult().shape().middlePoint()
@@ -118,6 +120,7 @@ model.testNbSubShapes(Rotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Rotation_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Rotation_3, [0])
+model.testResultsAreas(Rotation_3, [0])
 refPoint = Compound_1.result().subResult(2).resultSubShapePair()[0].shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_3.defaultResult().shape().middlePoint()
@@ -131,7 +134,8 @@ model.testNbSubShapes(Rotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Rotation_4, [109.154152964914914])
+model.testResultsVolumes(Rotation_4, [0])
+model.testResultsAreas(Rotation_4, [109.154152964914914])
 refPoint = Compound_1.result().subResult(3).resultSubShapePair()[0].shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_4.defaultResult().shape().middlePoint()
@@ -145,7 +149,8 @@ model.testNbSubShapes(Rotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Rotation_5, [182.822012116])
+model.testResultsVolumes(Rotation_5, [0])
+model.testResultsAreas(Rotation_5, [182.822012116])
 refPoint = Compound_1.result().subResult(4).resultSubShapePair()[0].shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_5.defaultResult().shape().middlePoint()
index bcd0cb90512f8ea2b371c0488f727a92503addc1..d2e232f3748431c728a562431b458beba587fb31 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3a511e0ffcabbd8243b2f8078580dbb1ed251214..dfbc259b0fea62535f3e45d4a454a073c20a75c7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 45750ed6a6fea406f557da5cf80fc4a8ad93cdc9..dab66110338fd09cc590a1c4644e40ef4d57c05d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -88,6 +88,7 @@ model.testNbSubShapes(Rotation_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Rotation_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Rotation_1, [0])
+model.testResultsAreas(Rotation_1, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_1.defaultResult().shape().middlePoint()
@@ -101,6 +102,7 @@ model.testNbSubShapes(Rotation_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Rotation_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Rotation_2, [0])
+model.testResultsAreas(Rotation_2, [0])
 refPoint = Edge_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_2.defaultResult().shape().middlePoint()
@@ -114,6 +116,7 @@ model.testNbSubShapes(Rotation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Rotation_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Rotation_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Rotation_3, [0])
+model.testResultsAreas(Rotation_3, [0])
 refPoint = Wire_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_3.defaultResult().shape().middlePoint()
@@ -126,7 +129,8 @@ model.testNbSubShapes(Rotation_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Rotation_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Rotation_4, [109.154152964914914])
+model.testResultsVolumes(Rotation_4, [0])
+model.testResultsAreas(Rotation_4, [109.154152964914914])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_4.defaultResult().shape().middlePoint()
@@ -139,7 +143,8 @@ model.testNbSubShapes(Rotation_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Rotation_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Rotation_5, [182.822012116])
+model.testResultsVolumes(Rotation_5, [0])
+model.testResultsAreas(Rotation_5, [182.822012116])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.rotate(AXIS, ANGLE)
 midPoint = Rotation_5.defaultResult().shape().middlePoint()
index 6ce8a8ae807de4e8ef143a2d88d2b6eb85241071..45faf1d06d55551aae2b31553bf4cc8277f6a53a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 99171308fb63015076624b402bdfd3a3e6fa7e70..21b57b107ac84647096d0e20fdbaa02b49fe5efb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 848737095b49f57ff47175bab7e2302f04918104..bdf0cc8cf9016926b8d238954fb7a0c08791cd0e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 705c343df2361e8bd3da69cde574bb2345e12bbd..69aaf5697260ab8667ad131b1101d23c6f2a4fa4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index de0b6831ae38b74f9e0108b7b97c91faa66098d5..3b07d4f91522f5c593c8cb57ab867d80885a695f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4ac842d053feddb9b80cbb5a8e0fdd399cb485ce..f40eab52686ee170295a9b0422e4ef6b166ae4c1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -87,6 +87,7 @@ model.testNbSubShapes(Scale_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Scale_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Scale_1, [0])
+model.testResultsAreas(Scale_1, [0])
 refPoint = GeomAPI_Pnt(Vertex_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -99,6 +100,7 @@ model.testNbSubShapes(Scale_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Scale_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Scale_2, [0])
+model.testResultsAreas(Scale_2, [0])
 refPoint = GeomAPI_Pnt(Edge_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -111,6 +113,7 @@ model.testNbSubShapes(Scale_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Scale_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Scale_3, [0])
+model.testResultsAreas(Scale_3, [0])
 refPoint = GeomAPI_Pnt(Wire_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -122,7 +125,8 @@ model.testNbSubShapes(Scale_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Scale_4, [109.154152964914914 * (SCALE**2)])
+model.testResultsVolumes(Scale_4, [0])
+model.testResultsAreas(Scale_4, [109.154152964914914 * (SCALE**2)])
 refPoint = GeomAPI_Pnt(Face_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -134,7 +138,8 @@ model.testNbSubShapes(Scale_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Scale_5, [182.822012116 * (SCALE**2)])
+model.testResultsVolumes(Scale_5, [0])
+model.testResultsAreas(Scale_5, [182.822012116 * (SCALE**2)])
 refPoint = GeomAPI_Pnt(Shell_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
index 23cf7c5c4831e34c499733d8f982dea7112894ef..7d59af31cc642fbdf2615e0b4f6e0842ad19e1c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -89,6 +89,7 @@ model.testNbSubShapes(Scale_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Scale_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Scale_1, [0])
+model.testResultsAreas(Scale_1, [0])
 refPoint = GeomAPI_Pnt(Compound_1.result().subResult(0).resultSubShapePair()[0].shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -102,6 +103,7 @@ model.testNbSubShapes(Scale_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Scale_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Scale_2, [0])
+model.testResultsAreas(Scale_2, [0])
 refPoint = GeomAPI_Pnt(Compound_1.result().subResult(1).resultSubShapePair()[0].shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -115,6 +117,7 @@ model.testNbSubShapes(Scale_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Scale_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Scale_3, [0])
+model.testResultsAreas(Scale_3, [0])
 refPoint = GeomAPI_Pnt(Compound_1.result().subResult(2).resultSubShapePair()[0].shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -127,7 +130,8 @@ model.testNbSubShapes(Scale_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Scale_4, [109.154152964914914 * (SCALE**2)])
+model.testResultsVolumes(Scale_4, [0])
+model.testResultsAreas(Scale_4, [109.154152964914914 * (SCALE**2)])
 refPoint = GeomAPI_Pnt(Compound_1.result().subResult(3).resultSubShapePair()[0].shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -140,7 +144,8 @@ model.testNbSubShapes(Scale_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Scale_5, [182.822012116 * (SCALE**2)])
+model.testResultsVolumes(Scale_5, [0])
+model.testResultsAreas(Scale_5, [182.822012116 * (SCALE**2)])
 refPoint = GeomAPI_Pnt(Compound_1.result().subResult(4).resultSubShapePair()[0].shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
index 1439fa72f31c79c9cdde03ee68e6a81fcbb3a167..d8f82394fd3a5c5fe74e7234b295f220e44fd18a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7975a6792f00158957a1f6953233d1279fb2eb37..cfb7be140a52fb1b04fdd7cf51c0f317fec040b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f87072313956718facdc3f361d5434b0adfe13b8..630ceef05f8538fa8435106e2223dd9ac09bac99 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -87,6 +87,7 @@ model.testNbSubShapes(Scale_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Scale_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Scale_1, [0])
+model.testResultsAreas(Scale_1, [0])
 refPoint = GeomAPI_Pnt(Vertex_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -99,6 +100,7 @@ model.testNbSubShapes(Scale_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Scale_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Scale_2, [0])
+model.testResultsAreas(Scale_2, [0])
 refPoint = GeomAPI_Pnt(Edge_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -111,6 +113,7 @@ model.testNbSubShapes(Scale_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Scale_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Scale_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Scale_3, [0])
+model.testResultsAreas(Scale_3, [0])
 refPoint = GeomAPI_Pnt(Wire_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -122,7 +125,8 @@ model.testNbSubShapes(Scale_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Scale_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Scale_4, [109.154152964914914 * (SCALE**2)])
+model.testResultsVolumes(Scale_4, [0])
+model.testResultsAreas(Scale_4, [109.154152964914914 * (SCALE**2)])
 refPoint = GeomAPI_Pnt(Face_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -134,7 +138,8 @@ model.testNbSubShapes(Scale_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Scale_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Scale_5, [182.822012116 * (SCALE**2)])
+model.testResultsVolumes(Scale_5, [0])
+model.testResultsAreas(Scale_5, [182.822012116 * (SCALE**2)])
 refPoint = GeomAPI_Pnt(Shell_1.defaultResult().shape().middlePoint().xyz().multiplied(SCALE))
 midPoint = Scale_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
index cdb117c0736bcdbc347b738514c7f44ae4ddcbe6..b9e04b52a1fff73bc80dabf7a7d780d837e34410 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e3cd40610a10640b6a0e88c5d2bfdf9aa218595c..97623ca99853c1a2768ec48ee1344d38ef2b4e3d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dc6a04dcf26a49e3a37fc42ea725d0ceaea3a567..b14a85b77260c3c65688b9665d3cdbc0bc2bf4d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5bcc7c9c21d169f3a31fb8127877d618105d133e..a8822095fa8be2cadae422c86941ec7c583af2ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ca1f497959156a13a5b1355c3a44ab5dec679ef2..5e940265718ff548e19ead6c0f44f28761dd8c01 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f610cdd450cf367426ed9f95ae39ea25cc44fafd..5cc84e40e2174c3e6707a8feb3c1804f28463bd5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2300d846f0be3cc93d5eb31b8441d0b03320e952..ffc2fa8433d4e6ca067bec8760a18302fd96dbee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 79d6efa9bc69afaee3a8091cc8314f88b213838a..94258f46e4abb00969553c21a251e0058acfe922 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 052dc1596c5b78627d1e34aaad5abc325766c4af..6f757569bbe782917bbcf5100c1f0744efcf9de4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e544017b9a9f1ab095b39a63f032f55d5722b7e6..d35f0906a83453bc5cacb54d9bc11bd47e65f09c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6ea61759a7f693373cbe81c8ed990f5f5b648978..f05aa2784439dd6fade0e2302926d890ad3941d8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index efbe8d49bb1101373f0dd52a7823f7a06aeda966..750b5af588c5c57572ccc488946fed3fac78bf0f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 262460bb26b2f33304e25ecc72844d182fc1c92b..f49fdd310b0106873a9c44e21b5ee7b17c57d109 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ae48699f4aedf30e65622a616bef202d8c8c2f5d..982fdb662a082d73f49740cc986b0f705c2618b1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 550e0eb1d6f9b1db0204b9a283b813093cea218e..fef6e2b23de325cb2b3ab3d0b6eac0f5f40a445e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 303ab6c245aa7b0c016fa2c0a5e07aa123b1d15f..3fc86c46c318cd718af599e9105bcc66b883ad74 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index de6bd1a0e72b025d5c31dd6deb89d90599d3d141..6a8e01fdd17817e7acdbab1a06f8673e8198772b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 75ee4721b9c0e7c7b476482961be57d096953d3f..6ad16933188484a936afb072a003eeeeed2190ff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4afdf9ef17d8197787ee43888d0fa4258ff71c0c..5e74b557c86f71ebeeb376badd1ef87db7bb0b5e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 61d505ff70d8243ac48e4c3b036c98ef6a64e006..825d0f45e2f72b4909879e8cc72b8e352a95aace 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 305700337e1446b2360eb606c91ffe5312d86937..d08a9f2f05dcbd89e5ac3c61d8acd85ec40774f6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 38b39dc93572ef4b8a120d53f6e245eb98c3d0cd..8f49c0fb88301205cd4274c3c55416186adc74b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b98db20d6e43df33c09374ccee5024050e1279db..09c28ddeda194de022c5a7770fdd1802aab3e539 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d1835959241a35ec50a878a2a7ed45b3e8479fff..a1745eced3686989725a3fb9ac7062031d3451ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5eb403430570ac3137378ed4858b1715128ac4ea..ac4c05577d177a3b74dd7f38b8ae27192a9e85cc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ab5ff415621823263652e79024c575bb9234fe5d..c131d6dc2fbcd148551c46c92638399832dadb7c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 19f3a8484660ab862e49ebdd02d55fc5d858443c..7699883e7e59f0b5fd15115d1836d3b0a2762995 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8df67035bab1c22de2bc0cc6cfb04a658d25ffcf..5215360ce6b3a4dfad64199178003cbe4291914e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b868c87ac9f8d329574a23edc8f3b5462b63403..f18908b10f80411c358e117ed6859fa4c4efef89 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index eec9ef5876e0ed200417e5eddb0737003034a898..cd9bee05cb8788098dda3e044ee5268330abc50d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4c4a4da063921465f7ff4542cb6004b9b158232e..fe179f09eff8225a22708acdb9487bce6a389417 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e3cd40610a10640b6a0e88c5d2bfdf9aa218595c..97623ca99853c1a2768ec48ee1344d38ef2b4e3d 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6dff4446389bdc44d9e21141c06cef206a46a39e..1f668156a43f9674e26335dc44f865b209af34d9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0c0f5ec51b21266d7ed902f594e50bb1baaaa59a..f83b4181be0b85ad98ee7a1a7decdce6b8ae1ff8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e3853b76a86c3ad6671c81a5f842d61732b81372..a2db8f67d542c02710843f9b86774cf7f693b7c6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 14b0ec31543484880af9680b27a7214ce56f0801..6544c40b975bd4a52c2487b01894ce088e8de84e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index db2b1a4b7ccd52f3c09b16d157005d31232be59b..de6c50a6133cdfd2a6f81e9ae4408c83406dd9c9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7fe5bd37980c8f2726af1568c26c5f64dfef611e..b8c0b64fb59bded1976e8d8189cd0fac1a31d1ec 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4dd191dd8f72f16f11476c36dce719a92ee2048a..3c8cfac45945356ad5faf34165f06836f2f3a447 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e1862ac7e8c90668781e7285b5a223a32548515..3dd1d139934a5ab1a420cb0a059b2a1e3a5cb278 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 933a2ec23a5ee18913e134bbc497f44fbdf06033..cab0a99e0bd057d8828648de39fe455e0fca88d8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5b7e8069016eb57e9f61035686d7125dc142100c..6c6bb176040cd3744d39e5fcebb7c4d8816a01fc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index da5d5b3bd9be84bccb17e5db8adec75b4e06e432..d8793f8053d1eb07358f2c7b0c3ffbcbb9b9f093 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a9027c2cef6930925d268a56afbcddfacef23051..be5d3602672f1816d2f6e0f0cecb8c0de9784c60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -89,6 +89,7 @@ model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Symmetry_1, [0])
+model.testResultsAreas(Symmetry_1, [0])
 refPoint = symmetryOZ(Vertex_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -101,6 +102,7 @@ model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Symmetry_2, [0])
+model.testResultsAreas(Symmetry_2, [0])
 refPoint = symmetryOZ(Edge_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -113,6 +115,7 @@ model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Symmetry_3, [0])
+model.testResultsAreas(Symmetry_3, [0])
 refPoint = symmetryOZ(Wire_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -124,7 +127,8 @@ model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Symmetry_4, [109.154152964914914])
+model.testResultsVolumes(Symmetry_4, [0])
+model.testResultsAreas(Symmetry_4, [109.154152964914914])
 refPoint = symmetryOZ(Face_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -136,7 +140,8 @@ model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Symmetry_5, [182.822012116])
+model.testResultsVolumes(Symmetry_5, [0])
+model.testResultsAreas(Symmetry_5, [182.822012116])
 refPoint = symmetryOZ(Shell_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
index ff02dc40a13a2aede049a861ba3acbc19b36d98a..955b115fc665996082bc95393598bc528f806398 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -96,6 +96,7 @@ model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Symmetry_1, [0])
+model.testResultsAreas(Symmetry_1, [0])
 midPoint = Symmetry_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -109,6 +110,7 @@ model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Symmetry_2, [0])
+model.testResultsAreas(Symmetry_2, [0])
 midPoint = Symmetry_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -122,6 +124,7 @@ model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Symmetry_3, [0])
+model.testResultsAreas(Symmetry_3, [0])
 midPoint = Symmetry_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -134,7 +137,8 @@ model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Symmetry_4, [109.154152964914914])
+model.testResultsVolumes(Symmetry_4, [0])
+model.testResultsAreas(Symmetry_4, [109.154152964914914])
 midPoint = Symmetry_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -147,7 +151,8 @@ model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Symmetry_5, [182.822012116])
+model.testResultsVolumes(Symmetry_5, [0])
+model.testResultsAreas(Symmetry_5, [182.822012116])
 midPoint = Symmetry_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
index 85d0c46ce28699f87f1ac9b2cf7957b7b4475cc0..5e3b0b7cdfae853836a07806e009d16b3b3b6ed3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e3cf188057dd08702aa2450c62ea0f19a0b21232..88a350c107e9564e032dd93d6b8cc4c54acb0495 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d3093d344738f7581e9f88177570c473f298b246..fb944cbec30307a77e18b6255c6488b365ab2d22 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 68383bd041cdbba4b4d623f4d6ce151ed6010e53..b7733a79ab4472921a6f28c5fd4ccbbdb53622c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -89,6 +89,7 @@ model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Symmetry_1, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Symmetry_1, [0])
+model.testResultsAreas(Symmetry_1, [0])
 refPoint = symmetryOZ(Vertex_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_1.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -101,6 +102,7 @@ model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Symmetry_2, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Symmetry_2, [0])
+model.testResultsAreas(Symmetry_2, [0])
 refPoint = symmetryOZ(Edge_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_2.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -113,6 +115,7 @@ model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Symmetry_3, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Symmetry_3, [0])
+model.testResultsAreas(Symmetry_3, [0])
 refPoint = symmetryOZ(Wire_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -124,7 +127,8 @@ model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Symmetry_4, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Symmetry_4, [109.154152964914914])
+model.testResultsVolumes(Symmetry_4, [0])
+model.testResultsAreas(Symmetry_4, [109.154152964914914])
 refPoint = symmetryOZ(Face_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
@@ -136,7 +140,8 @@ model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Symmetry_5, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Symmetry_5, [182.822012116])
+model.testResultsVolumes(Symmetry_5, [0])
+model.testResultsAreas(Symmetry_5, [182.822012116])
 refPoint = symmetryOZ(Shell_1.defaultResult().shape().middlePoint())
 midPoint = Symmetry_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(refPoint) < TOLERANCE)
index 10f82ec486d928e150e8bf08958402fc46928da6..b6aaf6ae144df494f92750d0ece1292d7f251598 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 478bf3770564a20a0f446e7a1799729d6298d42e..518768c419b9ffe78c39429166593de143d59773 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a5157b113e1fbddef55bfa76ea4b8d91120d7f2c..59fe5807a4ad41e481e4f77f5be9915faba2f77f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 09c1d9bad51b3a1e0c107e20062937450c1036c8..776bd09e7a5c5b986ea211074220ce78ccdfd2cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bc1ef074455d4d2da52f2397eaeefaff08437171..e168834c652f7646f09654a1cf95b272c1696ca1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e1db0e5eb5ef22f53ae4dd63a447b8c2a00a9737..833d0b56611ba087b4df0470ee94a064b8966fd9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 61d29899d6767e1276fc12dafe2d2f00013883f4..db0a31c1f520491e3840ed75287b0c2ca9b2dfcf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -86,6 +86,7 @@ model.testNbSubShapes(Translation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_3, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Translation_3, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Translation_3, [0])
+model.testResultsAreas(Translation_3, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_3.defaultResult().shape().middlePoint()
@@ -99,6 +100,7 @@ model.testNbSubShapes(Translation_4, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_4, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Translation_4, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Translation_4, [0])
+model.testResultsAreas(Translation_4, [0])
 refPoint = Edge_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_4.defaultResult().shape().middlePoint()
@@ -112,6 +114,7 @@ model.testNbSubShapes(Translation_5, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_5, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Translation_5, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Translation_5, [0])
+model.testResultsAreas(Translation_5, [0])
 refPoint = Wire_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_5.defaultResult().shape().middlePoint()
@@ -124,7 +127,8 @@ model.testNbSubShapes(Translation_6, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Translation_6, [109.154152964914914])
+model.testResultsVolumes(Translation_6, [0])
+model.testResultsAreas(Translation_6, [109.154152964914914])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_6.defaultResult().shape().middlePoint()
@@ -137,7 +141,8 @@ model.testNbSubShapes(Translation_7, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Translation_7, [182.822012116])
+model.testResultsVolumes(Translation_7, [0])
+model.testResultsAreas(Translation_7, [182.822012116])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_7.defaultResult().shape().middlePoint()
index 1b33ecb7a6dbc65f200460e452bde321526fad4a..59b2fea57a88f89b8214e4bca5d6e57d460aa4d7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -96,6 +96,7 @@ model.testNbSubShapes(Translation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_3, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Translation_3, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Translation_3, [0])
+model.testResultsAreas(Translation_3, [0])
 midPoint = Translation_3.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -109,6 +110,7 @@ model.testNbSubShapes(Translation_4, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_4, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Translation_4, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Translation_4, [0])
+model.testResultsAreas(Translation_4, [0])
 midPoint = Translation_4.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -122,6 +124,7 @@ model.testNbSubShapes(Translation_5, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_5, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Translation_5, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Translation_5, [0])
+model.testResultsAreas(Translation_5, [0])
 midPoint = Translation_5.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -134,7 +137,8 @@ model.testNbSubShapes(Translation_6, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Translation_6, [109.154152964914914])
+model.testResultsVolumes(Translation_6, [0])
+model.testResultsAreas(Translation_6, [109.154152964914914])
 midPoint = Translation_6.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
@@ -147,7 +151,8 @@ model.testNbSubShapes(Translation_7, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Translation_7, [182.822012116])
+model.testResultsVolumes(Translation_7, [0])
+model.testResultsAreas(Translation_7, [182.822012116])
 midPoint = Translation_7.defaultResult().shape().middlePoint()
 assert(midPoint.distance(REFERENCE[index]) < TOLERANCE)
 index += 1
index 8287a389ebed0b06b91fc2abf4e2a931b845d0e4..636886a899a33a00eaa2cd701e96692aa875a156 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9456c54823a24103031cb78cb77b9e52d43c6e9a..9053652effa7d348d91aef9486c549ab3a38c479 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index eef06201d72252ad20aed6e680363d8f2f84ee55..71085436f4fe2d33dcb81dddde3299c0fbe564cc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 37a86e7a693c0e9b761375f417b02b473aaed965..74e122fb824d03fe85c832ae1b8e1bae369e01ad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -86,6 +86,7 @@ model.testNbSubShapes(Translation_3, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_3, GeomAPI_Shape.EDGE, [0])
 model.testNbSubShapes(Translation_3, GeomAPI_Shape.VERTEX, [1])
 model.testResultsVolumes(Translation_3, [0])
+model.testResultsAreas(Translation_3, [0])
 refPoint = Vertex_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_3.defaultResult().shape().middlePoint()
@@ -99,6 +100,7 @@ model.testNbSubShapes(Translation_4, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_4, GeomAPI_Shape.EDGE, [1])
 model.testNbSubShapes(Translation_4, GeomAPI_Shape.VERTEX, [2])
 model.testResultsVolumes(Translation_4, [0])
+model.testResultsAreas(Translation_4, [0])
 refPoint = Edge_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_4.defaultResult().shape().middlePoint()
@@ -112,6 +114,7 @@ model.testNbSubShapes(Translation_5, GeomAPI_Shape.FACE, [0])
 model.testNbSubShapes(Translation_5, GeomAPI_Shape.EDGE, [2])
 model.testNbSubShapes(Translation_5, GeomAPI_Shape.VERTEX, [4])
 model.testResultsVolumes(Translation_5, [0])
+model.testResultsAreas(Translation_5, [0])
 refPoint = Wire_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_5.defaultResult().shape().middlePoint()
@@ -124,7 +127,8 @@ model.testNbSubShapes(Translation_6, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.EDGE, [4])
 model.testNbSubShapes(Translation_6, GeomAPI_Shape.VERTEX, [8])
-model.testResultsVolumes(Translation_6, [109.154152964914914])
+model.testResultsVolumes(Translation_6, [0])
+model.testResultsAreas(Translation_6, [109.154152964914914])
 refPoint = Face_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_6.defaultResult().shape().middlePoint()
@@ -137,7 +141,8 @@ model.testNbSubShapes(Translation_7, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.FACE, [2])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.EDGE, [8])
 model.testNbSubShapes(Translation_7, GeomAPI_Shape.VERTEX, [16])
-model.testResultsVolumes(Translation_7, [182.822012116])
+model.testResultsVolumes(Translation_7, [0])
+model.testResultsAreas(Translation_7, [182.822012116])
 refPoint = Shell_1.defaultResult().shape().middlePoint()
 refPoint.setZ(refPoint.z() + DISTANCE)
 midPoint = Translation_7.defaultResult().shape().middlePoint()
index eef8f5f464427684425eafc71c67f267b162ed44..fefe9305e3163a8ef271ee66da13cc2a3dd6e177 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 65792470f9b2fec320d2144beae3509e3561aeb4..f3324881ea8447fd7f7941b4115ad8c635a8036d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 439f3e96747b68e27d501eb71022aa6f89eb3692..5e1e3e682069cbeba333f26e4096c4013014d73d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 24dc8a824d6aea6616d4f4440bda2ad5fc97728a..157917e90d6915021429b82616e8fed17ad0dd14 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 183ffd94f75e8b1a1d01ce4c71f7b1297bf166b9..ebf7382558397f3c9560a1e537cf689668cdfcdf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 68bce5248a513fa4bf3251b3fe55438357389edd..bbd457b9ed851dec9f6b303dff94d8bee2641cd9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8f61af49a90640bf771bc8256ec0a018c8f9a7bc..b672ef509abfcf3fae939c25c1bda43054f212df 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4175cba9c47c128637de5c1e129624f9a0ffc306..96db8cd8e813c10f7b36515055535b6b05710c7e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 91e891329115d43314546557bf6146b356aa6bf2..761ef3de611a80aaffe9e57f8715399bfe0fab1a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3afc8416583108fcdc21be1b12f40a54eebf4531..414e9cee0f3d48d880aa2484919ebb90642fed6a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ef5497c85e89e18e5d8f2e8ae50a94b468215001..e70b169944f56e2486f9f729eaf959ae52bb5c87 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 08cf7fd6480669e4d346e1d0f3ddab5f32147136..ae81f13719747d8a1ca1f6860e1d3c85cdc8e990 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FeaturesPlugin/bounding_box_widget.xml b/src/FeaturesPlugin/bounding_box_widget.xml
new file mode 100644 (file)
index 0000000..199c2a1
--- /dev/null
@@ -0,0 +1,22 @@
+<source>
+  <shape_selector id="main_object"
+                  label="Object"
+                  tooltip="Select a object"
+                  shape_types="vertex edge face solid compsolid compound object"
+                  default=""
+                  geometrical_selection="true">
+    <validator id="GeomValidators_ConstructionComposite"/>
+    <validator id="GeomValidators_ShapeType" parameters="vertex,line,edge,wire,face,shell,solid,compsolid,compound"/>
+  </shape_selector>
+  <groupbox title="Min">
+    <label id="xmincoordinate" isSelectable = "true"/>
+    <label id="ymincoordinate" isSelectable = "true"/>
+    <label id="zmincoordinate" isSelectable = "true"/>
+  </groupbox>
+  <groupbox title="Max">
+    <label id="xmaxcoordinate" isSelectable = "true"/>
+    <label id="ymaxcoordinate" isSelectable = "true"/>
+    <label id="zmaxcoordinate" isSelectable = "true"/>
+  </groupbox>
+  <boolvalue id="createbox" label="Create box" default="false"/>
+</source>
diff --git a/src/FeaturesPlugin/create_bounding_box_widget.xml b/src/FeaturesPlugin/create_bounding_box_widget.xml
new file mode 100644 (file)
index 0000000..39e494f
--- /dev/null
@@ -0,0 +1,21 @@
+<source>
+  <shape_selector id="main_object"
+                  label="Object"
+                  tooltip="Select a object"
+                  shape_types="vertex edge face solid compsolid compound object"
+                  default=""
+                  geometrical_selection="true">
+    <validator id="GeomValidators_ConstructionComposite"/>
+    <validator id="GeomValidators_ShapeType" parameters="vertex,line,edge,wire,face,shell,solid,compsolid,compound"/>
+  </shape_selector>
+  <groupbox title="Min">
+    <label id="xmincoordinate" isSelectable = "true"/>
+    <label id="ymincoordinate" isSelectable = "true"/>
+    <label id="zmincoordinate" isSelectable = "true"/>
+  </groupbox>
+  <groupbox title="Max">
+    <label id="xmaxcoordinate" isSelectable = "true"/>
+    <label id="ymaxcoordinate" isSelectable = "true"/>
+    <label id="zmaxcoordinate" isSelectable = "true"/>
+  </groupbox>
+</source>
index d3d384b68dfcb98c8a447aa83a8c018a6686a89c..34e8fea427339345fec31c0820001e11f9c71f34 100644 (file)
@@ -12,20 +12,23 @@ Features plug-in provides a set of common topological operations. It implements
 
    booleanOperations.rst
    angularCopyFeature.rst
+   boundingBoxFeature.rst
    chamferFeature.rst
    copyFeature.rst
    defeaturingFeature.rst
    extrusionCutFeature.rst
    extrusionFeature.rst
    extrusionFuseFeature.rst
-   filletFeature.rst
    fillet1dFeature.rst
+   filletFeature.rst
    fuseFeatureFaces.rst
+   geometryCalculationFeature.rst
    importResultFeature.rst
    linearCopyFeature.rst
    measurementFeature.rst
    pipeFeature.rst
    placementFeature.rst
+   pointCoordinatesFeature.rst
    recoverFeature.rst
    removeSubShapesFeature.rst
    revolutionCutFeature.rst
diff --git a/src/FeaturesPlugin/doc/TUI_boundingBoxFeature.rst b/src/FeaturesPlugin/doc/TUI_boundingBoxFeature.rst
new file mode 100644 (file)
index 0000000..bb73b22
--- /dev/null
@@ -0,0 +1,11 @@
+
+  .. _tui_create_Bounding_Box:
+
+Create bounding box
+===================
+
+.. literalinclude:: examples/create_bounding_box.py 
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/create_bounding_box.py>`
diff --git a/src/FeaturesPlugin/doc/TUI_geometryCalculation.rst b/src/FeaturesPlugin/doc/TUI_geometryCalculation.rst
new file mode 100644 (file)
index 0000000..43a8f06
--- /dev/null
@@ -0,0 +1,12 @@
+
+  .. _tui_geometry_calculation:
+
+Get Geometry Calculation
+========================
+
+.. literalinclude:: examples/geometry_calculation.py 
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/geometry_calculation.py>`
+   
diff --git a/src/FeaturesPlugin/doc/TUI_pointCoordinates.rst b/src/FeaturesPlugin/doc/TUI_pointCoordinates.rst
new file mode 100644 (file)
index 0000000..abc6e00
--- /dev/null
@@ -0,0 +1,12 @@
+
+  .. _tui_point_coordinates:
+
+Get point coordinates
+=====================
+
+.. literalinclude:: examples/point_coordinates.py 
+    :linenos:
+    :language: python
+
+:download:`Download this script <examples/point_coordinates.py>`
+   
diff --git a/src/FeaturesPlugin/doc/boundingBoxFeature.rst b/src/FeaturesPlugin/doc/boundingBoxFeature.rst
new file mode 100644 (file)
index 0000000..9a1222d
--- /dev/null
@@ -0,0 +1,51 @@
+.. |boundingBox.icon|    image:: images/bounding.png
+
+Bounding box
+============
+
+The **Bounding box** feature displays the bounding box of sub-elements of a geometrical object (shape).
+
+The property panel displays the coordinates of inferior (**Min**) and superior (**Max**) points.
+the resulting bounding box can be created via a dedicated check-box **Create Box**. If this last is checked corresponding result and feature would be created. 
+
+If the check-box **Create Box** isn't checked, **Apply** button does not generate any result and has the same effect as **Cancel** for this feature.  
+
+To display the bounding box in the active part:
+
+#. select in the Main Menu *Inspection - > Bounding box* item  or
+#. click |boundingBox.icon| **Bounding box** button in the toolbar
+
+Coordinates of the two points (inferior and superior) of the bounding box can be displayed for a selected object in the property panel : 
+
+.. figure:: images/boundingBoxPropertyPanel.png
+   :align: center
+
+   Bounding Box
+
+
+Input fields:
+
+- **Object** contains object selected in 3D OCC viewer or object browser. 
+- **Create box** check-box allow the creation of the bounding box (result and feature). 
+
+Note, the coordinates of two points displayed can be selected.
+
+**TUI Command**:
+
+.. py:function:: model.getBoundingBox(Part_doc, shape)
+    :param part: The current part object.
+    :param object: A shape in format *model.selection("Type", shape)*.
+    :return: Created bounding box.
+
+Result
+""""""
+
+Result of **Bounding box** where **Create box** is checked.
+
+.. figure:: images/BoundingBoxResult.png
+   :align: center
+
+   Object selected
+
+**See Also** a sample TUI Script of :ref:`tui_create_Bounding_Box` operation.
diff --git a/src/FeaturesPlugin/doc/examples/create_bounding_box.py b/src/FeaturesPlugin/doc/examples/create_bounding_box.py
new file mode 100644 (file)
index 0000000..fa14eba
--- /dev/null
@@ -0,0 +1,14 @@
+from salome.shaper import model
+import os
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+### Create Cone
+Cone_1 = model.addCone(Part_1_doc, model.selection("VERTEX", "PartSet/Origin"), model.selection("EDGE", "PartSet/OZ"), 10, 5, 10)
+
+model.do()
+### Create BoundingBox
+BoundingBox_1 = model.getBoundingBox(Part_1_doc, model.selection("SOLID", "Cone_1_1"))
+model.end()
diff --git a/src/FeaturesPlugin/doc/examples/geometry_calculation.py b/src/FeaturesPlugin/doc/examples/geometry_calculation.py
new file mode 100644 (file)
index 0000000..2562da9
--- /dev/null
@@ -0,0 +1,13 @@
+import os
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
+properties = model.getGeometryCalculation(Part_1_doc,model.selection("SOLID", "Box_1_1"))
+print(" length: ", properties[0])
+print(" area: ", properties[1])
+print(" volume: ", properties[2])
+model.end()
\ No newline at end of file
diff --git a/src/FeaturesPlugin/doc/examples/point_coordinates.py b/src/FeaturesPlugin/doc/examples/point_coordinates.py
new file mode 100644 (file)
index 0000000..e8d902d
--- /dev/null
@@ -0,0 +1,13 @@
+import os
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
+coordinates = model.getPointCoordinates(Part_1_doc,model.selection("VERTEX", "[Box_1_1/Front][Box_1_1/Left][Box_1_1/Top]"))
+print(" x: ", coordinates[0])
+print(" y: ", coordinates[1])
+print(" z: ", coordinates[2])
+model.end()
diff --git a/src/FeaturesPlugin/doc/geometryCalculationFeature.rst b/src/FeaturesPlugin/doc/geometryCalculationFeature.rst
new file mode 100644 (file)
index 0000000..2487d53
--- /dev/null
@@ -0,0 +1,38 @@
+.. |GeometryCalculation.icon|    image:: images/geometryCalculation.png
+
+Geometry calculation
+====================
+
+The **Geometry calculation** feature displays basic properties of sub-elements of a geometrical object (shape).
+
+The geometry calculation displayed in the property panel are length, area and volume.
+
+**Apply** button does not generate any result and has the same effect as **Cancel** for this feature.  
+
+To display geometry calculation in the active part:
+
+#. select in the Main Menu *Inspection - > Geometry calculation* item  or
+#. click |GeometryCalculation.icon| **Geometry calculation** button in the toolbar
+
+The geometry calculation can be displayed for a selected object in the property panel : 
+
+.. figure:: images/geometryCalculationPropertyPanel.png
+   :align: center
+
+   Geometry calculation
+
+Input fields:
+
+- **Object** contains an object selected in 3D OCC viewer or object browser. 
+
+The geometry calculation displayed can be selected.
+
+**TUI Command**:
+
+.. py:function:: model.getGeometryCalculation(Part_doc, shape)
+
+    :param part: The current part object.
+    :param object: A shape in format *model.selection("type", shape)*.
+    :return: list containing length, area and volume.
+
+**See Also** a sample TUI Script of :ref:`tui_geometry_calculation` operation.
\ No newline at end of file
diff --git a/src/FeaturesPlugin/doc/images/BoundingBoxResult.png b/src/FeaturesPlugin/doc/images/BoundingBoxResult.png
new file mode 100644 (file)
index 0000000..89eb127
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/BoundingBoxResult.png differ
diff --git a/src/FeaturesPlugin/doc/images/bounding.png b/src/FeaturesPlugin/doc/images/bounding.png
new file mode 100644 (file)
index 0000000..5a77a45
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/bounding.png differ
diff --git a/src/FeaturesPlugin/doc/images/boundingBoxPropertyPanel.png b/src/FeaturesPlugin/doc/images/boundingBoxPropertyPanel.png
new file mode 100644 (file)
index 0000000..0da9dda
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/boundingBoxPropertyPanel.png differ
diff --git a/src/FeaturesPlugin/doc/images/geometryCalculation.png b/src/FeaturesPlugin/doc/images/geometryCalculation.png
new file mode 100644 (file)
index 0000000..f46c0da
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/geometryCalculation.png differ
diff --git a/src/FeaturesPlugin/doc/images/geometryCalculationPropertyPanel.png b/src/FeaturesPlugin/doc/images/geometryCalculationPropertyPanel.png
new file mode 100644 (file)
index 0000000..17f8cd7
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/geometryCalculationPropertyPanel.png differ
diff --git a/src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png b/src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png
new file mode 100644 (file)
index 0000000..4eabd78
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/pointCoordinatesPropertyPanel.png differ
diff --git a/src/FeaturesPlugin/doc/images/point_coord.png b/src/FeaturesPlugin/doc/images/point_coord.png
new file mode 100644 (file)
index 0000000..a3fe457
Binary files /dev/null and b/src/FeaturesPlugin/doc/images/point_coord.png differ
diff --git a/src/FeaturesPlugin/doc/pointCoordinatesFeature.rst b/src/FeaturesPlugin/doc/pointCoordinatesFeature.rst
new file mode 100644 (file)
index 0000000..84717d1
--- /dev/null
@@ -0,0 +1,38 @@
+.. |point_coord.icon|    image:: images/point_coord.png
+
+Point Coordinates
+=================
+
+The **Points coordinates** feature displays the coordinates of a selected point.
+
+The coordinates are displayed in the property panel.
+
+**Apply** button does not generate any result and has the same effect as **Cancel** for this feature.  
+
+To display Point coordinates in the active part:
+
+#. select in the Main Menu *Inspection - > Point coordinates* item  or
+#. click |point_coord.icon| **Points coordinates** button in the toolbar
+
+The coordinates can be displayed for a selected point in the property panel : 
+
+.. figure:: images/pointCoordinatesPropertyPanel.png
+   :align: center
+
+   Point coordinates
+
+Input fields:
+
+- Input field contains a point selected in 3D OCC viewer or object browser. 
+
+Note, the coordinates displayed can be selected.
+
+**TUI Command**:
+
+.. py:function:: model.getPointCoordinates(Part_doc, point)
+
+    :param part: The current part object.
+    :param object: A point in format *model.selection("VERTEX", shape)*.
+    :return: list of coordinates.
+
+**See Also** a sample TUI Script of :ref:`tui_point_coordinates` operation.
\ No newline at end of file
diff --git a/src/FeaturesPlugin/geometry_calculation_widget.xml b/src/FeaturesPlugin/geometry_calculation_widget.xml
new file mode 100644 (file)
index 0000000..5597937
--- /dev/null
@@ -0,0 +1,13 @@
+<source>
+  <shape_selector id="main_object"
+                  label="Object"
+                  tooltip="Select a object"
+                  shape_types="edges faces solids compsolids"
+                  default=""
+                  geometrical_selection="true">
+    <validator id="GeomValidators_ShapeType" parameters="line,edge,wire,face,shell,solid,compsolid,compound"/>
+  </shape_selector>
+  <label id="length" label="Length = " isSelectable = "true"/>
+  <label id="area" label="Area = " isSelectable = "true"/>
+  <label id="volume" label="Volume = " isSelectable = "true"/>
+</source>
diff --git a/src/FeaturesPlugin/icons/bounding.png b/src/FeaturesPlugin/icons/bounding.png
new file mode 100644 (file)
index 0000000..5a77a45
Binary files /dev/null and b/src/FeaturesPlugin/icons/bounding.png differ
diff --git a/src/FeaturesPlugin/icons/geometryCalculation.png b/src/FeaturesPlugin/icons/geometryCalculation.png
new file mode 100644 (file)
index 0000000..f46c0da
Binary files /dev/null and b/src/FeaturesPlugin/icons/geometryCalculation.png differ
diff --git a/src/FeaturesPlugin/icons/point_coord.png b/src/FeaturesPlugin/icons/point_coord.png
new file mode 100644 (file)
index 0000000..a3fe457
Binary files /dev/null and b/src/FeaturesPlugin/icons/point_coord.png differ
index 08c08b775d79c7aaf9fa5ea31cc8103dbe6f65bf..7fb18f31f027a7f84b76cc35129868e5f90fbf23 100644 (file)
     </group>
   </workbench>
   <workbench id="Inspection">
-    <group id="Measurement">
+    <group id="PointCoordinates">
+      <feature id="PointCoordinates" title="Point coordinates" tooltip="View point coordinate"
+               icon="icons/Features/point_coord.png" helpfile="pointCoordinatesFeature.html" abort_confirmation="false">
+        <source path="point_coordinates_widget.xml"/>
+      </feature>
+    </group>
+    <group id="Calculation">
+     <feature id="GeometryCalculation" title="Geometry calculation" tooltip="Calculate properties of objects"
+               icon="icons/Features/geometryCalculation.png" helpfile="geometryCalculationFeature.html" abort_confirmation="false">
+        <source path="geometry_calculation_widget.xml"/>
+      </feature>
+      <feature id="BoundingBoxMacro" title="Bounding box" tooltip="Calculate the bounding box" auto_preview="true"
+               icon="icons/Features/bounding.png" helpfile="boundingBoxFeature.html">
+        <source path="bounding_box_widget.xml"/>
+      </feature>
+      <feature id="BoundingBox" title="Bounding box" tooltip="Calculate the bounding box" auto_preview="true"
+               icon="icons/Features/bounding.png" helpfile="boundingBoxFeature.html" internal="1">
+        <source path="create_bounding_box_widget.xml"/>
+      </feature>
       <feature id="Measurement" title="Measurement" tooltip="Calculate properties of objects"
                icon="icons/Features/measurement.png" helpfile="measurementFeature.html" abort_confirmation="false">
         <source path="measurement_widget.xml"/>
diff --git a/src/FeaturesPlugin/point_coordinates_widget.xml b/src/FeaturesPlugin/point_coordinates_widget.xml
new file mode 100644 (file)
index 0000000..8ab89ae
--- /dev/null
@@ -0,0 +1,14 @@
+<source>
+  <shape_selector id="point_selected"
+                      icon="icons/Features/point.png"
+                      label="Edge"
+                      tooltip="Select a point"
+                      shape_types="vertex"
+                      default="">
+        <validator id="GeomValidators_ShapeType" parameters="vertex"/>
+        <validator id="GeomValidators_ConstructionComposite"/>
+  </shape_selector>
+  <label id="xcoordinate" isSelectable="true"/>
+  <label id="ycoordinate" isSelectable="true"/>
+  <label id="zcoordinate" isSelectable="true"/>
+</source>
diff --git a/src/FeaturesPlugin/tests.set b/src/FeaturesPlugin/tests.set
new file mode 100644 (file)
index 0000000..404476a
--- /dev/null
@@ -0,0 +1,524 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+               TestExtrusion.py
+               TestExtrusionOfCompound.py
+               TestExtrusionCut.py
+               TestExtrusionCut_BySize.py
+               TestExtrusionCut_ByPlanesAndOffsets.py
+               TestExtrusionCut_ByFaces.py
+               TestExtrusionCut_ThroughAll.py
+               TestExtrusionFuse.py
+               TestExtrusionFuse_BySize.py
+               TestExtrusionFuse_ByPlanesAndOffsets.py
+               TestExtrusionFuse_ThroughAll.py
+               TestExtrusion_ErrorMsg.py
+               TestExtrusion_ZeroOffsetError.py
+               TestExtrusion_ByFaces01.py
+               TestExtrusion_ByFaces02.py
+               TestExtrusion_ByFaces03.py
+               TestExtrusion_ByFaces04.py
+               TestExtrusion_ByFaces05.py
+               TestExtrusion_ByFaces06.py
+               TestExtrusion_ByFaces07.py
+               TestExtrusion_ByFaces08.py
+               TestExtrusion_ByFaces09.py
+               TestExtrusion_ByFaces10.py
+               TestExtrusion_ByFaces11.py
+               TestExtrusion_ByFaces12.py
+               TestExtrusion_ByFaces13.py
+               TestExtrusion_ByFaces14.py
+               TestExtrusion_ByFaces15.py
+               TestExtrusion_ByFaces16.py
+               TestExtrusion_ByFaces17.py
+               TestExtrusion_ByFaces18.py
+               TestExtrusion_ByFaces19.py
+               TestRevolution.py
+               TestRevolution_ByAngle.py
+               TestRevolutionOfPoint.py
+               TestRevolutionOfEdge.py
+               TestRevolutionOfCompound.py
+               TestRevolutionCut.py
+               TestRevolutionCut_ByAngle.py
+               TestRevolutionCut_ByPlanesAndOffsets.py
+               TestRevolutionCut_ThroughAll.py
+               TestRevolutionFuse.py
+               TestRevolutionFuse_ByAngle.py
+               TestRevolutionFuse_ByPlanesAndOffsets.py
+               TestRevolutionFuse_ThroughAll.py
+               TestCompositeFeaturesOnCompSolids.py
+               TestPartition.py
+               TestPartition_ErrorMsg.py
+               TestPlacement_Vertex_Vertex.py
+               TestPlacement_Edge_Vertex.py
+               TestPlacement_Edge_Edge.py
+               TestPlacement_Face_Vertex.py
+               TestPlacement_Face_Edge.py
+               TestPlacement_Face_Face.py
+               TestPlacement_Part_Part.py
+               TestPlacement_Complex.py
+               TestPlacement_ErrorMsg.py
+               TestPlacement_BodyShapesValidator.py
+               TestTranslation.py
+               TestTranslation_Part.py
+               TestRotation.py
+               TestRotation_ByAxis.py
+               TestRotation_ByPoints.py
+               TestRotation_ErrorMsg.py
+               TestMultiRotation_Part.py
+               TestMultiRotation_ErrorMsg.py
+               TestMultiTranslation_Part.py
+               TestMultiTranslation_ErrorMsg.py
+               TestSymmetry_Part.py
+               TestBoolean1.py
+               TestBoolean2.py
+               TestBoolean3.py
+               TestBooleanCompSolids.py
+               TestBooleanSmash.py
+               TestBooleanSplit.py
+               TestBooleanSplitWithPlane.py
+               TestBooleanSplit_ErrorMsg.py
+               TestMultiBoolean.py
+               TestSerialBoolean.py
+               TestBoolean_ErrorMsg.py
+               TestIntersection.py
+               TestIntersection_ErrorMsg.py
+               TestUnion.py
+               TestUnionFaces.py
+               TestUnion_ErrorMsg.py
+               TestRemoveSubShapes.py
+               TestRemoveSubShapes2.py
+               TestRemoveSubShapes3.py
+               TestRemoveSubShapes4.py
+               TestRemoveSubShapes5.py
+               TestRemoveSubShapes6.py
+               TestPipe.py
+               TestPipe_Edge.py
+               TestPipe_Wire.py
+               TestPipe_Compound.py
+               TestPipe_ErrorMsg.py
+               TestRecover.py
+               TestRecover_Compound.py
+               TestRecover_Compsolid1.py
+               TestRecover_Compsolid2.py
+               TestRecover1798.py
+               TestSplitEdgeVertex.py
+               TestSplitEdgeEdge.py
+               TestSplitEdgeEdgeIntersected.py
+               TestSplitEdgeWire.py
+               TestSplitEdgeFace.py
+               TestSplitEdgeShell.py
+               TestSplitEdgeSolid.py
+               TestSplitEdgeSolidIntersected.py
+               TestSplitWireVertex.py
+               TestSplitWireEdge.py
+               TestSplitWireWire.py
+               TestSplitWireFace.py
+               TestSplitWireShell.py
+               TestSplitWireSolid.py
+               TestSplitFaceVertex.py
+               TestSplitFaceEdge.py
+               TestSplitFaceEdgeInside.py
+               TestSplitFaceEdgePerpendicular.py
+               TestSplitFaceWire.py
+               TestSplitFaceFace.py
+               TestSplitFaceShell.py
+               TestSplitFaceSolid.py
+               TestSplitCompFaceSolid.py
+               TestSplitShellVertex.py
+               TestSplitShellEdge.py
+               TestSplitShellConstrPlane.py
+               TestSplitShellWire.py
+               TestSplitShellFace.py
+               TestSplitShellShell.py
+               TestSplitShellSolid.py
+               TestSplitSolid2ConstructionPlanes.py
+               TestSplitSolidEdge.py
+               TestSplitSolidFace.py
+               TestSplitSolidCompFace.py
+               TestSplitSolidShell.py
+               TestSplitSolidCompShell.py
+               TestSplitCompsolidPlane.py
+               TestPartition2Faces.py
+               TestPartition2Solids.py
+               TestPartition2Wires.py
+               TestPartitionBox4Planes.py
+               TestPartitionEdgeSolid.py
+               TestPartitionFace2Solid.py
+               TestPartitionFaceSolid.py
+               TestPartitionFaceWire.py
+               TestPartitionInclinedFaceSolid.py
+               TestPartitionWireFaceSolid.py
+               TestUnion4CurvedFaces.py
+               TestUnion4CurvedFaces_2.py
+               TestUnion4Faces.py
+               TestUnionOfUnion.py
+               TestMeasurementLength.py
+               TestMeasurementDistance.py
+               TestMeasurementRadius.py
+               TestMeasurementAngle.py
+               TestMeasurementAngle3Points.py
+               TestMeasurementPresentation.py
+               TestFusionFaces.py
+               TestFusionFaces2697.py 
+               Test1379.py
+               Test1922.py
+               Test1942.py
+               Test1915.py
+               Test2023.py
+               Test2046.py
+               Test2038.py
+               Test2172.py
+               Test2194.py
+               Test2197_1.py
+               Test2197_2.py
+               Test2197_3.py
+               Test2197_4.py
+               Test2215.py
+               Test2222.py
+               Test2233.py
+               Test2231.py
+               Test2240.py
+               Test2246.py
+               Test2248.py
+               Test2251.py
+               Test2255.py
+               Test2289.py
+               Test2304.py
+               Test2304_2.py
+               Test2375.py
+               Test2377.py
+               Test2394.py
+               Test2395.py
+               Test2419_1.py
+               Test2419_2.py
+               Test2419_3.py
+               Test2465.py
+               Test2495.py
+               Test2514.py
+               Test2520.py
+               TestBooleanCut_CompSolid_CompSolid.py
+               TestBooleanCut_CompSolidCompound_CompSolidCompound.py
+               TestBooleanCut_Edge_Edge.py
+               TestBooleanCut_Edge_Face.py
+               TestBooleanCut_EdgeCompound_EdgeCompound.py
+               TestBooleanCut_EdgeCompound_Solid.py
+               TestBooleanCut_Face_Face.py
+               TestBooleanCut_Face_Solid.py
+               TestBooleanCut_FaceCompound_FaceCompound.py
+               TestBooleanCut_Shell_Shell.py
+               TestBooleanCut_ShellCompound_ShellCompound.py
+               TestBooleanCut_Solid_Solid.py
+               TestBooleanCut_SolidCompound_SolidCompound.py
+               TestBooleanCut_Vertex_Vertex.py
+               TestBooleanCut_VertexCompound_Solid.py
+               TestBooleanCut_VertexCompound_VertexCompound.py
+               TestBooleanCut_Wire_Face.py
+               TestBooleanCut_Wire_Wire.py
+               TestBooleanCut_WireCompound_WireCompound.py
+               TestBooleanCut_Compound_Solid.py
+               TestBooleanCut_ErrorMsg.py
+               TestBooleanCut_SolidsHistory.py
+               TestBooleanSmash_Face_Face.py
+               TestBooleanSmash_SubSolid_Solid.py
+               TestBooleanSmash_CompSolid_Solid.py
+               TestBooleanSmash_ErrorMsg.py
+               TestBooleanSmash_SolidsHistory.py
+               TestBooleanFuse_SimpleMode.py
+               TestBooleanFuse_RemoveEdges.py
+               TestBooleanFuse_ErrorMsg.py
+               TestBooleanCommon_Vertex_Vertex.py
+               TestBooleanCommon_VertexCompound_VertexCompound.py
+               TestBooleanCommon_Edge_Edge.py
+               TestBooleanCommon_EdgeCompound_EdgeCompound.py
+               TestBooleanCommon_Wire_Wire.py
+               TestBooleanCommon_WireCompound_WireCompound.py
+               TestBooleanCommon_Face_Face.py
+               TestBooleanCommon_Face_Plane.py
+               TestBooleanCommon_FaceCompound_FaceCompound.py
+               TestBooleanCommon_Shell_Shell.py
+               TestBooleanCommon_ShellCompound_ShellCompound.py
+               TestBooleanCommon_Solid_Face.py
+               TestBooleanCommon_Solid_Shell.py
+               TestBooleanCommon_Solid_Solid.py
+               TestBooleanCommon_SolidCompound_Face.py
+               TestBooleanCommon_SolidCompound_Shell.py
+               TestBooleanCommon_SolidCompound_SolidCompound.py
+               TestBooleanCommon_SubCompound_Solid.py
+               TestBooleanCommon_SubSolid_Solid.py
+               TestBooleanCommon_CompSolid_Face.py
+               TestBooleanCommon_CompSolid_Shell.py
+               TestBooleanCommon_CompSolid_CompSolid.py
+               TestBooleanCommon_CompSolidCompound_Face.py
+               TestBooleanCommon_CompSolidCompound_Shell.py
+               TestBooleanCommon_CompSolidCompound_CompSolidCompound.py
+               TestBooleanCommon_ErrorMsg.py
+               TestBooleanCommon_SolidsHistory.py
+               Test2596.py
+               Test2592.py
+               Test2588.py
+               Test1467.py
+               TestPartitionSubCompsolidWithCompSolid1.py
+               TestPartitionSubCompsolidWithCompSolid2.py
+               TestPartitionSubCompsolidWithCompSolid3.py
+               TestPartitionSubCompsolidWithSolid1.py
+               TestPartitionSubCompsolidWithSolid2.py
+               TestPartitionSubCompsolidWithSolid3.py
+               TestPartitionSubCompsolidWithSolid4.py
+               TestPartitionSubCompsolidWithSolid5.py
+               TestPartitionSubCompsolidWithFace1.py
+               TestPartitionSubCompsolidWithFace2.py
+               TestPartitionSubCompsolidWithFace3.py
+               TestPartitionSubCompsolidWithFace4.py
+               TestPartitionSubCompsolidWithFace5.py
+               TestPartitionSubCompsolidWithPlane1.py
+               TestPartitionSubCompsolidWithPlane2.py
+               TestPartitionSubCompsolidWithPlane3.py
+               TestPartitionSubCompsolidWithPlane4.py
+               TestPartitionSubCompsolidWithPlane5.py
+               TestPartitionArgsUpdate.py
+               TestPartition_SolidsHistory.py
+               TestBooleanFuse_Vertex_Vertex.py
+               TestBooleanFuse_VertexCompound_VertexCompound.py
+               TestBooleanFuse_Edge_Edge.py
+               TestBooleanFuse_EdgeCompound_EdgeCompound.py
+               TestBooleanFuse_Wire_Wire.py
+               TestBooleanFuse_WireCompound_WireCompound.py
+               TestBooleanFuse_Face_Face.py
+               TestBooleanFuse_FaceCompound_FaceCompound.py
+               TestBooleanFuse_Shell_Shell.py
+               TestBooleanFuse_ShellCompound_ShellCompound.py
+               TestBooleanFuse_Solid_Solid.py
+               TestBooleanFuse_SolidCompound_SolidCompound.py
+               TestBooleanFuse_CompSolid_Face.py
+               TestBooleanFuse_CompSolid_CompSolid.py
+               TestBooleanFuse_CompSolidCompound_CompSolidCompound.py
+               TestBooleanFuse_SolidsHistory.py
+               TestFillet.py
+               TestFillet1.py
+               TestFillet_ErrorMsg.py
+               TestFillet_History.py
+               TestScale1.py
+               TestScale2.py
+               Test1816.py
+               Test1876.py
+               Test2225.py
+               Test2631.py
+               Test2636.py
+               Test2650.py
+               Test2681.py
+               Test2686.py
+               Test2689.py
+               Test2693.py
+               Test2698.py
+               Test2701.py
+               Test2724.py
+               Test2692.py
+               Test2617.py
+               Test2729.py
+               Test2738.py
+               Test2751.py
+               Test2826.py
+               Test2854.py
+               Test2878.py
+               Test2920.py
+               Test2971.py
+               Test3014.py
+               TestBooleanCommon_MultiLevelCompound_v0_1.py
+               TestBooleanCommon_MultiLevelCompound_v0_2.py
+               TestBooleanCommon_MultiLevelCompound_v20190506_1.py
+               TestBooleanCommon_MultiLevelCompound_v20190506_2.py
+               TestBooleanCut_MultiLevelCompound_v0_1.py
+               TestBooleanCut_MultiLevelCompound_v0_2.py
+               TestBooleanCut_MultiLevelCompound_v20190506_1.py
+               TestBooleanCut_MultiLevelCompound_v20190506_2.py
+               TestBooleanFuse_MultiLevelCompound_v0_1.py
+               TestBooleanFuse_MultiLevelCompound_v0_2.py
+               TestBooleanFuse_MultiLevelCompound_v0_3.py
+               TestBooleanFuse_MultiLevelCompound_v0_4.py
+               TestBooleanFuse_MultiLevelCompound_v20190506_1.py
+               TestBooleanFuse_MultiLevelCompound_v20190506_2.py
+               TestBooleanFuse_MultiLevelCompound_v20190506_3.py
+               TestBooleanFuse_MultiLevelCompound_v20190506_4.py
+               TestBooleanSmash_MultiLevelCompound_v0_1.py
+               TestBooleanSmash_MultiLevelCompound_v0_2.py
+               TestBooleanSmash_MultiLevelCompound_v20190506_1.py
+               TestBooleanSmash_MultiLevelCompound_v20190506_2.py
+               TestBooleanSplit_MultiLevelCompound_v0_1.py
+               TestBooleanSplit_MultiLevelCompound_v0_2.py
+               TestBooleanSplit_MultiLevelCompound_v20190506_1.py
+               TestBooleanSplit_MultiLevelCompound_v20190506_2.py
+               TestPartition_MultiLevelCompound_v0_1.py
+               TestPartition_MultiLevelCompound_v0_2.py
+               TestPartition_MultiLevelCompound_v0_3.py
+               TestPartition_MultiLevelCompound_v20190506_1.py
+               TestPartition_MultiLevelCompound_v20190506_2.py
+               TestPartition_MultiLevelCompound_v20190506_3.py
+               TestUnion_MultiLevelCompound_v0.py
+               TestUnion_MultiLevelCompound_v20190506.py
+               TestUnionFaces_v20190506.py
+               TestRemoveResultsBody.py
+               TestRemoveResultsConstruction.py
+               TestRemoveResultsPart.py
+               Test17000.py
+               Test17261.py
+               Test17281.py
+               TestChamfer.py
+               Test3033.py
+               Test3076.py
+               Test17909.py
+               TestCopy_ErrorMsg.py
+               TestCopyFeature.py
+               TestCopyFeatureMoveGroupOfFeature.py
+               TestCopyMoveResult.py
+               TestCopyMoveSubShapes.py
+               TestCopyNames.py
+               TestCopySubShapes.py
+               TestCopyWholeFeature.py
+               TestImportResult.py
+               TestDefeaturing_ErrorMsg.py
+               TestDefeaturing_OnSolid1.py
+               TestDefeaturing_OnSolid2.py
+               TestDefeaturing_OnSolid3.py
+               TestDefeaturing_OnCompsolid1.py
+               TestDefeaturing_OnCompsolid2.py
+               TestDefeaturing_OnCompsolid3.py
+               TestDefeaturing_OnCompound.py
+               Test3137_1.py
+               Test3137_2.py
+               Test2918.py
+               Test3139.py
+               TestPlacement_MultiLevelCompound_v0_1.py
+               TestPlacement_MultiLevelCompound_v0_2.py
+               TestPlacement_MultiLevelCompound_v0_3.py
+               TestPlacement_MultiLevelCompound_v0_4.py
+               TestPlacement_MultiLevelCompound_v0_5.py
+               TestPlacement_MultiLevelCompound_v0_6.py
+               TestPlacement_MultiLevelCompound_v95_1.py
+               TestPlacement_MultiLevelCompound_v95_2.py
+               TestPlacement_MultiLevelCompound_v95_3.py
+               TestPlacement_MultiLevelCompound_v95_4.py
+               TestPlacement_MultiLevelCompound_v95_5.py
+               TestPlacement_MultiLevelCompound_v95_6.py
+               TestTranslation_MultiLevelCompound_v0_1.py
+               TestTranslation_MultiLevelCompound_v0_2.py
+               TestTranslation_MultiLevelCompound_v0_3.py
+               TestTranslation_MultiLevelCompound_v0_4.py
+               TestTranslation_MultiLevelCompound_v0_5.py
+               TestTranslation_MultiLevelCompound_v95_1.py
+               TestTranslation_MultiLevelCompound_v95_2.py
+               TestTranslation_MultiLevelCompound_v95_3.py
+               TestTranslation_MultiLevelCompound_v95_4.py
+               TestTranslation_MultiLevelCompound_v95_5.py
+               TestRotation_MultiLevelCompound_v0_1.py
+               TestRotation_MultiLevelCompound_v0_2.py
+               TestRotation_MultiLevelCompound_v0_3.py
+               TestRotation_MultiLevelCompound_v0_4.py
+               TestRotation_MultiLevelCompound_v95_1.py
+               TestRotation_MultiLevelCompound_v95_2.py
+               TestRotation_MultiLevelCompound_v95_3.py
+               TestRotation_MultiLevelCompound_v95_4.py
+               TestSymmetry_MultiLevelCompound_v0_1.py
+               TestSymmetry_MultiLevelCompound_v0_2.py
+               TestSymmetry_MultiLevelCompound_v0_3.py
+               TestSymmetry_MultiLevelCompound_v0_4.py
+               TestSymmetry_MultiLevelCompound_v0_5.py
+               TestSymmetry_MultiLevelCompound_v95_1.py
+               TestSymmetry_MultiLevelCompound_v95_2.py
+               TestSymmetry_MultiLevelCompound_v95_3.py
+               TestSymmetry_MultiLevelCompound_v95_4.py
+               TestSymmetry_MultiLevelCompound_v95_5.py
+               TestScale_MultiLevelCompound_v0_1.py
+               TestScale_MultiLevelCompound_v0_2.py
+               TestScale_MultiLevelCompound_v0_3.py
+               TestScale_MultiLevelCompound_v0_4.py
+               TestScale_MultiLevelCompound_v95_1.py
+               TestScale_MultiLevelCompound_v95_2.py
+               TestScale_MultiLevelCompound_v95_3.py
+               TestScale_MultiLevelCompound_v95_4.py
+               TestMultiTranslation_MultiLevelCompound_v0_1.py
+               TestMultiTranslation_MultiLevelCompound_v0_2.py
+               TestMultiTranslation_MultiLevelCompound_v0_3.py
+               TestMultiTranslation_MultiLevelCompound_v0_4.py
+               TestMultiTranslation_MultiLevelCompound_v95_1.py
+               TestMultiTranslation_MultiLevelCompound_v95_2.py
+               TestMultiTranslation_MultiLevelCompound_v95_3.py
+               TestMultiTranslation_MultiLevelCompound_v95_4.py
+               TestMultiRotation_MultiLevelCompound_v0_1.py
+               TestMultiRotation_MultiLevelCompound_v0_2.py
+               TestMultiRotation_MultiLevelCompound_v0_3.py
+               TestMultiRotation_MultiLevelCompound_v0_4.py
+               TestMultiRotation_MultiLevelCompound_v95_1.py
+               TestMultiRotation_MultiLevelCompound_v95_2.py
+               TestMultiRotation_MultiLevelCompound_v95_3.py
+               TestMultiRotation_MultiLevelCompound_v95_4.py
+               TestIntersection_MultiLevelCompound_v0_1.py
+               TestIntersection_MultiLevelCompound_v0_2.py
+               TestIntersection_MultiLevelCompound_v95_1.py
+               TestIntersection_MultiLevelCompound_v95_2.py
+               TestFillet_MultiLevelCompound_v0_1.py
+               TestFillet_MultiLevelCompound_v0_2.py
+               TestFillet_MultiLevelCompound_v0_3.py
+               TestFillet_MultiLevelCompound_v0_4.py
+               TestFillet_MultiLevelCompound_v95_1.py
+               TestFillet_MultiLevelCompound_v95_2.py
+               TestFillet_MultiLevelCompound_v95_3.py
+               TestFillet_MultiLevelCompound_v95_4.py
+               TestChamfer_MultiLevelCompound_v0_1.py
+               TestChamfer_MultiLevelCompound_v0_2.py
+               TestChamfer_MultiLevelCompound_v0_3.py
+               TestChamfer_MultiLevelCompound_v0_4.py
+               TestChamfer_MultiLevelCompound_v95_1.py
+               TestChamfer_MultiLevelCompound_v95_2.py
+               TestChamfer_MultiLevelCompound_v95_3.py
+               TestChamfer_MultiLevelCompound_v95_4.py
+               Test18836.py
+               Test2817.py
+               Test19065.py
+               Test19066.py
+               Test19115.py
+               Test19196.py
+               TestFillet1D_ErrorMsg.py
+               TestFillet1D_Vertices_1.py
+               TestFillet1D_Vertices_2.py
+               TestFillet1D_Vertices_3.py
+               TestFillet1D_Vertices_4.py
+               TestFillet1D_Vertices_5.py
+               TestFillet1D_Vertices_6.py
+               TestFillet1D_Vertices_7.py
+               TestFillet1D_Vertices_8.py
+               TestFillet1D_Vertices_9.py
+               TestFillet1D_Wire_1.py
+               TestFillet1D_Wire_2.py
+               TestFillet1D_Wire_3.py
+               TestFillet1D_Wire_4.py
+               TestFillet1D_Wire_5.py
+               Test19931.py
+               Test20027.py
+               Test20245_1.py
+               Test20245_2.py
+               Test20245_3.py
+               Test20247.py
+               Test22847.py
+               TestPointCoordinates.py
+               TestGeometryCalculation.py
+               TestBoundingBox.py
+               Test23885.py
+)
index 5aeea7a06996cb6e2280e08463f1b4535b6021a0..63e087bd55abe87d2b2e6a6613428667530971e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e6fb239132f88ac479559b533529a435b08373a0..2499cabd6245ae0170cf7e3ab4f5a5e5a068f56b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 50530607fc34350757d8db8cde068aeed32138cd..76bcad128228344ffa198d5d9eaf616564d873ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61d1d1d5974f8861359562526618058ed8c82f80..30d5e36cd8d372e3e33f44c14f9415d2bf0691ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6791734cdffec6f1afa06948b8119002ba0f6c69..7b7cd30ff49f2f92383db5a285a70b72c87d84f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d389565647135ac3db8b942194de1b44cd6c7cf..215b2ef12892dc0dd5d915b978a8c9954ccdf3b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7480f7dfb356afc679c70b9c372ae9b6b5ed0656..5fc507a20c173c7758343f6b079a7abcd79a871f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 685ebe40269316fdb6e63774026b45e17b855e82..5ae1afb029fc2c381190e0c56d254ccb5f155dc6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 376deb54749c1aeda17ce2b844f25d8f3a742828..9044211aaed21443d1e0f038bf1f1875b6e95d54 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d5ade2c1965ce3628059039a665abb63ff7f88d1..09eee7debf2c6016fadb1a97e39d207b45759849 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dd35f559bf6e8b7a04044e8442186512656a58a2..9a9756a07842cc2890c7c83f06f8ec2914d82246 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 43a8133e1634b496afacb4c23cf28f03b4bfe35e..a3045a90245f9202107a84411a5bf3387f707073 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1c9bca5922e61a9fc274b9b8c2c653d151363ce6..7b77d8466164e28dec8627ef0838a5b68496580d 100644 (file)
@@ -1,4 +1,4 @@
-## Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+## Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 ##
 ## This library is free software; you can redistribute it and/or
 ## modify it under the terms of the GNU Lesser General Public
@@ -107,106 +107,24 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(FILES ${PROJECT_PYFILES} DESTINATION ${SHAPER_INSTALL_ADDONS})
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/FiltersPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
 
-ADD_UNIT_TESTS(
-  TestFilters.py
-  TestFilters_Mixed1.py
-  TestFilters_Mixed2.py
-  TestFilters_Supported.py
-  TestFilters_Validator.py
-  TestFilters_Xml.py
-  TestFilters_FilterName.py
-  TestFilters_IsReversed.py
-  TestFilters_Remove.py
-  TestFilter_BelongsTo.py
-  TestFilter_BelongsTo_Exclude.py
-  TestFilter_OnPlane.py
-  TestFilter_OnPlane_Exclude.py
-  TestFilter_OnPlane_Multi.py
-  TestFilter_OnLine.py
-  TestFilter_OnLine_Exclude.py
-  TestFilter_OnLine_Multi.py
-  TestFilter_OnGeometry_Edge1.py
-  TestFilter_OnGeometry_Edge2.py
-  TestFilter_OnGeometry_Face1.py
-  TestFilter_OnGeometry_Face2.py
-  TestFilter_OnGeometry_Face3.py
-  TestFilter_OnGeometry_Face4.py
-  TestFilter_OnGeometry_Exclude_Edge1.py
-  TestFilter_OnGeometry_Exclude_Edge2.py
-  TestFilter_OnGeometry_Exclude_Face1.py
-  TestFilter_OnGeometry_Exclude_Face2.py
-  TestFilter_OnGeometry_Exclude_Face3.py
-  TestFilter_OnGeometry_Exclude_Face4.py
-  TestFilter_OnPlaneSide_Face.py
-  TestFilter_OnPlaneSide_Plane.py
-  TestFilter_OnPlaneSide_Exclude_Face.py
-  TestFilter_OnPlaneSide_Exclude_Plane.py
-  TestFilter_OnPlaneSide_Multi.py
-  TestFilter_OppositeToEdge.py
-  TestFilter_OppositeToEdge_Exclude.py
-  TestFilter_RelativeToSolid_In.py
-  TestFilter_RelativeToSolid_Out.py
-  TestFilter_RelativeToSolid_On.py
-  TestFilter_RelativeToSolid_NotOn.py
-  TestFilter_RelativeToSolid_InAndOn.py
-  TestFilter_RelativeToSolid_OutAndOn.py
-  TestFilter_RelativeToSolid_Exclude_In.py
-  TestFilter_RelativeToSolid_Exclude_Out.py
-  TestFilter_RelativeToSolid_Exclude_On.py
-  TestFilter_RelativeToSolid_Exclude_NotOn.py
-  TestFilter_RelativeToSolid_Exclude_InAndOn.py
-  TestFilter_RelativeToSolid_Exclude_OutAndOn.py
-  TestFilter_RelativeToSolid_Multi.py
-  TestFilter_ExternalFaces1.py
-  TestFilter_ExternalFaces2.py
-  TestFilter_ExternalFaces_Exclude1.py
-  TestFilter_ExternalFaces_Exclude2.py
-  TestFilter_HorizontalFaces.py
-  TestFilter_HorizontalFaces_Exclude.py
-  TestFilter_VerticalFaces.py
-  TestFilter_VerticalFaces_Exclude.py
-  TestFilter_TopoConnectedFaces_Vertex1.py
-  TestFilter_TopoConnectedFaces_Vertex2.py
-  TestFilter_TopoConnectedFaces_Vertex3.py
-  TestFilter_TopoConnectedFaces_Prop_Vertex1.py
-  TestFilter_TopoConnectedFaces_Prop_Vertex2.py
-  TestFilter_TopoConnectedFaces_Prop_Vertex3.py
-  TestFilter_TopoConnectedFaces_Edge1.py
-  TestFilter_TopoConnectedFaces_Edge2.py
-  TestFilter_TopoConnectedFaces_Edge3.py
-  TestFilter_TopoConnectedFaces_Prop_Edge1.py
-  TestFilter_TopoConnectedFaces_Prop_Edge2.py
-  TestFilter_TopoConnectedFaces_Prop_Edge3.py
-  TestFilter_TopoConnectedFaces_Face1.py
-  TestFilter_TopoConnectedFaces_Face2.py
-  TestFilter_TopoConnectedFaces_Face3.py
-  TestFilter_TopoConnectedFaces_Prop_Face1.py
-  TestFilter_TopoConnectedFaces_Prop_Face2.py
-  TestFilter_TopoConnectedFaces_Prop_Face3.py
-  TestFilter_TopoConnectedFaces_Exclude_Vertex1.py
-  TestFilter_TopoConnectedFaces_Exclude_Vertex2.py
-  TestFilter_TopoConnectedFaces_Exclude_Vertex3.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex1.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex2.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex3.py
-  TestFilter_TopoConnectedFaces_Exclude_Edge1.py
-  TestFilter_TopoConnectedFaces_Exclude_Edge2.py
-  TestFilter_TopoConnectedFaces_Exclude_Edge3.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Edge1.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Edge2.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Edge3.py
-  TestFilter_TopoConnectedFaces_Exclude_Face1.py
-  TestFilter_TopoConnectedFaces_Exclude_Face2.py
-  TestFilter_TopoConnectedFaces_Exclude_Face3.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Face1.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Face2.py
-  TestFilter_TopoConnectedFaces_Prop_Exclude_Face3.py
-  TestFilter_TopoConnectedFaces_Multi.py
-  Test2946.py
-  Test2951.py
-  Test3241.py
-  Test17924.py
-  Test17962.py
-  Test19190.py
-)
diff --git a/src/FiltersPlugin/CTestTestfileInstall.cmake b/src/FiltersPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 01ed9c95850ca176c72f704aa3ea89e5d2c850f4..878acec51566857437dc99d576fa055ef4a0542e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f21c7b5863c27e58126d9f4075386361ff08e03f..f719a3baec02254d52da4aea8708e0404ff482e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c1b1b778f307937d60d294a364ab7b4135e3f0bf..05fa6d6f45b508b952f987a871738fb649575103 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7596b1d77780de7d8350569203c4f32164cb62bc..4d94c8164c46c92d5b9fe3deb2091cdc078fa64f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0d3705d37a3431a463deb188289589ca50041aea..77c0953296096e3371d8d1c08ae9cf01adb9f51e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 938d4cd7332639a08f80b84c782bc5347e7ca041..8aed6ae24266d318c8b4dc46fc9913f244acff26 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 842360027b217b3313314bba025fee716771d935..93f3df5c1551cb82a08cd025b117c22f640c4d2b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ded1efd5f27141e3bdb75e0aad1fc31d8aa0065a..bcdb22bce5179ce668940ad84434b9e39f965cf7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1c129d83f162e5d5388ceb37120e7500f757368b..da06f770e7cdfdc4c3c3afe21caef0607bfef6ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f8cbe5f6b03c108b93bcabb2f490d74fc39bbec..33e9a4c2e0905a9325035f48e8bb5f70ab1486d8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b7eb03e4d7d9c4b140a129d644ff5e8e3254dd1c..6981e07658680fe023c4740a9aca38b2137a1e8a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 095117a0e0587c84bc5f165fc1058db12644e70a..39497393d1cbf98d69bff50d87978378405737a0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eb2026b91097e6993b7819c50238f0ec33e3c5c4..cc41b1b7b2d8de16bc0652635caa29c6b66a2f1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9554d53ca4910fd374983b876e8e183b2ae7791b..e851b0cf78102f9359111f8c3498d059fdcabe4c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 94e80055df99473b88020a794a54b805313fca7a..7b7fb004b27f9daf92eafcd5bf85882fa7892fac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e7d65648a5739c5b709ac583482ff436527fee35..75c8e3f7ee55d18fe14135027f9c32eb4e5b53b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be0d34eb83ce3f7363d63d610e9d613ea972b332..18a637ccf0162717886b73adefc97accb1ee7c83 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 385ff0201e128f8b75fd09319030cdecedcf6f6f..db708db90bd3a019c807bab926c7f9856ca11cc9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d41067e493bdcf3729259cda976e0b00a2ad82b7..9fbaaef1dab9700336eea0957fe881d87c7e0549 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d94fc9a7cf189dcd4945ca41870f768f2d6c341a..04c852367c2e14075cf70517e3cfe494a941eee1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8026f3338dcc26c679c700acc90847787ff08203..eebc93b1d8d7751ca6f87d4b86b3af82ef3768db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8dcd52916ffdf0e1ee9939ec8236a524b0c8fad8..64a804d20d4e51ed2aa0edf04ffb79af8a3a113f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bde8a32560eec4cf271ec91549759d9a1032ac7f..7288b999a87dd31c7cc40f167d5e0d7010264c03 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6472604c1bdbbcac15acd56848f895b36d520d76..9ac3731938b53e2c22c957318def2bf2277ff57c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c4d6426a922ba2a7b46e6d7a102e60e88d9583bb..7978cc27125eda6ddf4da56adf8662ae887facfc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6dcfbe5b7b7a933c1cefb2a355566caf12c5cb1c..9f334822ecceeb70c733eb15b0bbee9e71d844c0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8e4fcde9057a310d3da8a022cb71214d62dde128..105ada64e6d6d2f7a094b000bb50e3fc2220cdde 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d376ba405024b3ab94ec8b8ad470541501c604fb..71dfe42247851566f1590d4053d099ff7f1c9b49 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a3c94126ced53a5300069a68de0a382c610bcb7b..d323ee4e84732ade9e7e34edbe4ab2bf76ba5a16 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb74ab4416a3da1140df768402123bc3e12adbed..bfb8ee0497acbeb9fb699279935e79a2a1478d39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 961708a3db69a3589e13e404f9a274f2cd76e6fa..4e89ed6aed60fb0dfd3c040c89b081e2cde8db7a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0cb89d013796b43fb57c7d4ec68aee521463ea85..40984ef83ffdb78e52e134a562979aeaa470753e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2b2e89121fbf9231ad25e7deba8c054825179885..680805b6460162f13ea98a557524c1520798d505 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea375c2bbc89fa6e8c1eeaae8be59a2c003c6596..56f7ce30b1453a6235148128bd2a70cb551b19bb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 35cd901948b04b3d570fb57e07bda03cc7bce84c..48e3e1faf07bb8707b9ce5ec08db3a36288147f8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a74ef13938760245a078a0ce793ea65ec09fac21..4187b67e9cdd67eaeeee2f3760e4cc80c500a9a2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cc81b6231b7869af9b11f5a8cb89c0caf1b97af3..63bd5cc8e9f5668944b8998d2782298b0f7efcab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ecca1dd6699d52209a6394e24a4e53daae9ae2e8..cd22185fa398dec7e11af4a6c768d834784ef5c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 176f00c62c35f21a34b2c1041851e27b635a8ce6..bee55984b492bde7ecd4bfe22f53d3d86e4b0656 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ef8c5bb7f98febae66f722114f6c0214c1bc610d..dfd122c18805157905a66244034b55f851d28398 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3e5ba88a7ec1f252b69d310c6f1df9064276b119..1c916854b5fc66197eea8b9da1efb43de29a6d20 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7d7e09e08152ca0ae2469858233fbde94178aae7..4d90732d70dd876c4851d5a6e72ed87b4f7a3c52 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8fafba5f6cee14230e658010fe002751c21a770a..0396e5322a223465338c93a92cf82fda1c454d4e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea578583e8cac61e3874be310cf34f0d9f6195d4..20faac212bc6046bf3aab2b17fe273db696b19dc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 511fa6d29ba6c79af6130aec4b19425b4fd81ce9..79ea982559bf8f1c1e1f64d41ee7a3eba1910e48 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0f8fe51b7cb9c400e21b733d3b2c423307741b1f..e55000726a31e5ee76ab63a0b99b0749102402a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9838b4ef1d3f9f5fe68bb858808db4fa7105129a..8222fd65be99c91bd1334556443ddb4bc1021e05 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fbc10626c2bd37189f4c2473f80c06e72f95ead8..17bf9c19c0cc81041ef1bd25d0f4363b81aac1f6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7fedfe291058ad808161f5755f3e3e53065771e1..9ecef8e37325dde59d9bbd45b7ec275dc4db7db8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index db38cc7d14dec6df7cc9976d33b3d2e4feb0dd8f..c52db2258fde8f91cfdec4b95c2c5196508f8917 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7b38ad21cb2af2201ad288fb554e130746bc2ede..ad6f669dd44684a112735d616d3e14c956f19a5a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb46190637fb4bf219b8da5d0c33de2d1ab714b0..29aa6832ce0e09ac7e9e31508b688ee0a8be5f24 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 342c8e47474e74e1d5e653e71fde7d377dbbcdae..7b5531fb0cbe53a1959f6608a42d62a1f35c881f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 39db401f86d088a3e11269dadb048d49c77c0c57..6695d11da6a8690f8146ece9aed192d58beb1025 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e7f6cfec8d09bc66595e127b40d2f6d89e71352b..03fc8076097100083f6b326f896a724ffe3d7409 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 24388aa6e6f685f88e9b1c45991a8f3f5235ccd5..955c3130d55f053491c3a33057898ea1c5032d40 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0122744d2f160d3d06eea4437a55d4ffef3a630b..01ae3a4146f1a83ab13d3c250a45ff3044db0dbd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a99c7e1b22aee70ed32d66ee871f903f819634df..242d6d45dc2a8f322ab5b0002ece4fe630aba7b3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ad15e99a7f7c023058283230b47312dae81bbfae..c6db703437577b258fc102855862627f5d3fe694 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3995f9ec2a0131f150a36dad410dc2aee87afa93..52bf2b376ae83c02de3c628ff632d66b94f1223c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a87bd665e1fe2418a99991bdfac3e6bb6d74bc99..d19b1e98c23d4156d821f932e5a20a5e9d6786ef 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d4862497c55e194e89fc63158d340007e2aff335..757187b1c1e9fbe1b09bc5f3c83830bbfff34e53 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c918bd3177dd1657aa556f9f855b92c4d2a346ea..5a54925f6cf9422502d83ba13e5175e916c6a839 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2836aab6697b7bab0b87bcb4e135dfd9413b6516..707e95f555943ad62fadd8eb27d02bb4bdf246d3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f91b7ea9e6e709520225f5db07336c44ae77990e..d856831fd5ddd8ffb49f56c554857a1f83792017 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 043fd062b49417f5ff421ded721ba9da41ab7181..0ebd2e26118e2d8db1dd98c81172e3fb38e99488 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 34c65aad06a0f5aa17c55bf84d2adef9108e8ecc..ecd3604298c344f2f433b158c2ddb4cb786c1c81 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 969ff664a194de7a4e5193d512a09870fb6d79bf..2ed434d3754ffcc4d6760b4fc7cff7197e3d25ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 48b206a7a714005fe93e4105610472286b21520e..f412d985265757b0d68cf37da9f203243640b731 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 59f0d048aff5e78c314295ae0ce39ee30b2f602f..976f2e0b9145dd11822470b46805e5fcee895ef5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 44c6c8347d4c0d323699fe66865efdcc950c86a7..85876dbe78d0b22b59cee6fed427f8bed9025734 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 88d5914d422542508822968b5842da86a37c8e58..b11df71c54c5d88c14d94d222edfb70279dd5b40 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c7312dc09429992c600af1e0666a8041b1243946..444cd6a5d18c05e636db0b8bcc9ea566e6dcc810 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 19b2043040d6cabe4c173ea5c79a54c5f635c944..dc7b81643731e07fb42794bbd6cdfce5cf478dac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 17feff14f57cb1232e7a855f9cc65c2aaffec564..fac5beb0ed8486b1c784c87f59e107dfd0663441 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 73bea5da8f63319b4e734a9a3c4138116ca582cd..2b5a0bc8791303b28acc6bfad1479d5b964bc531 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 67522ebc71642d9668d69cfbc9173969ac297aed..200b0b7959ea4d6de3ab557baa300dc93bc549d9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 26dc386028282c7cb122c95ecc952a07fb7c3860..062420cc09c62815982953935e053370326a9dfd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6bb6cc72ae8c0720d53a9f9ac36b6313e93cb804..2a371ead3726ee2e5cc60a0901297e3fabef3032 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9333514e50296469a4dec80a4f3952182d330d40..08d095a7c2093ed5274d161c7b57c58c3f92d04a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3cca720ea05bd9628624f3edc8a4512149d27ba3..d958168fdc047e37241e19fce7b774952f9dc6d9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 37db4d8ce2837bdade1762ff17e19e73e5ebaa04..c1082bce52110d5aaee38cd9a058cf38c2aa34a2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8e0e1e578a5a07e445bdc0f9e2624004b15e355f..975daddeb9cfd130e68df3a889ec9a265a30001f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9faf66c6b60e9a3873e3f50a5e8af1edc5ac0d77..eda762263ab3b817c5da4bad6bfbef165a301b84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0a448213112fa0d678d2dd2170750dbe971dbee0..a7785e03ab1d67dc9fd30216ec4e0fa301c50e5f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 422b1e1838aa67bf42a93ff97857a1451bdbea9e..8d94f5a4e65a43a6617edabaa320438d1d76b1cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8fcf71863120d9783d48cd854debd74ef0a5a439..6956d86935c952dfa356aec6be56c44b7ddd56ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index afeae3dded5407f78e497ec87469dd7c3e7f180d..1943a815a477d0ad583710a811a4473069695e15 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f5587b3252a88219e77704e86de6185718b843f1..b780389d4b3acef96adabe14acdd63cdc1f5ab9c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 81e2c182bde49bce54aea37947578bc3634a889f..02cc32891b38abbd698a1e77998767c8540aac43 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b12a6725269c5c82095d86892446889e20e01d4c..29852a2e61eafaef098c386eca69d0b0984be9d7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5a3d3560daab712453591539eb44ec9aff05af8c..316ebc0af657cb60f5a7f3eb3534e337c2d90d4e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1946bdedac997d8eedde581b1c2c0c803878f907..f0e892e92d1eac6207764ee4b0dd71800213adc7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6f80cc8b35997eb64a61b3eee1c2b1d1b259adc8..3e47ae19f9839fbc1f113dc53c8df51f5bf6ae4d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 44da11bcad2beeb7d6d75d1ff362b94c1cec1263..c07ae26d1cc82f197858a0f3ba0ff777d9104a6c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0fa214408b91a1e195d633ad19349203515884be..51eaab3229c1eb0984f9cd3cd4be5ef00a2b5f9b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 835bae99355b2c834c2689010aee67715c045fcf..6348cdbb13da0e6ca7771354ddb608faf2b8c4ea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 69f81d85ca360c08c2cca241bc3c2cdee8a2fbc4..74eee6151917ca20947913ebc2f496663bfcc823 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 213676b2d1e360672af21f86055da796044daf66..2774be1bbbf98d67cf88f1913aec0dcf5639b3c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 456f27ab9089b09b1f626eab2345b340c5cc1dd7..236aa6e9aae2a5b9530c9192a7455427f0e66780 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f1b222c065c5d42d974b8c19328acae6440d9700..24aee538defdbce557eb6b98f1b793403e471d69 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5b824737e712843cb9b4fd6ef9c39f09f792ee32..058eb9f1fc910b90df274bdaa3ae0dc3b0c41879 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a467b96f397d4d895d34c783bd79de280133b590..d23fe8b0a0ae5513b490531be9ee899d4640bb3f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6b64224024deb5eaff9db24d77806db87012eb61..c3e80b5a08b1ebf5c2bee3a1f1bab6f2c1c39928 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 146dd3f940d0d14cac1d57ad27a483eb817f5d00..948719cba8885263ba811d9504c1fb61a0e571ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b4af936bad3c40ad28c733207e13772e992ddf1e..560a368fcc7ff1911b35d1f3fd0e011135b43b29 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 92b8e65d3e818b34a6aaa89ccbb39688d664567c..bba19215d70ebb5eb1e912ee493febdaf9c9a0d3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e3a7bcb2ed636b5836cb4d619076f60f3c6ec796..def3057a454d00266756459f4f557f10ce900a17 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b78082e1435ab9c50340d8118c0c47f6281a1ce1..b5afc4f813bd604fe97df1e3b350ef0f929db532 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5d3d2c7e38db95c9f6bc169befbbe22787f92276..9e5010b988ea25414039da4ac8d47e3688c3898c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d232986ba2622d08f3de9c9dc1a7849f3ac47da3..9857c89edbbb0c63ee0b38376716b316fc8da9f4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 63b94623c5fba2dc537339ed246b599863b14807..fe398f2c3bd55c486c804c3ebc9fba5e9a0193f6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 619cd2e03b5c6f818d371b27622b9f6a987ffeb4..a258d71a69e7f8238528e0f35186f76917d489fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f9cd27a8f31cd018698e9411084a002ea9c190ae..1d1fe6f87db75c26eb9a74ea8440e655ca4c4890 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c88f589ed72f700d5d26028183b3c834d962e346..41d024950c56746c00cd56b9d66b3dbfe252f79f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7a33a3ea85e1ab7e9769d70e59022cb7e8361be8..15e57d0b18ee5d92a2a5653240a908d02a82504d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e49b7a8e225c434fc1157959ee89c38f8e3b576c..cf306d071eb8c5c5b1e1d0d435401305bf7d6ede 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 194737b9f24b6da4b0901439c0c2de62307319b9..699236b42caa104d0266ac5aea06d4de3659e44d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ba664578adf2ec19e54891be41375526e5ab6e94..fbecdc003bc0878cbaff428fe1b89e07e2edf8dc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4b2ec8c795f20b65bebbb2b61d54cb543ee169d1..910a12e8e117f5ac220b216a2c0c2ed265698b0f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e4cb58e749cdc7b81f0b6f7eb1a9189aaf89bfef..6ed1d46dc862c99d086fa2215b9c3abfccc4f39b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d4b583dc87403937abede11b7847f61e892c976a..ca18d0ee80af75d7a5aec49f320ff5d7e3e8e8f8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5558c3bb579a4e473a71c438fc3dfce881f370ca..24516db688ae0d166ff4b928f06a5d433e50c601 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c0b6060ff3b65d4b922f936db2803f40d42a46fe..7ddba8baf529710fba2752ea8d22645861141d88 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2c132691b9bac07aa65e5bf0e270eefa7b6d5b6f..fc905e1b929d268324a9e7b2e022b0cb277f4d73 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9b4f3da6df79de1cf4c97a2e96e029423201c5fa..4d393252f5b83346ca5b35780b488e42acff2eda 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c48dfdab7598b9333f403d4f82171ac3768f23b3..cc896fc0c6f2b06cbf28d18976e0f0d144e1bfad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2c7ca460b4dd9a26808cdbf7d34ee6c735a2a743..6bda47f6cfc234cf57caf1868dfe3d33f197c540 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/FiltersPlugin/tests.set b/src/FiltersPlugin/tests.set
new file mode 100644 (file)
index 0000000..722601d
--- /dev/null
@@ -0,0 +1,121 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestFilters.py
+  TestFilters_Mixed1.py
+  TestFilters_Mixed2.py
+  TestFilters_Supported.py
+  TestFilters_Validator.py
+  TestFilters_Xml.py
+  TestFilters_FilterName.py
+  TestFilters_IsReversed.py
+  TestFilters_Remove.py
+  TestFilter_BelongsTo.py
+  TestFilter_BelongsTo_Exclude.py
+  TestFilter_OnPlane.py
+  TestFilter_OnPlane_Exclude.py
+  TestFilter_OnPlane_Multi.py
+  TestFilter_OnLine.py
+  TestFilter_OnLine_Exclude.py
+  TestFilter_OnLine_Multi.py
+  TestFilter_OnGeometry_Edge1.py
+  TestFilter_OnGeometry_Edge2.py
+  TestFilter_OnGeometry_Face1.py
+  TestFilter_OnGeometry_Face2.py
+  TestFilter_OnGeometry_Face3.py
+  TestFilter_OnGeometry_Face4.py
+  TestFilter_OnGeometry_Exclude_Edge1.py
+  TestFilter_OnGeometry_Exclude_Edge2.py
+  TestFilter_OnGeometry_Exclude_Face1.py
+  TestFilter_OnGeometry_Exclude_Face2.py
+  TestFilter_OnGeometry_Exclude_Face3.py
+  TestFilter_OnGeometry_Exclude_Face4.py
+  TestFilter_OnPlaneSide_Face.py
+  TestFilter_OnPlaneSide_Plane.py
+  TestFilter_OnPlaneSide_Exclude_Face.py
+  TestFilter_OnPlaneSide_Exclude_Plane.py
+  TestFilter_OnPlaneSide_Multi.py
+  TestFilter_OppositeToEdge.py
+  TestFilter_OppositeToEdge_Exclude.py
+  TestFilter_RelativeToSolid_In.py
+  TestFilter_RelativeToSolid_Out.py
+  TestFilter_RelativeToSolid_On.py
+  TestFilter_RelativeToSolid_NotOn.py
+  TestFilter_RelativeToSolid_InAndOn.py
+  TestFilter_RelativeToSolid_OutAndOn.py
+  TestFilter_RelativeToSolid_Exclude_In.py
+  TestFilter_RelativeToSolid_Exclude_Out.py
+  TestFilter_RelativeToSolid_Exclude_On.py
+  TestFilter_RelativeToSolid_Exclude_NotOn.py
+  TestFilter_RelativeToSolid_Exclude_InAndOn.py
+  TestFilter_RelativeToSolid_Exclude_OutAndOn.py
+  TestFilter_RelativeToSolid_Multi.py
+  TestFilter_ExternalFaces1.py
+  TestFilter_ExternalFaces2.py
+  TestFilter_ExternalFaces_Exclude1.py
+  TestFilter_ExternalFaces_Exclude2.py
+  TestFilter_HorizontalFaces.py
+  TestFilter_HorizontalFaces_Exclude.py
+  TestFilter_VerticalFaces.py
+  TestFilter_VerticalFaces_Exclude.py
+  TestFilter_TopoConnectedFaces_Vertex1.py
+  TestFilter_TopoConnectedFaces_Vertex2.py
+  TestFilter_TopoConnectedFaces_Vertex3.py
+  TestFilter_TopoConnectedFaces_Prop_Vertex1.py
+  TestFilter_TopoConnectedFaces_Prop_Vertex2.py
+  TestFilter_TopoConnectedFaces_Prop_Vertex3.py
+  TestFilter_TopoConnectedFaces_Edge1.py
+  TestFilter_TopoConnectedFaces_Edge2.py
+  TestFilter_TopoConnectedFaces_Edge3.py
+  TestFilter_TopoConnectedFaces_Prop_Edge1.py
+  TestFilter_TopoConnectedFaces_Prop_Edge2.py
+  TestFilter_TopoConnectedFaces_Prop_Edge3.py
+  TestFilter_TopoConnectedFaces_Face1.py
+  TestFilter_TopoConnectedFaces_Face2.py
+  TestFilter_TopoConnectedFaces_Face3.py
+  TestFilter_TopoConnectedFaces_Prop_Face1.py
+  TestFilter_TopoConnectedFaces_Prop_Face2.py
+  TestFilter_TopoConnectedFaces_Prop_Face3.py
+  TestFilter_TopoConnectedFaces_Exclude_Vertex1.py
+  TestFilter_TopoConnectedFaces_Exclude_Vertex2.py
+  TestFilter_TopoConnectedFaces_Exclude_Vertex3.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex1.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex2.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Vertex3.py
+  TestFilter_TopoConnectedFaces_Exclude_Edge1.py
+  TestFilter_TopoConnectedFaces_Exclude_Edge2.py
+  TestFilter_TopoConnectedFaces_Exclude_Edge3.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Edge1.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Edge2.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Edge3.py
+  TestFilter_TopoConnectedFaces_Exclude_Face1.py
+  TestFilter_TopoConnectedFaces_Exclude_Face2.py
+  TestFilter_TopoConnectedFaces_Exclude_Face3.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Face1.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Face2.py
+  TestFilter_TopoConnectedFaces_Prop_Exclude_Face3.py
+  TestFilter_TopoConnectedFaces_Multi.py
+  Test2946.py
+  Test2951.py
+  Test3241.py
+  Test17924.py
+  Test17962.py
+  Test19190.py
+)
index 1c0e9ec1c7f6472a5beb70d316adc96cee2fd19d..0f3b26f8abeb31598bc4424b35aafba1fd1db5df 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 468729b01b86ad05985b1979577b5a272c561032..3a9dea702afe2c444a0cbf4d717f93acf2452e32 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 38e51d80dff2000c62e8eb0ee047add3a15b7050..ff79c198b391dc993884d8df44a58ca6137ef2f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4f74739dcf173b3b81c7e16227ea81d7cbf22d20..5ac79d3ef2303c21e9eb8c810998ebc1359aa83c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1ab5d8d3eda8c609cf17af722ec6b779fc70fa47..77364f325dc7e4b2594e9dca3593307bba7c85ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1ce15f292e79d620e470dcc6dca6fdcbd47a237d..b2548275129b84c47959d2218794232367cc1c59 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a02c93ba0c91e51039a325f1c58190ce38785e05..23a06a312ed54962b3b255b9c0c63d8844606aa2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 04e100dadea609c010b453e4865c383184bb8d0d..47c165e7ee7e16b0bc15667a7201979688b08721 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7cb4ba5b9b44b794e661509bf7a2922105728e5e..c43fc2b52e407deda9dadfb8b813794cdf2124ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ce1e5c289a83f723d105089546cc5f743ef4e20b..e9adc0c64a1b7bd6f5de18d4d97131ac09aabcd8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a6ae4c6eeadfb1b41577a8983e9e4d124df81581..51a3527a9eb773b2278ca9cb0120a928b0a5daa2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 659dfd6e69f8c2009cf0fea8b851545c7159ed49..5c41bf7c67eb92589c6a0038a8f86d1c45f1ca78 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b1931330f4b92df402c65fdf35bd47658802b2bd..7b4ae2d444aecbb8934bf671037a31afb837eb40 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e2d0e0c472c2cde2faaab72dfed966e0c8e9ef0b..b4990eeace0719e75a02bfcb2b0fff5bdc4f068b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e88942199552845eb65ad499018f1167d5acbe13..91c09d560dd80026ab0822bcc0fbf0464b8f6c2b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index af7933417bf3d5c89bd890d62a41e591dab4bcd1..7aa12be3222385aaa1224a2b587a645adf6bac2c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 71451931761e543144f7c2bb2772e45a8f7d26f3..ee06141ae4eef0845e7b80e812aa98420a217fe8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 13ef05e4c9114c29128f5b4ab2a8266e3d631ace..d96d8c974d18b55bf347e0b1ab657b6d4a7c2b00 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f335fa5a662489e9a0da7ed95dfd411b6ae6daa3..e4e798cd8697eeabc8c325b7518a32b18f80ffc0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -166,18 +166,23 @@ INSTALL(TARGETS _GeomAPI DESTINATION ${SHAPER_INSTALL_SWIG})
 INSTALL(TARGETS GeomAPI DESTINATION ${SHAPER_INSTALL_BIN})
 INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG})
 
-ADD_UNIT_TESTS(
-  TestAx123.py
-  TestBox.py
-  TestBuilders.py
-  TestCone.py
-  TestCylinder.py
-  TestEllipse2d.py
-  TestLine.py
-  TestPlanarEdge.py
-  TestPolygon.py
-  TestSphere.py
-  TestTorus.py
-  Test2675.py
-  Test2879.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/GeomAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/GeomAPI/CTestTestfileInstall.cmake b/src/GeomAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 7bb7385a326ab482b68a3a9131bfdc2817bdce7f..51368a1d10c2b96b680ded9914b898e8da0189c8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3e108a2592c03b5d92f5cdb56e1cd52486e45fad..f11da3a0b942f07fb889425367aa37527a3661aa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cf078f6ca6bdfb809479721c6b65effbe7442cf5..8ce35f03909e861714125ea008b062f76321ab35 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0af5e5f7f999cd96ffbac1125f15cb23b102bbed..f1d99cc3c895e0f13f7df72e6dc77e7b83381742 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1414fd171dce36516c355128a3446303d4b94430..5e698b57111e789fa6b037964375ef557874772d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 442d140aa5b3b5e2bbda18a9ba182ec776573917..1be66849f659a9d8ea10d515a89bcc6b5e8982f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e8650ec0cb5fb0d2dd61c8e9b8b559598c70c11d..9d5e9a307289d4e8be34d3547ebdc8dd2ea71702 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ef221cd4f2146bcc0cd9a2e11ba73f6b5044b3bd..000a353bbecc07cddcc8d10924b9c290f76038ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d57cd06a1e64f5187c1b70b84f9dd19e4f30932b..40e277efdccbadcff1fe80227d5054d97039de1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d2a2409ea72f39321a300cf83292cba3224b07b7..9e5a5bc120e747211ea1787dd4a110b2ac74f73b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bf6453988f97a2ab7f79b163760a9a06528768fe..83281c3982083d62297bd23f71d71e260466e8c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a796f5597e6199320235dfe2e242971c1605dced..88395062d1df58007b603e5d9288c79c7ce91375 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8d2b2677927e221e838c612271785645586707a6..dd40b6a2b55a241e6925781f055dbd35ef1f1ada 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 17416c4bb960d0ded04ceb77045dce0d008f4269..58b35267c8eb60efaf00ef22ee2314b8e5ab8b32 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b785aa77b0e269e31964be9838d4c2493d7b84c3..ba2134ec04be45f53af104f3c2dac3736a2d12ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 251122dd8c93f270eef921dcc7cef466fd2981fc..4b81d0cc03cb75a8fbf4d8bcbfecc77150b0744d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a5bd94a16b38f853ccd561543c3acf0e5db717fe..ef6f7a24ef231f945e3a8480f5d184856c1e6d90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 260577b729a4443fa1bc1a9af12cd715c9b0c965..3409085084cc98c2c44912eb8989b6bcc5567fee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7c49ff5caee5e1828118ae8b7c41ab21497114cb..2873a4252d3f7ad479763206d12d05ef8df8c25d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53808062ea9c4fc0f7242d9e99c2da676089e327..0826e8778bfe1215f77a6ff8d16fffacec314c10 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2e1c7510f9c46d8f3c24667c8d8100857c89c819..d6054f6949bea1b370116322d886e8acec9a4219 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6c1b59dd6b110c6789b7f1f457e9079e5c0c546c..b208fdf1c30eef0e7a4a848304613224ffde4e99 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5cffc5530c1e552cb8c30ea57df9b63ebb63c895..0a38844c5c6a2a0311d2f15e56ce4260e38cf8c4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f8d65c161866eae169ed07d5360bd35c8cc9ad6..02491533cf07adf21115a47aea2ccd934a9d8d76 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bd1d7a6a6faab05672a18b1eabb9aa556649728e..1de5d47367de589099c8b4448bebe682f314f305 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8b8124a711613d34bfe1c0dcc232ec6993eb20df..7dca68d326997198d28cf7c155044d7fce297d45 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b318dd3640c89a83b3cfbd7db0856902b8823ce3..5b65fb8c1be062ff6373dd22291278a48c627f91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 79e0bdc8452684d338c4f78e9103548b61b33f89..9ba6c39d4c69a8d7c78d4cde70e0f062ce7a31f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 56bbf7434c6152b32ca1270dc9fde92fb72b4dcd..1c082f9bd2288d3c7d3609eecdf7ffcafaaf3d6f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d34a88e3f2293ea01e720db71a19394f3f300012..41ad39f12bbd9a66cc01c58f4c3fa7394d4fad4f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 48375aa41afb0a687de847c004453c3c7514ce1c..02f3a0a7876ffceda8cd205ee40101be39c6c311 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c96da5e1f962516d20ae87524c38548b74fdf7ba..301b1783e0f63737e4de060e3aeb4379e6c32116 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e78daab52cb3db479bd28fe3d7a8f2105473964d..fe99df0e9e7d46ab3a3239b9e2b8181bfd25abcc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e70c971b5f285a99f95b4970458341359024db64..b81dce13c1bc333c95122f6dfeea744d81ae41c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eb6494879b8f8588a235c21c3a2e6eaa4299cc86..ff097533c4041a4385e655d91de9d1177346a847 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fe5db58ec221f57844eea64f8039fd270de92fe5..7fcb51a8b65a71121562edb0688667276b96c594 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bf764e7a2f62ee4ab9440c30567e6f0296d5d310..0403f31229a99c33d9633d516fa43f5f95c5b15a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2da41ecf5f32dba211644174dbd895878bc2de24..4e346f2f5c636937e0d72c5aff724fb9e22f40a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 817c683459e1c7fa4655c6e5f1eaae8d6636d0ab..4058bb92c869078f84fc07084d8af3635e42c4c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6accbf978b1c7d5c3bf4ca8c4e29affe2d63a817..82c21544c86e84cf00820d9459d7f88cf4afa015 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fcfbbb3363f5f663f1265a8a57e27d8101e56924..5080bc3f43345bad8545a468958509d18b3b2644 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1f5a55fc99af2c5857535343b1c5e6e50e9e6151..b916442f4f90ca55f69fc0968a1d4b659c21b160 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d43fd803d3a62324e24ef861d3d878a8535662cf..59465f1db0e13e22bee437fbae48486bba70b760 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ff67217bdac1285f19abb4da3623a98fc17d013c..de711d2a95b8f8a72bf1c04d1744fb7c7e35b4e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 76f33970b3bb47c4d2753b79e755a5e8b359115e..78f47e7f9532fc9946c02116507afbf608c545c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9acee9791a32782bd1a39731e4355de7b31dca94..57ffd66a963977bb1e21468440d597208d44828c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 252f5f09573c7f7c7cd7a1755fa129c6dffdc646..89bcb52b74a9e81a9b9cba241581eb0c698b0ebf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 90d0af06193c9f40331f5ab18e2897cf7aac1ac5..0109ed5eae5ef20e2bd956a6802ea472e82d59c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 12562954a769ffdb75a1c25b61dae6e3da7dcce2..098ffba56e7ea4d376cf8f60592977c6577924d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 01cc379843d13e9676347d81743549f7fe9e0263..43b0e8bd50be6f96e9e1f17ba792df9f79a166a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 799fa701b4f4ccfa18fa6caaa35eec94fb71bc4a..ee8d3254d818b63348930b5eaed4e634e28a7b05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 36cad9bf509a036edea6e4763d6d79482e253774..8f691af665c56cece03afae845adc553104fad01 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 93a6de94464f6d17d8bdc88820b16a80120f4838..4501845eef94bcc0b5cfc593dd37eed0817e97d6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4a86300fa98f49f212f799304f664f36b5efcd66..fbbee6caf6b980ca4f805f0dc52a1dfe959015e1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 71bd2cace1c37141565d1dd32382b9994e55914d..47da6802eb81d71d18e64e5dfdafe2b09268908d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0a876a8aa44abe1b981d6204ad44e5450051bda..1fc89232d405c02f6cad3b5d6131d92822cab399 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -80,8 +80,8 @@ const std::shared_ptr<GeomAPI_Pnt2d> GeomAPI_Lin2d::intersect(
     const std::shared_ptr<GeomAPI_Lin2d>& theLine) const
 {
   IntAna2d_AnaIntersection anInter(*MY_LIN2D, theLine->impl<gp_Lin2d>());
-  if (!anInter.IsDone() || anInter.IsEmpty())
-  return std::shared_ptr<GeomAPI_Pnt2d>();
+  if (!anInter.IsDone() || anInter.NbPoints() == 0)
+    return std::shared_ptr<GeomAPI_Pnt2d>();
   const gp_Pnt2d& aResult = anInter.Point(1).Value();
   return std::shared_ptr<GeomAPI_Pnt2d>(new GeomAPI_Pnt2d(aResult.X(), aResult.Y()));
 }
index 581a90a88b36c18e833054342014ebdab4344f54..63d481405d61fe564778bd79f996fe0fc3f54645 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 66b63e22674ecf8fb78329184e9ebcb1c1e86f33..37a4e72f84685edeb60255c35774fef1cf426977 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2237bcb21b00a71b560a54047c4a24be4b038c6a..6f82745c0e7444883f6a741abd2b6c863fccc515 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c6d7f3af71b3021e3ff171d2cd708d2c7c64f259..142f5f424b130f2a6997b2d46555d866a765d4f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8b4d7ff715e90f3a61df8502188929c002d36374..f83b950ab741e51bbdf8500c984924f4d174e18a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d2b943df36e7b3089af3a36846a03fccb27fe4b1..4c46b5bbabcf970258227a2435c14c540a4b4d39 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 13445889e46b0999169d9f31d67b33419fdf997f..32340b28efb9fd68757fbd294d7fca6c72ae1ddc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3e498f6a1ae1c6bc91e98e9b7400ca0053c8d8a3..866f0720338bfce14fcb9ce34fee6c69bef727eb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ede3968e71ed632957388a63f53a10c701dbb285..d9b7b9aad0df54874c99914e8cc5189e663132aa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd044b69a2b600b08a58e9bd270e68278cfb2dd7..1d3f99fcb203147736a42229c9756ecb9e609a5c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2a648ce20c67983c69b123effeb484c1e754480a..3dfed0f86756fb8394b8b3d78ecefe2600f67712 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dee9954adc58c95e5b25240a583c0c0368633ec5..e6540a339509caf969380c0e1b00dc8bd05ec637 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fd90048340b59f4448ea31f6ddf8e645863a4dce..c47d55b71f35c4b42bf0f5d782ec9e7cc1dff954 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53522d415840a2c24139d8a14ef338e8cd15e3e2..b595e9e900771d35431bc409746020bde6b68f01 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 091d61fc119b8ada243a0f7eacc7998261c806fc..75544ab98afa4924337f9ef79382afd74469b2cc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 647f7e6a084a7277842732bd101cbace13567be9..dce2d3dfcd9b594d6c5c4369e973ff70a71c7bab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f935389943b0900b304882323ba35485f143e0cd..7cb0083950e2f92724b5636d8a031973ac69cb59 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dcd990372377abc9d6900b243e08bd2a742dc9a9..3460cba6de9685a9eff5135026dbf350c40ec295 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 454e4ba2be4a9e5b315fa1483657373185e0b2a8..786fa3ad8f919ac08563f9183a2e02a9e28f66ba 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ade9c845c8ae0053f9628a299362a9a0d98928f3..f83b8acbbd182aca597e3076ffd6cc1c552aa63b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e5a020d1e74cbdbdea9f5d543ec129e5220511e2..725dae3322c36c8e5105c824fdbe13d26857c60f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2870b3132d034267fada0c319123892d50f7d630..043f527d69fdf3c602b81200da23a747cc68b044 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 47a53bd937b56eb5510475ab264824a3cc343d0b..cc8acd37d26f2afad6e5b1341ed203dd5a7aff65 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 863698110425d2bb2edd42629490f0eeee7b7502..21491c3dcfe3cdacb9c09674db3b8d5f18af55a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6af05599d785c57bb66bbb9a392954a7e7cb6eed..43b8dc7bfbd5ac72f2af8d7ab0bba19e415038e7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 85cf051538872a0f42c8c16cb630abcfe8112ca8..35996720a8a22ace86910901c4ead02a25079ac4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3bea5d2e135c40ba135cbb44b4a5b6d53fb56754..681de6f3d959b69b51128ffd33483b1c94f65f2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a72e6829f96af41cd82bebd63551bc165dd51e57..73ce06ef208c1829a9492bb8b9eb6da691e2eadf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d0f3092248961e1186bf0fc39f2d199bb1e9c2c3..dca32934472070338ea7ab65caff91d27e3ac017 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 43a43e7eb772a0cf4fef4fb13aa1a8cb9477cc98..1b5e4758aa80f803db8c26245dc355c0eed1ebf7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53aed1f9135ce6af2680fbc4c661662619f838ed..459c92e3a31a9745f8d8ccad0132fbaa509a0189 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f431c264ae406a3b547251469fb53812e92ec626..15a9e38ff5ac189264562e33384cbf4794574a09 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1ab848f2a688f5e7a4e089aa26eb901b6dbfd0f3..5008af7019462d6cb587edefe4f4c7bee7fb5396 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 635c9b6fbbdf79332f27588338444e5276deb35c..704e9ec0cba154c124f6e99a3ab586ca5a373580 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 97e6eb180361b24b17566997f185a2b3cf13afff..734bd6c2cd2349365371df39992335bdfe8d0abc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 70fc1cda249f4f406a66dfb5165f6328bc601647..ccfd261725aa8c028ffd9f0670a0b79940f63632 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e37561209cba47551823d11c93613b159852b251..2bff23418d2f15679418f9f9ba2c9475cc7c985b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2ef90cadbebe255b5a6f1d6bfc2beb52c7ad6b74..df94c7da826795b8107e366ed6cd36fab661f1b3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5dac785a70d25189d5a77e3e49a929aa9d424a65..34ea646aa97a25d1ca0e9d3994afdf2ce5ccdf1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f7542202105bc374a99676e6e6185c3c99b1e903..59db9f61b34eaad1cd113f686277a758793cf920 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 76d8b6b971a2456b2b3f51ad6bb9c329f7cfdb00..4d23777defdd620ee11165d24714cdab7cc707c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 63dbde28081c178467b4a685184b1a4d7ce4136d..dad6dbcaf1b3419562eb8ff867199751370c5c4d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b940d5b354401dde1ad3dd24d7b9999dab9adfc..91e2ba289e35711355be843a44a6902b6ba1f582 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cb35528eb812e5aa7d43f9b707107e6b78eb1855..2c10f2f6767af93c0ee7147b3d455c015d3f78b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 929f54f3f137a8181ade9d0e91dd6166f0fb9d25..1558c5045b3411baa6aaadab42c4c70b3580c76f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 71cb39f6f4a3516ab1756c00c27ecd2c97537693..d48f4190dcd15584f747d43030afb6973e48e5fc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8c64a23cbe488451dc95815c188c8f7ddcf7fe73..c64a36b1f8c939d73a86ce3876453603d70242ca 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4ac1fbb19b5be77dba65a55d2e671761b2cc6977..9ddd2e6a8ea4b44c09763fe0c740f652f9dd2a1a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 585e1a16fc9747e5d87e159fdbccd72f3cf4eb5c..ad5f1f109a16939bb6626ab860e6a43043f7745f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e33c0bf40b79e6980fae231191cdf180e2be68e4..516199bdddbe5f42eb61042f478f7981860d4589 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 54b70f5bc2ab4ec94e595d6b9b75535828afb1fd..2e9eb82c55d4743c22556ebf9be354fad5961db3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c58adb7490d063f69a35c2ce9675fd1c32d89f7e..9b0262657052efad99373ff6e9ff92988eac74fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 417a6843b04e492d91695af865a27dcce14377e8..40e14edd099add43c49d9d83279840e23a20e5ff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/GeomAPI/tests.set b/src/GeomAPI/tests.set
new file mode 100644 (file)
index 0000000..5242751
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestAx123.py
+  TestBox.py
+  TestBuilders.py
+  TestCone.py
+  TestCylinder.py
+  TestEllipse2d.py
+  TestLine.py
+  TestPlanarEdge.py
+  TestPolygon.py
+  TestSphere.py
+  TestTorus.py
+  Test2675.py
+  Test2879.py
+)
index 9c0da9e705dd4136eaef734737a4af86ad5d1f86..0c549a45beac44842cd83805e74271b840623e7e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -90,6 +90,7 @@ SET(PROJECT_HEADERS
     GeomAlgoAPI_Projection.h
     GeomAlgoAPI_Chamfer.h
     GeomAlgoAPI_Defeaturing.h
+    GeomAlgoAPI_BoundingBox.h
 )
 
 SET(PROJECT_SOURCES
@@ -159,6 +160,7 @@ SET(PROJECT_SOURCES
     GeomAlgoAPI_Projection.cpp
     GeomAlgoAPI_Chamfer.cpp
     GeomAlgoAPI_Defeaturing.cpp
+    GeomAlgoAPI_BoundingBox.cpp
 )
 
 SET(PROJECT_LIBRARIES
index 79d2ec7fbc94f2630df94a2d89772f684aa6f305..c0bc24a0bcf7f2babe79421a92d33aaf4204cfee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 34235cca1163d56d178bfe70276ad774f85122ea..e12108cc726f9ceeb98ad52cb749d57fde39fb31 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a593d85043538057441f4db09e11b19dfe904a2e..36d97adacac697f923ce384d3c3a990e4a56c0e8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ba8f19061a05dfbe182239d38daaeb2cb431b637..2add8f96709ac748b1eb5b0fc1c2b35cfe3bb196 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 44334d83a7250313a66802117ed0d7280eb7e2e5..d49e88aaded15da5a1eafb7f3f50156560077758 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 501b95e3b49487e171efe1a0090e0c9f18cf7703..b5d525ade5e001010704b93f3e99a64f2fc21dd6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9af92e6f922bbd8d4e38f20b4cede60a7f48ad2b..a503c7d64e9bd45b165fb259f2759d5b177439ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f334ab725e4754140b238a85de40e194ce9285d..8b9dc50d478b676a21964636c6612a05ad2f5ab1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_BoundingBox.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_BoundingBox.cpp
new file mode 100644 (file)
index 0000000..6a1f6f8
--- /dev/null
@@ -0,0 +1,390 @@
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include "GeomAlgoAPI_BoundingBox.h"
+
+#include <BRepBuilderAPI_Copy.hxx>
+#include <Bnd_Box.hxx>
+#include <BRepTools.hxx>
+#include <BRep_Tool.hxx>
+#include <BRepBndLib.hxx>
+#include <BRep_Builder.hxx>
+#include <Geom_Circle.hxx>
+#include <ShapeAnalysis.hxx>
+#include <TopoDS_Shape.hxx>
+#include <TopoDS.hxx>
+#include <gp_Pln.hxx>
+#include <BRepBuilderAPI_MakeFace.hxx>
+#include <Geom_RectangularTrimmedSurface.hxx>
+#include <BRepExtrema_DistShapeShape.hxx>
+#include <ShapeFix_Shape.hxx>
+#include <BRepBuilderAPI_Sewing.hxx>
+#include <Standard_ErrorHandler.hxx>
+#include <TopExp_Explorer.hxx>
+#include <BRepClass3d_SolidClassifier.hxx>
+#include <Geom_SphericalSurface.hxx>
+#include <Geom_ToroidalSurface.hxx>
+
+/**
+* This function constructs and returns modified shape from the original one
+* for singular cases. It is used for the method GetMinDistanceSingular.
+*
+* \param theShape the original shape
+* \param theModifiedShape output parameter. The modified shape.
+* \param theAddDist output parameter. The added distance for modified shape.
+* \retval true if the shape is modified; false otherwise.
+*
+* \internal
+*/
+Standard_Boolean ModifyShape(const TopoDS_Shape  &theShape,
+                             TopoDS_Shape  &theModifiedShape,
+                             Standard_Real &theAddDist)
+{
+  TopExp_Explorer anExp;
+  int nbf = 0;
+
+  theAddDist = 0.;
+  theModifiedShape.Nullify();
+
+  for ( anExp.Init( theShape, TopAbs_FACE ); anExp.More(); anExp.Next() ) {
+    nbf++;
+    theModifiedShape = anExp.Current();
+  }
+  if(nbf==1) {
+    TopoDS_Shape sh = theShape;
+    while(sh.ShapeType()==TopAbs_COMPOUND) {
+      TopoDS_Iterator it(sh);
+      sh = it.Value();
+    }
+    Handle(Geom_Surface) S = BRep_Tool::Surface(TopoDS::Face(theModifiedShape));
+    if(S->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
+       S->IsKind(STANDARD_TYPE(Geom_ToroidalSurface)) ||
+       S->IsUPeriodic()) {
+      const Standard_Boolean isShell =
+        (sh.ShapeType()==TopAbs_SHELL || sh.ShapeType()==TopAbs_FACE);
+
+      if (!isShell && S->IsKind(STANDARD_TYPE(Geom_SphericalSurface))) {
+        Handle(Geom_SphericalSurface) SS = Handle(Geom_SphericalSurface)::DownCast(S);
+        gp_Pnt PC = SS->Location();
+          BRep_Builder B;
+          TopoDS_Vertex V;
+          B.MakeVertex(V,PC,1.e-7);
+          theModifiedShape = V;
+          theAddDist = SS->Radius();
+          return Standard_True;
+        }
+        if (!isShell && S->IsKind(STANDARD_TYPE(Geom_ToroidalSurface))) {
+          Handle(Geom_ToroidalSurface) TS = Handle(Geom_ToroidalSurface)::DownCast(S);
+          gp_Ax3 ax3 = TS->Position();
+          Handle(Geom_Circle) C = new Geom_Circle(ax3.Ax2(),TS->MajorRadius());
+          BRep_Builder B;
+          TopoDS_Edge E;
+          B.MakeEdge(E,C,1.e-7);
+          theModifiedShape = E;
+          theAddDist = TS->MinorRadius();
+          return Standard_True;
+        }
+
+        // non solid case or any periodic surface (Mantis 22454).
+        double U1,U2,V1,V2;
+        // changes for 0020677: EDF 1219 GEOM: MinDistance gives 0 instead of 20.88
+        //S->Bounds(U1,U2,V1,V2); changed by
+        ShapeAnalysis::GetFaceUVBounds(TopoDS::Face(theModifiedShape),U1,U2,V1,V2);
+        // end of changes for 020677 (dmv)
+        Handle(Geom_RectangularTrimmedSurface) TrS1 =
+          new Geom_RectangularTrimmedSurface(S,U1,(U1+U2)/2.,V1,V2);
+        Handle(Geom_RectangularTrimmedSurface) TrS2 =
+          new Geom_RectangularTrimmedSurface(S,(U1+U2)/2.,U2,V1,V2);
+        TopoDS_Shape aMShape;
+
+        TopoDS_Face F1 = BRepBuilderAPI_MakeFace(TrS1, Precision::Confusion());
+        TopoDS_Face F2 = BRepBuilderAPI_MakeFace(TrS2, Precision::Confusion());
+
+        if (isShell) {
+          BRep_Builder B;
+          B.MakeCompound(TopoDS::Compound(aMShape));
+          B.Add(aMShape, F1);
+          B.Add(aMShape, F2);
+        } else {
+          // The original shape is a solid.
+          BRepBuilderAPI_Sewing aSewing (Precision::Confusion()*10.0);
+          aSewing.Add(F1);
+          aSewing.Add(F2);
+          aSewing.Perform();
+          aMShape = aSewing.SewedShape();
+          BRep_Builder B;
+          TopoDS_Solid aSolid;
+          B.MakeSolid(aSolid);
+          B.Add(aSolid, aMShape);
+          aMShape = aSolid;
+        }
+
+        Handle(ShapeFix_Shape) sfs = new ShapeFix_Shape;
+        sfs->Init(aMShape);
+        sfs->SetPrecision(1.e-6);
+        sfs->SetMaxTolerance(1.0);
+        sfs->Perform();
+        theModifiedShape = sfs->Shape();
+        return Standard_True;
+      }
+    }
+
+    theModifiedShape = theShape;
+    return Standard_False;
+  }
+
+//=======================================================================
+// function : GetMinDistanceSingular
+//=======================================================================
+double GetMinDistanceSingular(const TopoDS_Shape& aSh1,
+                              const TopoDS_Shape& aSh2,
+                              gp_Pnt& Ptmp1, gp_Pnt& Ptmp2)
+{
+  TopoDS_Shape     tmpSh1;
+  TopoDS_Shape     tmpSh2;
+  Standard_Real    AddDist1 = 0.;
+  Standard_Real    AddDist2 = 0.;
+  Standard_Boolean IsChange1 = ModifyShape(aSh1, tmpSh1, AddDist1);
+  Standard_Boolean IsChange2 = ModifyShape(aSh2, tmpSh2, AddDist2);
+
+  if( !IsChange1 && !IsChange2 )
+    return -2.0;
+
+  BRepExtrema_DistShapeShape dst(tmpSh1,tmpSh2);
+  if (dst.IsDone()) {
+    double MinDist = 1.e9;
+    gp_Pnt PMin1, PMin2, P1, P2;
+    for (int i = 1; i <= dst.NbSolution(); i++) {
+      P1 = dst.PointOnShape1(i);
+      P2 = dst.PointOnShape2(i);
+      Standard_Real Dist = P1.Distance(P2);
+      if (MinDist > Dist) {
+        MinDist = Dist;
+        PMin1 = P1;
+        PMin2 = P2;
+      }
+    }
+    if(MinDist<1.e-7) {
+      Ptmp1 = PMin1;
+      Ptmp2 = PMin2;
+    }
+    else {
+      gp_Dir aDir(gp_Vec(PMin1,PMin2));
+      if( MinDist > (AddDist1+AddDist2) ) {
+        Ptmp1 = gp_Pnt(PMin1.X() + aDir.X()*AddDist1,
+                       PMin1.Y() + aDir.Y()*AddDist1,
+                       PMin1.Z() + aDir.Z()*AddDist1);
+        Ptmp2 = gp_Pnt(PMin2.X() - aDir.X()*AddDist2,
+                       PMin2.Y() - aDir.Y()*AddDist2,
+                       PMin2.Z() - aDir.Z()*AddDist2);
+        return (MinDist - AddDist1 - AddDist2);
+      }
+      else {
+        if( AddDist1 > 0 ) {
+          Ptmp1 = gp_Pnt(PMin1.X() + aDir.X()*AddDist1,
+                         PMin1.Y() + aDir.Y()*AddDist1,
+                         PMin1.Z() + aDir.Z()*AddDist1);
+          Ptmp2 = Ptmp1;
+        }
+        else {
+          Ptmp2 = gp_Pnt(PMin2.X() - aDir.X()*AddDist2,
+                         PMin2.Y() - aDir.Y()*AddDist2,
+                         PMin2.Z() - aDir.Z()*AddDist2);
+          Ptmp1 = Ptmp2;
+        }
+      }
+    }
+    double res = MinDist - AddDist1 - AddDist2;
+    if(res<0.) res = 0.0;
+    return res;
+  }
+  return -2.0;
+}
+
+//=======================================================================
+// function : GetMinDistance
+//=======================================================================
+Standard_Real GetMinDistance(const TopoDS_Shape& theShape1,
+                             const TopoDS_Shape& theShape2,
+                             gp_Pnt& thePnt1, gp_Pnt& thePnt2)
+{
+  Standard_Real aResult = 1.e9;
+
+  // Issue 0020231: A min distance bug with torus and vertex.
+  // Make GetMinDistance() return zero if a sole VERTEX is inside any of SOLIDs
+
+  // which of shapes consists of only one vertex?
+  TopExp_Explorer exp1(theShape1,TopAbs_VERTEX), exp2(theShape2,TopAbs_VERTEX);
+  TopoDS_Shape V1 = exp1.More() ? exp1.Current() : TopoDS_Shape();
+  TopoDS_Shape V2 = exp2.More() ? exp2.Current() : TopoDS_Shape();
+  exp1.Next(); exp2.Next();
+  if ( exp1.More() ) V1.Nullify();
+  if ( exp2.More() ) V2.Nullify();
+  // vertex and container of solids
+  TopoDS_Shape V = V1.IsNull() ? V2 : V1;
+  TopoDS_Shape S = V1.IsNull() ? theShape1 : theShape2;
+  if ( !V.IsNull() ) {
+    // classify vertex against solids
+    gp_Pnt p = BRep_Tool::Pnt( TopoDS::Vertex( V ) );
+    for ( exp1.Init( S, TopAbs_SOLID ); exp1.More(); exp1.Next() ) {
+      BRepClass3d_SolidClassifier classifier( exp1.Current(), p, 1e-6);
+      if ( classifier.State() == TopAbs_IN ) {
+        thePnt1 = p;
+        thePnt2 = p;
+        return 0.0;
+      }
+    }
+  }
+
+  aResult = GetMinDistanceSingular(theShape1, theShape2, thePnt1, thePnt2);
+
+
+  BRepExtrema_DistShapeShape dst (theShape1, theShape2);
+  if (dst.IsDone()) {
+    gp_Pnt P1, P2;
+
+    for (int i = 1; i <= dst.NbSolution(); i++) {
+      P1 = dst.PointOnShape1(i);
+      P2 = dst.PointOnShape2(i);
+
+      Standard_Real Dist = P1.Distance(P2);
+      if (aResult < 0 || aResult > Dist) {
+        aResult = Dist;
+        thePnt1 = P1;
+        thePnt2 = P2;
+      }
+    }
+  }
+
+  return aResult;
+}
+
+//=======================================================================
+// function : PreciseBoundingBox
+//=======================================================================
+Standard_Boolean PreciseBoundingBox(const TopoDS_Shape &theShape, Bnd_Box &theBox)
+{
+  if (theBox.IsVoid()) BRepBndLib::Add( theShape, theBox );
+  if (theBox.IsVoid()) return Standard_False;
+
+  Standard_Real aBound[6];
+  theBox.Get(aBound[0], aBound[2], aBound[4], aBound[1], aBound[3], aBound[5]);
+
+  Standard_Integer i;
+  const gp_Pnt aMid(0.5*(aBound[1] + aBound[0]),  // XMid
+                    0.5*(aBound[3] + aBound[2]),  // YMid
+                    0.5*(aBound[5] + aBound[4])); // ZMid
+  const gp_XYZ aSize(aBound[1] - aBound[0],       // DX
+                     aBound[3] - aBound[2],       // DY
+                     aBound[5] - aBound[4]);      // DZ
+  const gp_Pnt aPnt[6] =
+    {
+      gp_Pnt(aBound[0] - (aBound[1] - aBound[0]), aMid.Y(), aMid.Z()), // XMin
+      gp_Pnt(aBound[1] + (aBound[1] - aBound[0]), aMid.Y(), aMid.Z()), // XMax
+      gp_Pnt(aMid.X(), aBound[2] - (aBound[3] - aBound[2]), aMid.Z()), // YMin
+      gp_Pnt(aMid.X(), aBound[3] + (aBound[3] - aBound[2]), aMid.Z()), // YMax
+      gp_Pnt(aMid.X(), aMid.Y(), aBound[4] - (aBound[5] - aBound[4])), // ZMin
+      gp_Pnt(aMid.X(), aMid.Y(), aBound[5] + (aBound[5] - aBound[4]))  // ZMax
+    };
+  const gp_Dir aDir[3] = { gp::DX(), gp::DY(), gp::DZ() };
+  const Standard_Real aPlnSize[3] =
+    {
+      0.5*Max(aSize.Y(), aSize.Z()), // XMin, XMax planes
+      0.5*Max(aSize.X(), aSize.Z()), // YMin, YMax planes
+      0.5*Max(aSize.X(), aSize.Y())  // ZMin, ZMax planes
+    };
+  gp_Pnt aPMin[2];
+
+  for (i = 0; i < 6; i++) {
+    const Standard_Integer iHalf = i/2;
+    const gp_Pln aPln(aPnt[i], aDir[iHalf]);
+    BRepBuilderAPI_MakeFace aMkFace(aPln, -aPlnSize[iHalf], aPlnSize[iHalf],
+                                    -aPlnSize[iHalf], aPlnSize[iHalf]);
+
+    if (!aMkFace.IsDone()) {
+      return Standard_False;
+    }
+
+    TopoDS_Shape aFace = aMkFace.Shape();
+
+    // Get minimal distance between planar face and shape.
+    Standard_Real aMinDist = GetMinDistance(aFace, theShape, aPMin[0], aPMin[1]);
+
+    if (aMinDist < 0.) {
+      return Standard_False;
+    }
+
+    aBound[i] = aPMin[1].Coord(iHalf + 1);
+  }
+
+  // Update Bounding box with the new values.
+  theBox.SetVoid();
+  theBox.Update(aBound[0], aBound[2], aBound[4], aBound[1], aBound[3], aBound[5]);
+
+  return Standard_True;
+}
+
+//=================================================================================================
+bool GetBoundingBox(const std::shared_ptr<GeomAPI_Shape>& theShape,
+                    Standard_Real& theXmin,Standard_Real& theXmax,
+                    Standard_Real& theYmin,Standard_Real& theYmax,
+                    Standard_Real& theZmin,Standard_Real& theZmax,
+                    std::string& theError)
+{
+  #ifdef _DEBUG
+  std::cout << "GetBoundingBox " << std::endl;
+  #endif
+
+  if (!theShape.get()) {
+    theError = "GetBoundingBox : An invalid argument";
+    return false;
+  }
+
+  TopoDS_Shape aShape = theShape->impl<TopoDS_Shape>();
+
+  //Compute the parameters
+  Bnd_Box B;
+  try {
+    OCC_CATCH_SIGNALS;
+    BRepBuilderAPI_Copy aCopyTool (aShape);
+    if (!aCopyTool.IsDone()) {
+      theError = "GetBoundingBox Error: Bad shape detected";
+      return false;
+    }
+
+    aShape = aCopyTool.Shape();
+
+    // remove triangulation to obtain more exact boundaries
+    BRepTools::Clean(aShape);
+
+    BRepBndLib::Add(aShape, B);
+
+    if (!PreciseBoundingBox(aShape, B)) {
+      theError = "GetBoundingBox Error: Bounding box cannot be precised";
+      return false;
+    }
+
+    B.Get(theXmin, theYmin, theZmin, theXmax, theYmax, theZmax);
+  }
+  catch (Standard_Failure& aFail) {
+    theError = aFail.GetMessageString();
+    return false;
+  }
+  return true;
+}
diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_BoundingBox.h b/src/GeomAlgoAPI/GeomAlgoAPI_BoundingBox.h
new file mode 100644 (file)
index 0000000..c56b3ca
--- /dev/null
@@ -0,0 +1,44 @@
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#ifndef GeomAlgoAPI_BoundingBox_H_
+#define GeomAlgoAPI_BoundingBox_H_
+
+#include <GeomAlgoAPI.h>
+#include <GeomAPI_Shape.h>
+#include <Standard_TypeDef.hxx>
+
+/// get the boundin box of theshape.
+  /// \param theShape   the shape
+  /// \param thePrecise precise TRUE for precise computation; FALSE for fast one.
+  /// \param theXmin    X min of the box
+  /// \param theXmax    X max of the box
+  /// \param theYmin    Y min of the box
+  /// \param theYmax    Y max of the box
+  /// \param theZmin    Z min of the box
+  /// \param theZmax    Z max of the box
+  /// \param theError  error
+GEOMALGOAPI_EXPORT
+bool GetBoundingBox(const std::shared_ptr<GeomAPI_Shape>& theShape,
+                    Standard_Real& theXmin,Standard_Real& theXmax,
+                    Standard_Real& theYmin,Standard_Real& theYmax,
+                    Standard_Real& theZmin,Standard_Real& theZmax,
+                    std::string& theError);
+
+#endif
index f314f1bb099da00aa6caa5bb836b940893e3a9d0..1dcc9fa97598539ecabe9f714740eba5ad9fd0ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index deb034cf034e9512d27fd7ea794bf8fcce42371a..c6f1269f1c811273587dd0287bf1b4c0cca214f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 350e4ab4b97c1393d2b8e63644107854d3920cfc..6c44b499246c0138d4dd0e7f363f6de370022ccd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d3e2840601f6081b23fd2037bda514dab1fab49a..8360713cd48ec77aea567c46f2d8557160b4295b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 07e1cbb119dad97d959dba294aee11ac4c2418d0..88c53c1eff5010a825e0cd6c8ac87f2a479e7ad1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f83a164413fb7b3d28d7c1ff3d89bd9679c8a0a1..1014c8247ae6057b08cc2cd7d7d4275a573b3d53 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ce866f4d2acf21ea96070e236b25f1735721717f..e3823182fe115e4db5ffff089fd2a016e39a32f3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4e38e965d7b26f9d68fb6cff2bb940e2f735e0e0..87623b0c48e490f0f234ea4e74aae28cd3ba9e4a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61fd3c76164b4b1e7f26bf29538e5023acdecd10..85d56bd3297f23c6d80e2d3404eda191e969aa7c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 69831475e5c804900555a42dbe3fe3050d74f770..50b33cf9e0944ef6b3a5dad2b7d44d4f1acf7765 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0ee5c721ec70d7092b5e01a73cf400fce2e2db89..a3f31fc49998a95412ccff31beb1e93e6f9027e0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c2c607730bb31415ec6f731c6dc814e90d6a5650..0533242719b98577559e7464a852f4e3515a646c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c5a995548ab37768a01c6bbbb17bb8338ebc84a9..7b028b9633265b19f8e1144f42b5edb8579d151e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8acd200352e49e22971af88b0753343c5ba5bef0..39e80ad765b6bc31762cb3ccdc4a7a88d150fa6b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 21b4df20d6e53574c1a020ea4d95cc2f806917b4..35dca93e084b9be929c9146012c3c8fe7663de9b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f5b651749d0b1df6af446d809e7f14751eb4534..d0122c021723914decab972f2513907c7459682c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dc51ff0cfdecf5a4e488146173a958ca2ebbbd5c..95643b93a1d38982471ea075e761f416414d6c0e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 95802510bbde808b2d32e22f19315422b9c9c3bc..31bea0e2600c9198c1a79a77bc58935e56baf6fa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 19a960d3144c9329fd5189837c0acd11c078a8bd..332fa266bcfb492b065cba314966f1935fa87f05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cdc491af27805c1380f4d76b1bc62d33c7be21ad..3a27f1f63f0221415f24fdfc4109a4076f8a5f30 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4b9e211621a0162640048894cd9297791bbfa4bb..72dcda221844b956d05b8641dec596e9a723b0f3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 04a1bf0701c61f37c8b42bedf6d58e7c82520695..04429f902b9924198ae900ba2b5e748bc2d014f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0988697b833b580e85beb5a99656312923639f6b..6667f5a643e75803a78d0506e5ab66d649801cf6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ee4dabef5aca1df03442928ec094c339189fe1cb..6c6f5f689bb953f202aac9a74941b2ad0a0ba990 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 894ff6cb053852d658abb28dccb6f13e3e871993..37e6051079fc240f79a3da90d84b3742603d0c52 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4c4e2b55e2d59aefb505a6aa78e0cdab01e16c6e..90c547f6a8b6bc06d16b45e041c17da53f495dab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8a70c92b85c3651129772bf9e945a1d07ab6e689..09405ce18ef702edf6cdc5af7456038c82d29722 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 023ced1a7e6fd7abedc4fb66472309559d6b9b38..e1ac4bc525a679ab072888ffc937f85aa5711586 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 72656c64b9c8ed66fcde78d23569d40bbd8139e9..967ce62028bbfc288490b238a07f1a4ec2db4c03 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8fa3af86dddbea674b288d300f928eb9dfd1506..9d6d43a44f17f3d917803c004a91eec60b406e41 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1fc2b871fc3dca89376e1318093caf0d87230f79..e6aafb5173d6119daa06bb356d7608bf691018fa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f986933df0a956ad49c60ae0958bf969f8072424..3a6ef26fa8242825256a0d4701a82aed6c8cdd07 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e937beab9164e29f7b2fd91a5cbd178bf9b9cc59..d1313e663b45e80fa61f19c0f2f08256d591f9a9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 578f91cc227f830dee2c4b7c7f0a8f29554d5bb9..a1065bd4854f73957ad073f9ba767435f0766d66 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d3f368bf58c31b1dbf3b0d6be3804e4438144ceb..9daa122247fc74f9395526b98a6631d77453259c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 34cd7bcaef50fa1d0d1b630e7a6b7cf72317a663..29b14fc30a054a2dbe35bc365c0395e7ab27893e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 228620609fe939c589ba0856f38653ef10d5fd4a..a929288c81b3116d98b52ac46cffc3e1c5577d52 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3484f9920fe2c2d5ca0f07bffaf7a885329e77d6..c56b638f4e15c57061860bf2d699691754b41b28 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b1d72c7aa0197536f4d189db87987846f68668b2..f32f42aa85f58d0d638eddb07ea0c427ec8a9cc2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 38d0eb18c56f8053e7e5562d7da8493d9f531ace..37152919719b2ba80954358820de31a32047ab5b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 26f60e4b17682d30c7ee697f3f1ed432ae4a48c2..e4bcbd775a138df4f580835a244692d9eb73f6bf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 55204430a1666a4333b0b50d508b37fd65f60400..6f72320258a1ab6a8e7564ae74d1630d1822d2da 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f20f60c26cad9e172dac1fc51f53e2156225a7c1..fc1aaaeda76d4def6838fb6a8f4396e49b6a0131 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a27d0550bf77c766c823708b089cd7d1e285442f..c8b558e375705d666043ae49df1cb9bae4929984 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 145490fdb843b08f46c31ed3c2a30db87a54c29c..11ad49137663d0263f6d68f78c5d61e89744b8f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6c9e4b1d546caec10ca67454d1683d32afc48b59..a036e82a752fdc7d4fb2262d24b19b142cdd2694 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eff0d0fe0ee185a2cdcdc84add88616d042c99bc..c8e25c4749217276aa6f330ff3b95f7ed1f00d91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9800c1c3141310233c7fa1355c5ce7b9eb482488..27746d90125abb35efc3f0bc6955d958b9bbcc62 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 52af8087dcb3c30ab84dc063ae527ab988cf0576..018e8f0606b1ea9895088d5a6c1d4d62d331c6b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a2bdb35e6b6f8a87cf26742f2b297f8561a3da3e..e4a0d1f575aae7e5e642ca47f642fb5d3d930e60 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 50433af90ddf44aca4a1fdb8fbc41ca2de4400ce..43e9499a566088af4bb5d98f448522b4de640a2e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 06574c1c369c365b84c177a99f46c88e4c81774b..6eeba87b9c4751a3d64142f8151ff0d351fb189e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d0b74eb5e1925a6e258d8556e034ba5ddf1b35e..f81ef53b40ceb700e270ca0365c246e714c709b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9b340f894f41c9e1ed316ff0244b90aa96ebe5ad..6ca5e7ce8c8d632aa027b3d165fb0a47b5c6feec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c36623ad01a057495a42789bd24784790a1da3e2..1532f543bd64c64d20ad738bce157ea260a4fd44 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 006a3fdaf9de67c00accf242514e08e9fb04e886..a3cc82852e90ee9c88de0622d95b52bb2e6897d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dccf9bd131f4df22ed8ac3542869d74fea253cf8..176c569ba2614e788cf19e452d90b3af99fcb109 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 46623465e6ec8bec8ec68b2e5ee016321aa68628..1afa7ddcfbb876decae4b0cca4ec56e35f9d9afa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0da316310a5944642dd003672beca3f713e83e12..fbf9f7a0cde7c02432776c514403e288cc5b9bc7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d6edd32de8fb1c33a595c5929c4f1ed3c96d1f21..990f4aa5302a47cb5c2ca973d4a39ea64ac091f6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5561cb09c34710245fe05ea404bb53ec945b8895..9dd90ba4d2c8085dc37a19d3e5b75eedf831eda6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4a0de75068aa7057de9ebb83e1669f57b10571e8..ed4a41509e4c56eccafe6632b4f400c90a981ad0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 819c8d70963bba7aa0da9d4016e3510a580e2c01..c914a708de7bd262d8d186d9088e2484f30155d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -31,6 +31,7 @@
 #include <BRepOffsetAPI_MakePipe.hxx>
 #include <BRepOffsetAPI_MakePipeShell.hxx>
 #include <BRepBuilderAPI_MakeWire.hxx>
+#include <BOPAlgo_ArgumentAnalyzer.hxx>
 #include <Geom_Curve.hxx>
 #include <Geom_Line.hxx>
 #include <gp_Lin.hxx>
@@ -113,10 +114,23 @@ void GeomAlgoAPI_Pipe::build(const GeomShapePtr theBaseShape,
   aPipeBuilder->Build();
 
   // Checking result.
-  if(!aPipeBuilder->IsDone() || aPipeBuilder->Shape().IsNull()) {
+  if (!aPipeBuilder->IsDone() || aPipeBuilder->Shape().IsNull()) {
     delete aPipeBuilder;
     return;
   }
+
+  // Check for self-interfering result
+  BOPAlgo_ArgumentAnalyzer aChecker;
+  aChecker.SetShape1(aPipeBuilder->Shape());
+  aChecker.SelfInterMode() = Standard_True;
+  aChecker.StopOnFirstFaulty() = Standard_True;
+  aChecker.Perform();
+  if (aChecker.HasFaulty()) {
+    myError = "Self-interfering result.";
+    delete aPipeBuilder;
+    return;
+  }
+
   this->initialize(aPipeBuilder);
 
   // Setting naming.
index 78e597a71e54f0e3b6adca044cfb9e208df2c41b..ad71ed7b98c7ee3adbdcd937341686630ea4119a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 19787b7cdc27bae55379b5194eb9ee4f46f5d22b..f4b64f70e576890ea643258dbe983fb483ea5bf4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dbd61ea4675f510b22299ec9abe5a35fecaaf70e..5d74f9303b91cc1f3ed46b5e864fb93a9a4159d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 856e430efd47b21db05dd35707a47935228370de..ac91af02e5eeaa244383d968ef1663c5437ffb20 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0eff9a7e3bd770ec77e7e56f9a5f13fb9172fb52..81a5bd95ef5731b0a6002e4e83829dca62fcb75c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6903fbdb6f387008a1cb96a8524592c6f3aa3d5c..6ab3e0fb1ed7fda92ff591820b9ce3242916e580 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -184,11 +184,11 @@ GeomAlgoAPI_Prism::GeomAlgoAPI_Prism(const GeomShapePtr theBaseShape,
           Handle(Geom_RectangularTrimmedSurface)::DownCast(aSurface);
         aSurface = aTrimSurface->BasisSurface();
       }
-      if(aSurface->DynamicType() != STANDARD_TYPE(Geom_Plane)) {
-        return;
-      }
-      aPlane = Handle(Geom_Plane)::DownCast(aSurface);
-    } else {
+      if (aSurface->DynamicType() == STANDARD_TYPE(Geom_Plane))
+        aPlane = Handle(Geom_Plane)::DownCast(aSurface);
+    }
+
+    if (aPlane.IsNull()) {
       aPlane = aFindPlane.Plane();
       checkOrientation = true;
     }
index 213d386215f803ec63c5ed2dc6664941593116d0..b46a34402c66a218f235e592e3c9bb1a02114040 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0c836ac26d98cf1a5d6441d38272a9ed964674e..b24bec189ab6129208c98c640693811f8285de4b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8eb28927fc71f9e9cf46d66774bf483525d42c3c..c846b0c88e40b9e1e5c152cb5b4e165e9387a6b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4773b1e22b8037a62d47a4a258b8b3c21e810cd1..a041268daac7d9d24b8416ce3fbf733232d4804a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 436bb0f7f842414d6722aa2e153e951cacb12339..3b77a4dee06cdbd0104abd85993638e2c44eeb5c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dd1d0a3d868c0d6e25e54b362d12a91b54e79f0d..d1da6e76e4629d09ffe673f07f5184a75cdd9b9c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 31a26ff20709fd57b8ae3b942ae07ac0c2c277a6..a80aaabdda4e7d89f7109e8e27227834359ee285 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 052a43ed8fae6de02626e8745f652e10f7ec78a9..7455d5ca8a0f30b8e3f766c20c31be1690cfd19b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c8d0487897602adf0e680143984bed45d814c534..53c787c7034cdeb67f565480712b7aaff47eb8ea 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 479c213a1538ffa5674eb692793b1bd1abb96bd0..99c3dc372ab10b8c6c381ec40569a0af2c4c3fc8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5740fc520d8525d7c94b54af790264a240d36150..9fbb26688342fa5b4e6ea2e1dd7fa2b078689d19 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b77defd1467483e10eed5967bcf3c0cc5b61bf35..9aeaf48a35e60dc9e988bf81d9bee863fdfd300a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -94,8 +94,7 @@ std::shared_ptr<GeomAPI_Shape> readAttributes(STEPCAFControl_Reader &theReader,
   STEPControl_Reader aReader = theReader.ChangeReader();
 
   // BEGIN: reading materials of sub-shapes from file
-  if ( theIsMaterials )
-  {
+  if (theIsMaterials) {
     TopTools_IndexedMapOfShape anIndices;
     TopExp::MapShapes(ageom->impl<TopoDS_Shape>(), anIndices);
 
@@ -163,8 +162,7 @@ std::shared_ptr<GeomAPI_Shape> setgeom(const Handle(XCAFDoc_ShapeTool) &theShape
 
     TopoDS_Shape aShape = aCompound;
     // Check if any BRep entity has been read, there must be at least a vertex
-    if ( !TopExp_Explorer( aShape, TopAbs_VERTEX ).More() )
-    {
+    if (!TopExp_Explorer( aShape, TopAbs_VERTEX ).More()) {
       theError = "No geometrical data in the imported file.";
       std::shared_ptr<GeomAPI_Shape> aGeomShape(new GeomAPI_Shape);
       aGeomShape->setImpl(new TopoDS_Shape());
@@ -215,7 +213,7 @@ void setShapeAttributes(const Handle(XCAFDoc_ShapeTool) &theShapeTool,
     TopoDS_Shape aShape = theShapeTool->GetShape(theLabel);
 
     std::shared_ptr<GeomAPI_Shape> aShapeGeom(new GeomAPI_Shape);
-    if (!theLoc.IsIdentity()){
+    if (!theLoc.IsIdentity()) {
         aShape.Move(theLoc);
     }
     aShapeGeom->setImpl(new TopoDS_Shape(aShape));
@@ -254,17 +252,17 @@ void setShapeAttributes(const Handle(XCAFDoc_ShapeTool) &theShapeTool,
       std::vector<int> aColRGB = {int(r*255),int(g*255),int(b*255)};
       theResultBody->addShapeColor(aShapeName, aColRGB);
     } else if (theColorTool->GetColor(theLabel, XCAFDoc_ColorCurv, aCol)) {
-     double aR = aCol.Red(), aG = aCol.Green(), aB = aCol.Blue();
-     std::vector<int> aColRGB = {int(aR*255),int(aG*255),int(aB*255)};
+      double aR = aCol.Red(), aG = aCol.Green(), aB = aCol.Blue();
+      std::vector<int> aColRGB = {int(aR*255),int(aG*255),int(aB*255)};
       theResultBody->addShapeColor(aShapeName, aColRGB);
     }
     // check explicit coloring of boundary entities
     if (aDim == 3) {
       TopExp_Explorer aXp2(aShape, TopAbs_FACE);
-      while(aXp2.More()) {
+      while (aXp2.More()) {
         if (theColorTool->GetColor(aXp2.Current(), XCAFDoc_ColorGen, aCol) ||
-           theColorTool->GetColor(aXp2.Current(), XCAFDoc_ColorSurf, aCol) ||
-           theColorTool->GetColor(aXp2.Current(), XCAFDoc_ColorCurv, aCol)) {
+          theColorTool->GetColor(aXp2.Current(), XCAFDoc_ColorSurf, aCol) ||
+          theColorTool->GetColor(aXp2.Current(), XCAFDoc_ColorCurv, aCol)) {
           double aR = aCol.Red(), aG = aCol.Green(), aB = aCol.Blue();
           TopoDS_Face aFace = TopoDS::Face(aXp2.Current());
           std::vector<int> aColRGB = {int(aR*255),int(aG*255),int(aB*255)};
@@ -280,23 +278,6 @@ void setShapeAttributes(const Handle(XCAFDoc_ShapeTool) &theShapeTool,
         aXp2.Next();
       }
     }
-    if (aDim == 2) {
-      TopExp_Explorer aXp1(aShape, TopAbs_EDGE);
-      while(aXp1.More()) {
-        if (theColorTool->GetColor(aXp1.Current(), XCAFDoc_ColorGen, aCol) ||
-           theColorTool->GetColor(aXp1.Current(), XCAFDoc_ColorSurf, aCol) ||
-           theColorTool->GetColor(aXp1.Current(), XCAFDoc_ColorCurv, aCol)) {
-           double aR = aCol.Red(), aG = aCol.Green(), aB = aCol.Blue();
-           std::vector<int> aColRGB = {int(aR*255),int(aG*255),int(aB*255)};
-           std::wstringstream aNameEdge;
-           aNameEdge << L"Edge_"<< aShapeName;
-           aShapeGeom->setImpl(new TopoDS_Shape(aXp1.Current() ));
-           theResultBody->addShapeColor(
-           theResultBody->addShapeName(aShapeGeom , aNameEdge.str()), aColRGB);
-        }
-        aXp1.Next();
-      }
-    }
   } else {
     if (!theShapeTool->IsReference(theLabel) ){
       TopoDS_Shape aShape = theShapeTool->GetShape(theLabel);
index d43019068a0b400d051afeb1a2faac3962a8321a..a75854a391e2ed13415e92d1ffc5d1ab435ba7e0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 48477c36a18386ad1d897a8fdef042974cb6f23b..2e73797030d9abfb3cc86a0dcffbb0e16ef2a8c1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7c36584b17a5ddbc0f8750afd1ed871eed8d751b..cab6bee711cc5e7a6b9ead039b8758bc747cc744 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dbd59f06850fbdb0220044582e1959d75de18cd1..776ef1960107ce9eee389b6e3510f1fa84a2ff2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 629bab5f166b6a61f456790042b2f1769b31465f..f2dbbfa57221abfc7ec387dbf63cadc47afb531f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4d56201449ec8aa65189a5e2ccf9bc03043424b9..3dfb09e12aefca3eb737d23955f85ca5b78a9aa3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2b22f35ac6fdecdb4eeea69469619c6c3f7737a8..98bbc0374dd4cef7e45a661d857b23b3059852d8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fcb59553140def598f3fa0b1d5cb9564a2d4d748..97675fd3b6e28e1e502b69d0b588b06ae5d76e5b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c7aac3ab40512ae6e58fed861bc3b19f8837ec0d..33138d171638fed1a89d037d137ba453a600f88f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 85d8ef1e1eab6b387b9adcde2563a66259fcdf44..b4f3590d2df7e842358dbda40b7d8f1b9cdd4241 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7731fa2169e7e555ee80f8eaabede6e87a97a1d9..5e7cc4f541f30bfabf376c46b95c72b01ddd7eff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a6cbafc0223cd1ee005d89bfc21b620fbbb12b1d..c4cdde252a42e8a4b9dd457415058c75cc1359de 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #include <BRepAlgo_FaceRestrictor.hxx>
 #include <BRepAdaptor_Curve.hxx>
 #include <BRepBndLib.hxx>
+#include <BRepBuilderAPI_Copy.hxx>
 #include <BRepBuilderAPI_FindPlane.hxx>
 #include <BRepBuilderAPI_MakeEdge.hxx>
 #include <BRepBuilderAPI_MakeFace.hxx>
 #include <BRepBuilderAPI_MakeVertex.hxx>
+#include <BRepBuilderAPI_MakeWire.hxx>
 #include <BRepCheck_Analyzer.hxx>
 #include <BRepExtrema_DistShapeShape.hxx>
 #include <BRepExtrema_ExtCF.hxx>
@@ -122,6 +124,22 @@ static GProp_GProps props(const TopoDS_Shape& theShape)
   return aGProps;
 }
 
+//==================================================================================================
+double GeomAlgoAPI_ShapeTools::length(const std::shared_ptr<GeomAPI_Shape> theShape)
+{
+  GProp_GProps aGProps;
+  if(!theShape.get()) {
+    return 0.0;
+  }
+  const TopoDS_Shape& aShape = theShape->impl<TopoDS_Shape>();
+  if(aShape.IsNull()) {
+    return 0.0;
+  }
+
+  BRepGProp::LinearProperties(aShape, aGProps, Standard_True);
+  return  aGProps.Mass();
+}
+
 //==================================================================================================
 double GeomAlgoAPI_ShapeTools::volume(const std::shared_ptr<GeomAPI_Shape> theShape)
 {
@@ -133,20 +151,13 @@ double GeomAlgoAPI_ShapeTools::volume(const std::shared_ptr<GeomAPI_Shape> theSh
     return 0.0;
   }
   const Standard_Real anEps = 1.e-6;
-  TopExp_Explorer anExp(aShape, TopAbs_SOLID);
-  if (anExp.More()) { // return volume if there is at least one solid
-    double aVolume = 0.0;
-    for (; anExp.More(); anExp.Next()) {
-      GProp_GProps aGProps;
-      BRepGProp::VolumeProperties(anExp.Current(), aGProps, anEps);
-      aVolume += aGProps.Mass();
-    }
-    return aVolume;
+  double aVolume = 0.0;
+  for (TopExp_Explorer anExp(aShape, TopAbs_SOLID); anExp.More(); anExp.Next()) {
+    GProp_GProps aGProps;
+    BRepGProp::VolumeProperties(anExp.Current(), aGProps, anEps);
+    aVolume += aGProps.Mass();
   }
-  // return surfaces area
-  GProp_GProps aGProps;
-  BRepGProp::SurfaceProperties(aShape, aGProps, anEps);
-  return aGProps.Mass();
+  return aVolume;
 }
 
 //==================================================================================================
@@ -1157,6 +1168,21 @@ std::shared_ptr<GeomAPI_Edge> GeomAlgoAPI_ShapeTools::wireToEdge(
     TopoDS_Edge aNewEdge = aWExp.Current();
     aWExp.Next();
     if (aWExp.More()) {
+      // Workaround for the closed wire to avoid jumping of its start point:
+      // split this wire for two parts, convert them to edges, then compose together
+      if (BRep_Tool::IsClosed(aWire)) {
+        aWire = TopoDS::Wire(BRepBuilderAPI_Copy(aWire).Shape());
+        aWExp.Init(aWire);
+        aNewEdge = aWExp.Current();
+
+        BRep_Builder().Remove(aWire, aNewEdge);
+        GeomWirePtr aSplitWire(new GeomAPI_Wire);
+        aSplitWire->setImpl(new TopoDS_Wire(aWire));
+        GeomEdgePtr aMergedEdge = wireToEdge(aSplitWire);
+
+        aWire = BRepBuilderAPI_MakeWire(aNewEdge, aMergedEdge->impl<TopoDS_Edge>());
+      }
+
       // Workaround: when concatenate a wire consisting of two edges based on the same B-spline
       // curve (non-periodic, but having equal start and end points), first of which is placed
       // at the end on the curve and second is placed at the start, this workaround copies
index 94ee16de53e933c35339a9293816d0a1fd9f7c8c..b1f154948890d96c8de783aec26bd0c4a4ff70ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -47,6 +47,9 @@ class ModelAPI_Object;
 class GeomAlgoAPI_ShapeTools
 {
 public:
+  /// \return the lenth of the edges of the current shape or 0.0 if it can be computed.
+  GEOMALGOAPI_EXPORT static double length(const std::shared_ptr<GeomAPI_Shape> theShape);
+
   /// \return the total volume of the solids of the current shape or 0.0 if it can be computed.
   GEOMALGOAPI_EXPORT static double volume(const std::shared_ptr<GeomAPI_Shape> theShape);
 
index 6e1abc12816f2bc2c8903f494300f3df97801bed..821c618e9805b82e2bcae4a42316c954e035ff09 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d66c12b2a5587db26489bdeca4c01b92348cec59..48dc0df0bc708a357943c35d76d3002911d0202a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9e49e502d87c16ab2640528df765721658dbd82a..17989eafbaf8e3a472f340af26748600fe525115 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c445a0523fd41902b70e4aed92bbeff2f162d850..f879d9b735fecd5e3f9bcc4a089b106b5f4b7dbf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e823107a63def695c5f8b09fe742e2cd2bcc08e1..e9a50af220f7babab617c378a1055c2ac8ab80b8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b4751358a58cf2d9c903d188e3e06f4cb999a1ce..b91d852a878d08823d32652b175ea9cbc63f066d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4acde228603e6293a3df56b96be68d8dfe77ef21..f2b8db42c5fbefdbd43353fdca3a580eddca8110 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 370233f36aa7fc54166e7e548ee1562d880d33df..8fb4499489fdb818bb2ab2dcfc7544698c12face 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b7144ddee302bb837c94ef9d6526bf6ac5996ab5..42e5cba69b31dc6b01f1c2314c6e8b5fb2f7a627 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e46e3bf01eb06f9d24f3c220118cb3c4c181c80e..f6b405e72409350920339f6ba633eff6ceeb90f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c82f2591f1fc5adedb128d5e84e8b3b427c3f82f..c6e715aded3f44f207ba6ebd0228a6aef498729f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 093603147d08539d4f9764b0ea0ac41a7080cbb8..a538712458d75d554eda1cd8629a86581333a492 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 90a692aebffd11083a54b820fec4992bc796f0cd..3bdecb71dbe2f8b02283869f95f5cb9664d81843 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -76,14 +76,14 @@ bool AlgoError::isAlgorithmFailed(const GeomMakeShapePtr& theAlgorithm,
   if (!theAlgorithm->shape() || theAlgorithm->shape()->isNull()) {
     theError = "Error: Resulting shape";
     if (!theFeature.empty())
-      theError += "of " + theFeature;
+      theError += " of " + theFeature;
     theError += " is Null.";
     return true;
   }
   if (!theAlgorithm->isValid()) {
     theError = "Error: Resulting shape";
     if (!theFeature.empty())
-      theError += "of " + theFeature;
+      theError += " of " + theFeature;
     theError += " is not valid.";
     return true;
   }
index f48261ec48f1bac3ed052c5809a8af5983dbe7ba..d7020e68e26b633499c58a5d74e65df37146f20d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3fc4fc6a01015784786646244c018bd621c707cd..87521e88b02ac7bcef7a22095757d6f350c11456 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2581f52c5f70316e916fe4d848cc6601a12e9c12..1084e6ca81568375848c9ab4485bcc37015f20e5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2400c252a701c67bda3ff63e3bdc5e8d2c677f77..1700f69f28320ba46279e0701f1cf4ca341a54bd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cdbc740e1b7916a73bff3e75169702a9b2f8c26e..6ff57309f1fef68724f442d8d25a27c49155b2b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 414d09a61d0813927c3a74cff1d11f1960810228..3a055f524f1ecbbf56e1c040150825a2acb7d57a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 32aaf1dec844a37d2e11f07808b04e91e8109211..e57d1ab83954215259041aaff6451e80e512be74 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7f25eae4e0a208a863693afa8c58702a4e1dd587..cd0e2a4ae31bbdc0eefe420b65315d0999b6e47f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f7fb64dfc3d4f5dda88eccc298ad628e5dcbd2b3..e3f3d3b4819a3a18c59811fa8ff52940c26c1375 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2a6c42497fcdc364666f3b24fec93a51477667ea..473bf8e0cd48fc85ad0b492ecb6f1dd711b9dd53 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 36b2d10fcbb961bb8a12f8bf7862823f658b654e..29a8f48011da4314537c2f7f7656cb4e6ef11f90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be12b80aae2189e55d8616869693aedc5ff639f5..7c9c03dd3b64a47de37ae724e5ee603243575adb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4bd31bed0a2c63c79a19da162834b0fa1c848bd4..2ddb5adf1cc0b2b1efcf7e8b799d00104400b138 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b2b4df62d4ea5f2a1f1b5ff769c4e999776cdf23..953a9510765a3fc8836939a2f9197c480e1a7035 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c4014aa241a99a624b3484b1edeb87a3bf0ebf79..8f415ad51d5d57c795a04c96bb6f17fae4b55c9d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 124e4b9138f0a01e44ed6505bfba1b930fc8abc9..d84bf1a493ba4b7c92fcb57d114c4fad35a406d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 83c67995933d1a415c08a6c4a3ef2d865b074a99..d96fe7d7b42e4bc1c32ca8fab313d97b60527a06 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cfdd6f74af4f97efdbafb941ccc43a3c1f8d3cdf..ad59c732d22e9ec8353ce7b450822fc05e023c37 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c18a6911e2cff7fac75fe477788e1be8d59d6702..aa5485bbf729f3508ffed90955ecc625f8b9a3f9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f3c2d74e33848d391e1e66702bb97fc60ac44ae..4f462b0c58b98714c56d4c1196be820875a0c537 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f49294f2c593c9830c5fbad94b1da0db5ab2f2e3..2d40d06b89a3453e3634f6c7fb42d553921a0905 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b754bc95f34471b4c5b1fc74dd264f63f75ae647..09f8a12fdc0785ed2e2ea218d7a3ee537cd80fd4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 67fa52c646b3179e510588676970561463a696db..fb5a0a819e5cab020b158003a08fc14c34704bfc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 35435435563ac417d4d204c842cb6bc74cc980b4..3cfbcb17ca5fcc1d5c201b430b8292268927de0f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4f97a403889c093294ea0b88bfa631e1ae43d8c5..5d738511aa5d8889398780e505bcbff908176cb9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8b7fb163b69a435c1acef8752ff6ee7ce7433cdb..91b6cd086b7b19f1f5590359f8008528e77f5bbd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0f46fc1694bf140c41f5e66c507e14cdc157149e..9011c475976df466dbd8c64d52e202883cca2c1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b59e225a1c4b7fecbc380e857b951e9d29704e9f..997c0be6fc152c83d9f72c0316e1a558d023305a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ee9c77cac19bff60fa96c1c08c645f8af8ef4714..de7f70cf0f4e1b0b0541b3d98bc697aeb8321739 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 245a571858cee8e2d80295ea09a8efd43d829cc6..214f84537f915651b546b2f24d70f4cec5a915a0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 198f91605772dc56eb2a31c40f86576e5b36ccb7..843aa58718270a6f697a693b2d5d4f87163de91a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f3f7399e880105f8c5a217642a64ec39afd89f6..de5e3fcb44278ba4cddc268491dbd626665f6ffb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 24c265106744d41f34fd59ad0d0d89d4e3feaccc..5ab3fab525cdece5ceced6d6afc6ecd5e75059c1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -81,4 +81,23 @@ INSTALL(TARGETS GeomDataAPI DESTINATION ${SHAPER_INSTALL_BIN})
 INSTALL(TARGETS _GeomDataAPI DESTINATION ${SHAPER_INSTALL_SWIG})
 INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG})
 
-ADD_UNIT_TESTS(TestConstants.py)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/GeomDataAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/GeomDataAPI/CTestTestfileInstall.cmake b/src/GeomDataAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 1fdeaccc4ad99010f5cf2674eba42d048a0e9b81..6d98770ca0c51dd79d6b836b11a058189617def4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 62c0949940f0d961fa3336734d13aa2675a8c591..5129692fc802dc9fcc3621fd6364c78e4ff837b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8672172eb323f92574cc5103856acf994d2cb39f..c75bd06cfb927a35b8e9fd326ccc79fe2ed500d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 04479ff1f05540d455feff7633174fe600fb0f2b..1a70b2116ef96f5946c077d8331b29ef95a239f8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 306b4f9bb4b0bb1726dcf72037c4168d87eb0b47..21f9c03e6f46c40e2870d79e3f169fdeee01ee87 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index da810ccfe6cdc68725a83a037e71f305909f565e..362df648f16888a5693bd2d8ea9601f6ffb5af52 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 64a6c343104713252f31b95ff4192c6c8afc0ff7..747be09f924b4f000d336f7a6834c23d57388299 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index db6f737ca906af315617550cf6e323ea4f22041e..0bc21454855e69025ccf6d88648d915c67c4902d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fcd9a8e6de511c6f144eddce3d73a21f22fee7ac..6695cef979b37beb838971f324044ba2a0cdbfbf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1976b16eeefac4353443ebfcad3fe1dac5903b2a..8b9eb92dc31b3f0fa6ee5c6feb665efee4570c45 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dd36c7354e6e56a3e16f2d6e857bfe07b7ad0d8b..47ba1d0e3d352278eda98013dea6fbfdf8ef75ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8e688e1e46343e4016dc3aaadf33f24a0c0f283b..660a9d56f5cc7bb576526d2eaa6ef3b498690171 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/GeomDataAPI/tests.set b/src/GeomDataAPI/tests.set
new file mode 100644 (file)
index 0000000..ed20e32
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+TestConstants.py
+)
index 40890c4cae469d14ae558be10ac9f5607f7aae22..c4b37d9b174f94c66aa9f091106f78dc019edda4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -78,6 +78,7 @@ INCLUDE_DIRECTORIES(
   ${PROJECT_SOURCE_DIR}/src/Events
   ${PROJECT_SOURCE_DIR}/src/GeomAPI
   ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
+  ${PROJECT_SOURCE_DIR}/src/BuildPlugin
 )
 
 INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
index 773c9a8b132dd40801b3267d05c2657216089b1b..2c2707549f5beba6def8529f3602ddfeb24a586e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 46af3b7ee0bd070aad187ec610c8f00170a51e12..fd01cf6aa6dc6970e983b2c71c6a9291914a5e4f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 01aa66ead7a6edff8246a2a6fafa638e714d5583..e2e481eccc0be92da2957c48b9d6285fe9cecc7d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 64f4a404f0475e648dbed0494f769f826267d0d0..a83fcbb2649617a0fb46d48ebbe39f5918a76a7f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a83a02d937cdf1a49b994e9e979d4c043401678c..8e1ea599543528755aa3fefb4c699a8b375b97f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ec0146a114fb110e559749da0c18d1b8caec8206..b80026928804813ddde72d158c2391d3f67d1a99 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b1a7f453d519b3a144553b080ec2f04214d8898a..46916f9333ed1d70f70207dbd0db68ee59de7988 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 36f6906e9bb57c870082954b56823b59d1c04080..939869dc6747750fec8939a2e88315a7fe930eeb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 387690e9c107c393f73df18955ff9d4aff060c87..7bc2462b71700e95a2271c85db800a0d18551f05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb2384a4c54b1c8da8eff03f12de638f130c1d9e..673431037b56c6f5d6d0bf4bf071a755ac435873 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 63997f88bb2a12f899f0e308f0bc0022706d78a5..b9260dbe0209b812b2695e493751c11d87994710 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3aff1c49ad6e7fef82745bd0f84369e81e83441b..c4c000a178d53b6c31d9c7275116de8ddc7cf7ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1b0babb97f7f19703a46b27773eef4afc1b318eb..9b0d3b2c67305df6d9ea0c913ee4156bfdece507 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d0a7f7616977f3d8d526a92f9ef4ed2971faf931..d4a6662d5519580d1a75bdc4e7de2f26177a525a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 87604069e1391d2c67eb9f6df0d57359d5372654..875e1ca3d486875584c4089200eab2c9f3c3b78e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bbdd1fee68c54b42a317a928c45ce1b33ba94417..f3c74fa4530797d1ec7d9ed35b9cf2e1ff970750 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d0c32e19f1d1851da31d11ab726333d19b60b76c..0933d83fdfb6664114050f45e7058de05054abfd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 69d8a723b24fdf09d33501cea7ece50a15eaad17..b64a0a62923283b3694e00f0cda1a6931d891d02 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index abc49afc4817380d6f43818f364650e06ab4c6a8..2804b3c1dceea6c10fe810af53e2b98e5a175e4b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9255a8ab38ac9230b6247af7f25310e6d60d5a66..9d0c6b9aed2c73a1a2272c823643a512eb07d6d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 174d1b71c962936cfc075a8f80534e0fba314720..a4915dec20e31a93ce2c2a31a3ba91efc7febd1e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 
 #include <Events_InfoMessage.h>
 
+#include <BuildPlugin_Interpolation.h>
+
 #include <ModelAPI_AttributeInteger.h>
+#include <ModelAPI_AttributeString.h>
 #include <ModelAPI_AttributeSelectionList.h>
 
 //=================================================================================================
@@ -29,17 +32,25 @@ bool GeomValidators_MinObjectsSelected::isValid(const std::shared_ptr<ModelAPI_F
                                                 const std::list<std::string>& theArguments,
                                                 Events_InfoMessage& theError) const
 {
-  if(theArguments.size() != 2) {
+  if (theArguments.size() != 2) {
 // LCOV_EXCL_START
     theError =
       "Error: Wrong number of arguments (expected 2): selection list id and min number of objects";
     return false;
 // LCOV_EXCL_STOP
   }
+  //"Interpolation"
+  if (theFeature->name().substr(0, 6) == L"Interp")
+  {
+    AttributeStringPtr anAttr =theFeature->string(BuildPlugin_Interpolation::CREATION_METHOD_ID());
+    if (anAttr->isInitialized())
+      if (anAttr->value() == BuildPlugin_Interpolation::CREATION_METHOD_ANALYTICAL_ID())
+        return true;
+  }
 
   std::string aSelectionListId = theArguments.front();
   AttributeSelectionListPtr anAttrSelList = theFeature->selectionList(aSelectionListId);
-  if(!anAttrSelList.get()) {
+  if (!anAttrSelList.get()) {
 // LCOV_EXCL_START
     theError = "Error: Could not get attribute \"%1\".";
     theError.arg(aSelectionListId);
@@ -50,7 +61,7 @@ bool GeomValidators_MinObjectsSelected::isValid(const std::shared_ptr<ModelAPI_F
 
   int aMinObjectsNb = atoi(theArguments.back().c_str());
 
-  if(anObjectsNb < aMinObjectsNb) {
+  if (anObjectsNb < aMinObjectsNb) {
     theError = "Error: Attribute \"%1\" should contain at least %2 items.";
     theError.arg(aSelectionListId).arg(aMinObjectsNb);
     return false;
index 4218d874d7d9e887f7f0a8ade0035ff16896408c..50593b024e748c42df327b70bb662732f52ed4b1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 19aeeb3132c8afa9da1ec11a4fbb873b871fddad..857bef823241ddd49f085f1d983e7e21db293ebd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0d7992ae6a3b51bc6fa8e22738a5e4f16e4b0b72..28fbb24ab72cef9d0f10f869fe362b002ea0f461 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 473631f4851ae086eb2f715d2adf45300d5723b6..1688ccecde7933db20be9cee59d0ef1859af6014 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e902138429462865634be2c7bea944c57788a27e..a51a3f6eb6237f9ae3e9d1d8ce2821e96837314c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2301cfd6c48aca36680a3cd47db8ac0324d4f865..89cc9a2639e0d71ef040c6ee7f335fa78ae546c6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5fcc8f4dbc1c6873a35f031800455e69c5095c74..bb0fed567d55497bd02bb6e2ebc51baa9614c32e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 146837e7abcf972e5294674c95217508100937ed..d0ba173565371d8a40bf7805fab3857532c2fe5e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f581bc791368577e1ea26f61390433c77eca88d..587aed9607ff0286675c363645110ba321e90cd3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 640c187f7e6565bd3bc883d71dd1110557fcc2a4..f3e34a6d9328ff30f124396747f64d8cf76ac4f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 936f1b2565ada2ff5dfa05c3009ddce36134b5e1..ab85353b611f3eb973e86dbb9f31ca93c914339c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 28528bfd498de40418e878e2cb8d91b80f120861..808487c80d0c15e2612f8cd6298a8504021ec229 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 00c6fc8572490314f3a08da98b63094c3573b2cb..789fd4ff11ff131312c6ee18efa7dd7eaf9f6045 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 294fc500ee58fc2863fa5469afd8823c6519193f..ce91bb8e411fa4f054322ee30d1c8ac7327f2572 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index beab1eaee9c3861a53e7ea08f88aa69c02e8da00..142882bf56627889f0f474aa1a9b04054d7a3f85 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a9518f877e54d45ea856962b16f9a7b496cc9cfc..5c333121b232d7e3df8946dbfb069b90eb43f9b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -26,6 +26,7 @@ INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/src/Events
                     ${PROJECT_SOURCE_DIR}/src/GeomDataAPI
                     ${PROJECT_SOURCE_DIR}/src/Locale
                     ${PROJECT_SOURCE_DIR}/src/ParametersPlugin
+                    ${PROJECT_SOURCE_DIR}/src/BuildPlugin
                     ${SUIT_INCLUDE}
                     ${PYTHON_INCLUDE_DIR}
 )
index ea14397f8dc54f6e4d10f3a944fb3d79a4a7548b..d93ab1588fb73f61829bbe7f3de96f88c87a9dc3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e2dceb117b7870bc89080d29f5f1bec3bafe24b8..76a388ee5faa9197d57babd4e3444fa1f5146bc8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 #include <pyconfig.h>
 
 #include <InitializationPlugin_EvalListener.h>
-#include <ParametersPlugin_Parameter.h>
 #include <InitializationPlugin_PyInterp.h>
 
+#include <BuildPlugin_Interpolation.h>
+
+#include <ParametersPlugin_Parameter.h>
+
 #include <Events_InfoMessage.h>
 
 #include <Locale_Convert.h>
@@ -31,6 +34,7 @@
 #include <ModelAPI_AttributeInteger.h>
 #include <ModelAPI_AttributeRefList.h>
 #include <ModelAPI_AttributeString.h>
+#include <ModelAPI_AttributeTables.h>
 #include <ModelAPI_AttributeValidator.h>
 #include <ModelAPI_Document.h>
 #include <ModelAPI_Events.h>
 #include <string>
 #include <set>
 #include <sstream>
+#include <iostream>
+#include <algorithm>
 
-//------------------------------------------------------------------------------
+//=================================================================================================
 // Tools
 
 std::wstring toString(double theValue)
@@ -63,24 +69,26 @@ std::set<std::wstring> toSet(const std::list<std::wstring>& theContainer)
   return std::set<std::wstring>(theContainer.begin(), theContainer.end());
 }
 
-//------------------------------------------------------------------------------
-
+//=================================================================================================
 InitializationPlugin_EvalListener::InitializationPlugin_EvalListener()
 {
   Events_Loop* aLoop = Events_Loop::loop();
 
   aLoop->registerListener(this, ModelAPI_AttributeEvalMessage::eventId(), NULL, true);
   aLoop->registerListener(this, ModelAPI_ParameterEvalMessage::eventId(), NULL, true);
+  aLoop->registerListener(this, ModelAPI_BuildEvalMessage::eventId(), NULL, true);
   aLoop->registerListener(this, ModelAPI_ComputePositionsMessage::eventId(), NULL, true);
 
   myInterp = std::shared_ptr<InitializationPlugin_PyInterp>(new InitializationPlugin_PyInterp());
   myInterp->initialize();
 }
 
+//=================================================================================================
 InitializationPlugin_EvalListener::~InitializationPlugin_EvalListener()
 {
 }
 
+//=================================================================================================
 void InitializationPlugin_EvalListener::processEvent(
     const std::shared_ptr<Events_Message>& theMessage)
 {
@@ -105,9 +113,116 @@ void InitializationPlugin_EvalListener::processEvent(
     std::shared_ptr<ModelAPI_ComputePositionsMessage> aMsg =
       std::dynamic_pointer_cast<ModelAPI_ComputePositionsMessage>(theMessage);
     aMsg->setPositions(myInterp->positions(aMsg->expression(), aMsg->parameter()));
+  } else if (theMessage->eventID() == ModelAPI_BuildEvalMessage::eventId()) {
+    std::shared_ptr<ModelAPI_BuildEvalMessage> aMsg =
+      std::dynamic_pointer_cast<ModelAPI_BuildEvalMessage>(theMessage);
+    FeaturePtr aParam = aMsg->parameter();
+
+    AttributeStringPtr anVariableAttr = aParam->string(BuildPlugin_Interpolation::VARIABLE_ID());
+    std::wstring anVar = anVariableAttr->isUValue() ?
+        Locale::Convert::toWString(anVariableAttr->valueU()) :
+        Locale::Convert::toWString(anVariableAttr->value());
+    AttributeTablesPtr anValueAttr = aParam->tables(BuildPlugin_Interpolation::VALUE_ID());
+    std::string anError;
+
+    std::list<std::shared_ptr<ModelAPI_ResultParameter> > aParamsList;
+
+    AttributeStringPtr anExprAttr;
+    ModelAPI_AttributeTables::Value aVal;
+    bool anIsFirstTime = true;
+    anExprAttr = aParam->string(BuildPlugin_Interpolation::XT_ID());
+    std::wstring anExpX = anExprAttr->isUValue() ?
+    Locale::Convert::toWString(anExprAttr->valueU()) :
+    Locale::Convert::toWString(anExprAttr->value());
+    anExpX.erase(std::remove(anExpX.begin(), anExpX.end(), ' '), anExpX.end());
+    anExprAttr = aParam->string(BuildPlugin_Interpolation::YT_ID());
+    std::wstring anExpY = anExprAttr->isUValue() ?
+    Locale::Convert::toWString(anExprAttr->valueU()) :
+    Locale::Convert::toWString(anExprAttr->value());
+    anExpY.erase(std::remove(anExpY.begin(), anExpY.end(), ' '), anExpY.end());
+    anExprAttr = aParam->string(BuildPlugin_Interpolation::ZT_ID());
+    std::wstring anExpZ = anExprAttr->isUValue() ?
+    Locale::Convert::toWString(anExprAttr->valueU()) :
+    Locale::Convert::toWString(anExprAttr->value());
+    anExpZ.erase(std::remove(anExpZ.begin(),anExpZ.end(), ' '), anExpZ.end());
+
+    for (int step =0; step < anValueAttr->rows(); step++) {
+      aVal.myDouble = evaluate(anVar,
+                                anValueAttr->value(step,0).myDouble,
+                                aParam,
+                                anExpX,
+                                anError,
+                                aParamsList,
+                                anIsFirstTime);
+      if (!anError.empty()) break;
+      anValueAttr->setValue(aVal,step,1);
+      aVal.myDouble = evaluate(anVar,
+                              anValueAttr->value(step,0).myDouble,
+                              aParam,
+                              anExpY,
+                              anError,
+                              aParamsList,
+                              anIsFirstTime);
+      if (!anError.empty()) break;
+      anValueAttr->setValue(aVal,step,2);
+      aVal.myDouble = evaluate(anVar,
+                                anValueAttr->value(step,0).myDouble,
+                                aParam,
+                                anExpZ,
+                                anError,
+                                aParamsList,
+                                anIsFirstTime);
+      if (!anError.empty()) break;
+      anValueAttr->setValue(aVal,step,3);
+      if (anIsFirstTime)
+          anIsFirstTime = false;
+    }
+    aMsg->setResults(aParamsList, anError);
+  }
+}
+
+//=================================================================================================
+double InitializationPlugin_EvalListener::evaluate(std::wstring& theVariable,
+                              double theValueVariable,
+                              FeaturePtr theParameter,
+                              const std::wstring& theExpression,
+                              std::string& theError,
+                              std::list<std::shared_ptr<ModelAPI_ResultParameter> >& theParamsList,
+                              bool theIsFirstTime)
+{
+  std::list<std::wstring> aContext;
+  aContext.push_back(theVariable + L"=" + toString(theValueVariable));
+  myInterp->extendLocalContext(aContext);
+  aContext.clear();
+
+  std::list<std::wstring> anExprParams = myInterp->compile(theExpression);
+  // find expression's params in the model
+  std::list<std::wstring>::iterator it = anExprParams.begin();
+  for (; it != anExprParams.end(); it++) {
+    double aValue;
+    ResultParameterPtr aParamRes;
+    // If variable does not exist python interpreter will generate an error.
+    if (!ModelAPI_Tools::findVariable(FeaturePtr(),
+                           *it, aValue, aParamRes, theParameter->document()))
+      continue;
+
+    if (theIsFirstTime)
+    {
+      std::list<ResultParameterPtr>::iterator anIter =
+                          std::find(theParamsList.begin(),theParamsList.end(), aParamRes);
+      if (anIter == theParamsList.end())
+        theParamsList.push_back(aParamRes);
+    }
+
+    aContext.push_back(*it + L"=" + toString(aValue));
   }
+  myInterp->extendLocalContext(aContext);
+  double result = myInterp->evaluate(theExpression, theError);
+  myInterp->clearLocalContext();
+  return result;
 }
 
+//=================================================================================================
 double InitializationPlugin_EvalListener::evaluate(FeaturePtr theParameter,
   const std::wstring& theExpression, std::string& theError,
   std::list<std::shared_ptr<ModelAPI_ResultParameter> >& theParamsList,
@@ -117,7 +232,7 @@ double InitializationPlugin_EvalListener::evaluate(FeaturePtr theParameter,
   // find expression's params in the model
   std::list<std::wstring> aContext;
   std::list<std::wstring>::iterator it = anExprParams.begin();
-  for ( ; it != anExprParams.end(); it++) {
+  for (; it != anExprParams.end(); it++) {
     double aValue;
     ResultParameterPtr aParamRes;
     // If variable does not exist python interpreter will generate an error. It is OK.
@@ -137,6 +252,7 @@ double InitializationPlugin_EvalListener::evaluate(FeaturePtr theParameter,
   return result;
 }
 
+//=================================================================================================
 void InitializationPlugin_EvalListener::processEvaluationEvent(
     const std::shared_ptr<Events_Message>& theMessage)
 {
@@ -158,8 +274,7 @@ void InitializationPlugin_EvalListener::processEvaluationEvent(
       toSet(myInterp->compile(anAttribute->text())) : std::set<std::wstring>());
     anAttribute->setExpressionInvalid(!isValid);
     anAttribute->setExpressionError(anAttribute->text().empty() ? "" : anError);
-  } else
-  if (aMessage->attribute()->attributeType() == ModelAPI_AttributeDouble::typeId()) {
+  } else if (aMessage->attribute()->attributeType() == ModelAPI_AttributeDouble::typeId()) {
     AttributeDoublePtr anAttribute =
         std::dynamic_pointer_cast<ModelAPI_AttributeDouble>(aMessage->attribute());
     std::string anError;
@@ -171,8 +286,7 @@ void InitializationPlugin_EvalListener::processEvaluationEvent(
       toSet(myInterp->compile(anAttribute->text())) : std::set<std::wstring>());
     anAttribute->setExpressionInvalid(!isValid);
     anAttribute->setExpressionError(anAttribute->text().empty() ? "" : anError);
-  } else
-  if (aMessage->attribute()->attributeType() == GeomDataAPI_Point::typeId()) {
+  } else if (aMessage->attribute()->attributeType() == GeomDataAPI_Point::typeId()) {
     AttributePointPtr anAttribute =
         std::dynamic_pointer_cast<GeomDataAPI_Point>(aMessage->attribute());
     std::wstring aText[] = {
@@ -198,8 +312,7 @@ void InitializationPlugin_EvalListener::processEvaluationEvent(
     anAttribute->setCalculatedValue(aCalculatedValue[0],
                                     aCalculatedValue[1],
                                     aCalculatedValue[2]);
-  } else
-  if (aMessage->attribute()->attributeType() == GeomDataAPI_Point2D::typeId()) {
+  } else if (aMessage->attribute()->attributeType() == GeomDataAPI_Point2D::typeId()) {
     AttributePoint2DPtr anAttribute =
         std::dynamic_pointer_cast<GeomDataAPI_Point2D>(aMessage->attribute());
     std::wstring aText[] = {
@@ -225,6 +338,7 @@ void InitializationPlugin_EvalListener::processEvaluationEvent(
   }
 }
 
+//=================================================================================================
 void InitializationPlugin_EvalListener::initDataModel()
 {
   myInterp->runString("import salome_iapp;salome_iapp.register_module_in_study(\"Shaper\")");
index 756b335ec0a739ee10c9bd1d63f7255338b87b3e..5244a056b21053790e1ee4b2b02333a99a5e51e4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -50,11 +50,21 @@ class InitializationPlugin_EvalListener : public Events_Listener
 
  protected:
   /// Evaluates theExpression and returns its value.
-   double evaluate(std::shared_ptr<ModelAPI_Feature> theParameter,
+  double evaluate(std::shared_ptr<ModelAPI_Feature> theParameter,
                   const std::wstring& theExpression, std::string& theError,
                   std::list<std::shared_ptr<ModelAPI_ResultParameter> >& theParamsList,
                   const bool theIsParameter = false);
 
+  /// Evaluates theExpression with variable local and returns its value.
+  double evaluate(std::wstring& theVariable,
+                  double theValueVariable,
+                  std::shared_ptr<ModelAPI_Feature> theParameter,
+                  const std::wstring& theExpression,
+                  std::string& theError,
+                  std::list<std::shared_ptr<ModelAPI_ResultParameter> >& theParamsList,
+                  bool theIsFirstTime);
+
+
   /// Processes Evaluation event.
   void processEvaluationEvent(const std::shared_ptr<Events_Message>& theMessage);
 
index 45cca36ddc07fa1aa780c6c47bb23a8a86e73c83..e8ffbc935de2c17c18187aab08841cd2946520dc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7aa2c9885062c3b9b996817443bb1390e8c44b86..cff6307080fbbb696e50d98ea147349181a2a906 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 675e30190573bf93b15daaca93a1eee3cd50e651..5e1699933ef71259c2e4fcf64500c8a3bf339da1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 163c265b22cf41fb649774061d928402b6f59bc0..457ee6f360c6009ef3ed2af4d9aee5cae9d952c0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ec83f609b7539d2a9a69ea757e39646b5fa9a3c8..332af8b86e832e5a05352734a2395774f5672885 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -43,6 +43,23 @@ TARGET_LINK_LIBRARIES(Locale ${PROJECT_LIBRARIES})
 
 INSTALL(TARGETS Locale DESTINATION ${SHAPER_INSTALL_BIN})
 
-ADD_UNIT_TESTS(
-  TestUTF8.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/Locale")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/Locale/CTestTestfileInstall.cmake b/src/Locale/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 5808883472aa188750205206ab54bc9a776fa116..33ee498adb5e9cf6b829055e6008f6e6de5151cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9a44323a1a14e600b06e82b883297522c9005575..423c26f0ea34038f9a70f89cbb9c033c37426e03 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 36587c92cb8ba6be6622e51f1c922f1a5be2d1dc..f8ef4957e6b7ce3e93d8d0d9ba3f386de71edef0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 488bcd0017862ac89ce35f48c2383ffc7cce62d2..4a6b39a88790a2843cc766469872c86c5e9d57fb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -58,6 +58,7 @@ model.testNbSubShapes(Cut_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Cut_1, GeomAPI_Shape.FACE, [3])
 model.testNbSubShapes(Cut_1, GeomAPI_Shape.EDGE, [9])
 model.testNbSubShapes(Cut_1, GeomAPI_Shape.VERTEX, [18])
-model.testResultsVolumes(Cut_1, [64.38055098])
+model.testResultsVolumes(Cut_1, [0.0])
+model.testResultsAreas(Cut_1, [64.38055098])
 
 assert(model.checkPythonDump())
diff --git a/src/Locale/tests.set b/src/Locale/tests.set
new file mode 100644 (file)
index 0000000..9395e54
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+TestUTF8.py
+)
index 4acd61645700027f44cb7c1b36fec5257136d34b..2f349c1939b9c8b96ef5c7d63cc82bebda7a02ca 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3aabb8e004b8027046c6b0646ea84171807d1360..2783d565ea0bc01e58e74924a19bb198f98ac7b4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7ffbf61a5712f1ba4423ec53a578a9e04a834597..38d16c91dd66bb633d4931ce2280419943aeff58 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0a1f6731448059d059a2f24731e99670945f6cc6..d5b49f66d736d06b8100c51ae3f598cdd49f08ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e7091ef49224063ace130a0c4f22697435227ad6..40810d82b81ce1387484895cb8bb93bd64a36a01 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8c80ef984c9c6ffcdde69747d87f92fcdd071c30..71b0f91104830c7995951f2ca57074ded1f71c71 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 760be075208aff3857e518bf273b94a0c4088b42..97e7a056230f3e29a9c2fbfd9eac633ae7c12c85 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cc61611280477ebda7a9c238b4d5d947a4bd0643..2dee9f1608ccc28bffa698069c48dd9dc4fd96e4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f3b200492c7f375bce8543b4d2d5148274b38149..d97f56aeb373a8a286424b2e00122748471d5ddd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8c6662badcfe236a8cdd034306f013dc919bd68..75e096f51c1ba9fb81d213301e4885331f327776 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bb1a16cca75463608b6df8c3cc747e2f650d36b8..ea538e4a42af3abee9b6fef8e9d6d348641ecf28 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 227e15ad5c6e7e5fb529e58d401868150ab1ff70..aab906c2cbe09f75d64907d7d4f86f21d0d4483e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d6602bba7ade5d9c5900eaa945753209c49a21c3..69c000f9c6b74444bfa3524fa633284a29d53a73 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 47dbd0878209073f0403fa5e407bebac1377dc0c..3e01a6f9a586b502efd0534b249e73a4b5758cf8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d4948e1399d199428510ac5852954913cef58a4b..5cea9c0af66685a0d94d30134b57ee609923c3d6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 88b3bf2f4eab315a4d7bcb7fba70dbed0f1c8387..31bbffc28ed85a40607eee766f9ab4bbbd803a25 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aeef3085173c60c99503b5766291c677ee2987a4..61eae6d80900d4a80edf64acc40f3412599a74bd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 81fbaac5255b9e83c34b7c64bb2edff4ae2a00a0..2b530124e703c0b163f24565d99c1991c937597b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 24e3462e811d2df31f2853bf3d56361cea4fc06b..20a0b7be166d7cfee373ab0e5e7079d428340dfa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 86e3b5fe1e14d60ba426e76e3ea544bd83fd4385..39ef3388a49841a8b7556657a9acb4185df68242 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 44f7e44ab01fa922d1923a40384c438f3a742e65..8554fe3ac2be9d0cf9262ee6587e25fffb8b4d22 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3879f31a78dde28a3a9b42237ef5cef2d3bd271f..340895fac6835c3f01efcf2015025126fa0e1f25 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e164ffdb034dd7ea060ccdb51aeb1767c6233938..176b889f043ee3e5603fac53d4e8817f55a9b504 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1e69a3d650f7d27808f66a03ba85c3d7ddcc07c2..a74b52f010ccab3da7a283b18a6f3215ae8be174 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bb1767a06a9bc5a0cd663a15d4b51b0354f45bfa..21cb7ee6eea0c727911709f3198dfa62a1dbabd0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 74ae84cb863301a782b74afe8d01715fd446a77b..905c4d163671849a873695fcce62cdf42dbe835f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5a692ae9b7c63474c52c53fbbbdb2d7e66858176..0ed47aca4a6952184f3d71473ea39c9e1e4c7a6f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 024ad480083ce2480bf2a143bc8cbbcfd5f01ecc..a8b7df78499d611ca35606decc35889339403660 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 273ce4515ff346e4f06fd1c15f52926517e032ab..c1af6e36d47bbc80923bc2b0faace4440ed64344 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index acb39b8a957af902862ffd52b1a1bf28c7d78586..c31328a3aa10406a82b8527aea56585e49ccc518 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4e5f81f9c1cb3a5905d0ca2d568b7a5210ab4f26..9be877ffc9933cf38de735e554d012ea0e55ba10 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3925ea9e05fec2ccfa7a2ed6711db143b2044b48..32da240424e031a52333b809138a3b4154aa92ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5bd66451571119d87a2f32e2e44eb7a953d6e560..e999948f9c7c67335b3b94ed19917590d1b39ae0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ca87ec415af65d8914c21d0ad8587520f1659957..0d2e05febe6da6f61f72730a55899d28389facb7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d29834c93991906f7be59c5141d908c846f28079..ff4272667f2e7ae29ae80f9b27e60bd92c08580d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fe2a22541128d75b827392d428fb7f3048451010..3362aab4cc174e1607e74598544b5738d8114443 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 17e0ceddf0e8872d8f08ffd3e1c1f59ae25da272..7e5b79a9d93845e81919a2d75bfebe065a0cdb92 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -132,7 +132,7 @@ static bool isShapeInTree(const TDF_Label& theAccess1, const TDF_Label& theAcces
   if (aResult) { //check evolution and a label of this shape
     for(TNaming_SameShapeIterator aShapes(theShape, theAccess1); aShapes.More(); aShapes.Next())
     {
-      static Handle(TNaming_NamedShape) aNS;
+      Handle(TNaming_NamedShape) aNS;
       if (aShapes.Label().FindAttribute(TNaming_NamedShape::GetID(), aNS)) {
         if (aNS->Evolution() != TNaming_SELECTED) {
           theOriginalLabel = aNS->Label();
index b77906435f542042ecd4354c10d471be694e7f40..32983cd66e04d347e99b20d2b0adaa18159d0a07 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fcccca5369263060fe270b22aa72c197716b4933..817a9e40748f4980aef590fc39720b5c909720b4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9c544c35ee09f71bc070566e86538d38b95abe9c..df833acc0398bf38b4d7b034c999f37988d02859 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5b68969e887510ec3353e12cbb8d1322aa3d72bc..94903c205b044a660676fc5b2cc9ae43219adca8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -132,6 +132,15 @@ Model_Document::Model_Document(const int theID, const std::string theKind)
   myDoc->CommitCommand();
 }
 
+Model_Document::~Model_Document()
+{
+  if (!myDoc.IsNull())
+  {
+    myDoc->ClearUndos();
+    myDoc->ClearRedos();
+  }
+}
+
 void Model_Document::setThis(DocumentPtr theDoc)
 {
   myObjs->setOwner(theDoc);
@@ -331,6 +340,8 @@ bool Model_Document::load(const char* theDirName, const char* theFileName, Docum
     aSession->setCheckTransactions(false);
     if (myObjs)
       delete myObjs;
+    anOldDoc->ClearRedos();
+    anOldDoc->ClearUndos();
     anOldDoc.Nullify();
     myObjs = new Model_Objects(myDoc->Main()); // synchronization is inside
     myObjs->setOwner(theThis);
index 217e77eeb10df953c55b501aa07e8a4fc82314fe..122d4439eaff18b189a42c183e00b12b17f376ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -325,6 +325,9 @@ class Model_Document : public ModelAPI_Document
   MODEL_EXPORT virtual std::shared_ptr<ModelAPI_Feature> nextFeature(
     std::shared_ptr<ModelAPI_Feature> theCurrent, const bool theReverse = false) const;
 
+  //! Erases the document structure.
+  ~Model_Document();
+
  protected:
   //! Returns (creates if needed) the general label
   TDF_Label generalLabel() const;
index 35a4f1ccba9f5951320f0a0b981dbcb252b93884..6ca4d6211e226265d5030896505552bd4f5bdd9f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ac36a99611800b1ed24947455aa0912353c44d1e..dd15d75d24c42e9b287a44fb723930f1f8d68c48 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 934e910dd170968ac8c176123fe7a95dfe117c1b..3e742e97d7ad19c1cd01c8df8c9b89e1b28a903f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6ad194ee4878f67cbd52ea4cb09bffa3fb28eac5..9a440a1b1d3f44661c92901d8dd1775cd18b5572 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1241f3ce6508fd9cc9e8dd57d0b859174f23291a..7e83c5cf1ade19145a9231554e8b8e4afa9fe14c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index db4527642610b51ca0fad99e4c8f7ad68e50bdf9..ad6fb06b50601dcb2bd4071cd41bbeec88a870f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 99116bd8dc7f27f53ec973a278a088e4dd9888e0..df0f4e061a78d7c8a2f1a46b956b06db66b6d09b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fdc257e3fd1465bd8f55d49d93680c1786b0a38a..d272d0a4745cda8ec4f4a51aee3de91900622a57 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c7ea99cb0ac95592af8f3b8863d9eb2db9417395..ebb3d6be922a088ca19edd6d98ab5f1186577d0d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3ae6c713a352aa6915b02e7aec17d01e860e5e9e..a598b303347daf3e945572fc6f4554cde083de97 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -27,7 +27,6 @@
 #include <ModelAPI_Result.h>
 #include <ModelAPI_ResultParameter.h>
 
-#include <TDocStd_Document.hxx>
 #include <NCollection_DataMap.hxx>
 #include <TDF_Label.hxx>
 #include <TDF_LabelList.hxx>
index df4a8d4cec647453c266121c4ee274987a07bef0..65b6875199c997886a06a605ee861c22e17bae7b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 93b6a0ad63a5c23ca2a124a9ac8658d33959df7f..721312c3aa9e8b4d7e6fe2e7a1c5a2139fa8972a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d782dbab34f37f82b59092514f867fe8dbfd846b..5f5d588ee22180e90dded0a2437a8f4ba2d7c872 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be4fb14c0e1665378703625c93d91b34f4622c4e..04171e553fb7c747f9faf56dba0b6cd1cc587102 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8ec0fc33becd0cc51b58aec6188d4f4aaf2089b7..837f920003a7f0f635dbf15a7da8d15f8de66a4a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3af7e78ecdea5600a82a3d6e808a8e1dec7828cf..fc51544e6137a0c6c354f78791570b4343af6a2d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 25b96ede1c0e11d1c1243b6bdd87e168712dba9d..72a17a356afc159ad1a8842291ff45f8a0e9ab27 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c4fcb4b7dad779402312f79728eb748afa9ad151..b5a2bc0d7501d596ab72c0600b41e84d2336f4ab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e777642763e6061ac4e35dcf3a74b51455d4ffbe..1fbef28e94d472033303631350068a39f1534eef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b6b304a4ca30e6eab84ee8b15256cba01cd96298..75febc19a7623c15df79f46a57ff63d563c6238f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb3eb3bed05b69273ecb6673fa0f0f6bdf2578dd..61e6ed2ea69580c780a68a443f52db98a2345160 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4cfc139c5ab375aa0cad7cb377d477de8ee17a10..108d13831067c394fdde73ce05fd30a26d80524f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index de638bab6a9d6cac721c9273efa43682b00ee0a5..eb4ab5ff98229ea4a7fc46074a9352c61c304bc8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 247e2a92997ef0c6ad9bab4c501f8209cf0bc693..af47051239a97eb6bb5ffe347717bdf849e7b2af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e487b79baeae24213a8042a98b5d1ccde1414863..81ccf9c2f681026eea4d5a9d540d4639dd56ee79 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7d5b837dca9d47715ccf89fa5ecedaa7261d64d9..77c6a8fb886140282e3fd0596926cc07b7d0c14d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 79751881ec6661568eb0fb4fb83bf94b6a12e0ad..934df7d85c03a8a4a0d80426fc22e6f9dcd0f0b2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1e3cd92a258c416317be3e1be883ce5d0a72eeb6..1e8913abb67675df3fbafa42f1e0c07c433f220d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 73c02b7df3e8afb77f2913abf84044e481d65460..8ac870edd88424c88ac037d260761053ed4362c5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7840ac3739de91723d9056040472722bed0de196..5544be8d9d585f5374dd0479ef5761bbacdac2a4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 68b34a17718cdbc45fd0fb9155d4f5e2ed63b625..c6a298461b7dcd1b40c05f563a50ef25f1c8ec99 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -165,107 +165,23 @@ INSTALL(TARGETS _ModelAPI DESTINATION ${SHAPER_INSTALL_SWIG})
 INSTALL(TARGETS ModelAPI DESTINATION ${SHAPER_INSTALL_BIN})
 INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG})
 
-ADD_UNIT_TESTS(TestConstants.py
-               TestUndoRedo.py
-               TestDocument.py
-               Test1064.py
-               TestResults.py
-               TestIntArray.py
-               Test1512.py
-               Test1562.py
-               TestDoubleArray.py
-               Test1757.py
-               Test1998.py
-               Test1995.py
-               Test2170.py
-               TestExternalConstruction.py
-               Test2228.py
-               Test2241.py
-               Test2252.py
-               Test2276.py
-               Test2389.py
-               Test2391.py
-               TestCustomName_BooleanCut.py
-               TestCustomName_CommonCompSolid.py
-               TestCustomName_CutCompSolid.py
-               TestCustomName_CutGroup.py
-               TestCustomName_DefaultName.py
-               TestCustomName_ExtrudeFace.py
-               TestCustomName_ExtrusionCut.py
-               TestCustomName_ExtrusionCutFace.py
-               TestCustomName_MultiTranslation.py
-               TestCustomName_Partition.py
-               TestCustomName_Placement.py
-               TestCustomName_Recover.py
-               TestCustomName_Rename.py
-               TestCustomName_RotateGroup.py
-               TestCustomName_Translation.py
-               TestFolder_Create.py
-               TestFolder_Update.py
-               TestFolder_Remove.py
-               TestFolder_Stability.py
-               TestFolder_CustomName.py
-               TestFolder_Empty.py
-               TestFolder_Sketch.py
-               Test2358_1.py
-               Test2358_2.py
-               Test2396.py
-               Test2401.py
-               Test2413.py
-               Test2496.py
-               Test2510.py
-               TestFeatureSelection_1.py
-               TestFeatureSelection_2.py
-               Test2607.py
-               TestBlockRecalculation.py
-               TestSelectionScope.py
-               TestSelectorShell.py
-               TestWeakNaming2125.py
-               TestWeakNaming2222.py
-               TestWeakNaming2245.py
-               TestWeakNaming2247.py
-               TestWeakNaming2248.py
-               TestWeakNaming2261.py
-               TestWeakNaming2291.py
-               TestWeakNaming2335.py
-               TestWeakNaming2375.py
-               TestWeakNaming2437.py
-               TestWeakNaming2445.py
-               TestWeakNaming2446.py
-               TestWeakNaming2452.py
-               TestWeakNamingSortOrder.py
-               Test2685.py
-               TestGeomNamingPlacement.py
-               TestGeomNamingRevolution.py
-               TestGeomNamingEdgeByFilter.py
-               TestGeomNamingSketchPlane.py
-               TestGeomNamingBoxWithFillet.py
-               TestContainerSelector.py
-               TestSaveOpen1.py
-               TestSaveOpen2.py
-               TestSelectionInitialization.py
-               TestSelectionCircleCenter.py
-               TestSelectionInPart.py
-               Test2828.py
-               TestSelectionRestore.py
-               Test2491.py
-               Test2493.py
-               Test2627.py
-               Test2859.py
-               Test2873.py
-               Test2901.py
-               Test2903.py
-               Test3020.py
-               Test3116.py
-               Test19019_1.py
-               Test19019_2.py
-               Test19031.py
-               Test19058.py
-               Test19217.py
-               Test19707.py
-               Test19726.py
-               Test19912.py
-               Test19932.py
-               Test19989.py
-               Test20170.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ModelAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ModelAPI/CTestTestfileInstall.cmake b/src/ModelAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 3205c3c983ce564f7dee9bc19152ad684d9f57f9..405e489f9e512b74ad3a07d85d0f3015ec8a985b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 56f39279e38d1edc4fb57ab7597529921bb4c4eb..e681a96b7051e738c09e358a6c61e4c6222a0235 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9d00e73e1e46ae163f218f9522aebe9d7ae82835..0068a7f5daa605f34ba7b3376131571ae25511ab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6a0ed5bc23001a52ef17ff2b6e4d302b228bad7e..2cd438d7f5b10785ede1b6bdf18c0f42da6bbb67 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 42810de958f24f81507d0288fcc043c6521957a6..b7f238dafe61c12ff6cae6de3b4d6917cf509b65 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 828a7e5cf3c086d72275e607544a1062791e6dad..5c96ecdc6ab8859015f9694e43b28f5c438d52ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7417a34752fb7c84da43684d955751f829663753..59917bce2bb4b81bb03e5639b50ec361c3635a7c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ae25e94104d97af45560b68e0ccbebaee9a99dda..c8b181ca635b7f89368a0af4fbbf18d067d2355f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 39ac8b738f8f643b6dfa91329a42a0d84a48cff4..53ef9b51e0af2d028aad80cf73bd360f6774d4d5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 22cd3338c65bf9130a59470120877af02c8f1ebf..5db62126d67ef2ee250dfdc024c07e15ed732040 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8350e17e687d6d82b3ca90ad12c3c85765ca553..e9ba9f1797bba56d8068b9da28b37bbf450e3f2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dccc1fe4d7c281da307fccd8aa3c40632453755a..d1eba1d8aaec950554130bad80d9ea86fc576ddc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fe0ddc33a062b459c7fbba204efb972b5bfb17d1..5661ac1f69903a7340d8b0aa9c03d5fab73928fe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7130adae1b49da97f00c9407d9ee6da917eafd76..90a048646d1732fa8d89ad52b024ade2fb0e3e10 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a28d381d7b36ea61351536cc463ed17a1b4e548c..71a6f3b3af939814fb01c403ded5885c7f1d0f03 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2b8383f4dcd279c29a8abe3f18fb265408191402..516c86604a28433e96baae34a733798330e17147 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 26b16ebc9a59a7b31e5ca6dbf104709e319957f7..48ac38967b0a4a7ce96abba197cab7522145660c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 79def81a046861773b124f2a017cf5609d375bb4..5b1b53271b96176aa63115c9c03362bd0140a870 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8c5505b0b42d3bb7726684550d1080c4f71c0238..447561ad053e95e713f1c92afdb9e6c9d6ff67ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b96bd40d3ca0fefe29f1b1c069167c6ffbba7254..86ca3ca74cf60a0db4482749551b505682735067 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8a03ab043d06c655f3856be5948da8acd63225e8..4d931bc5c8908c71ea81b9bebc1486852f7123ce 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a74ca594270c383375a2aa8ed485618270463fea..5ece6fc8ee541c45b7e4eeb92642aed01fc2bd2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9011212687c6998fdd5f586fa00c103fc6fae4fc..8d5848aa9fba918c9305444e44fe90de5e2999f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b32d6848f52cfdd1cd5213f829d443f3f641a8b0..3b89485e9dbbe6695e0b1ab3572e869b0f19f87b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f2472a3f44b40ae467e9a73333a8c044d5439d73..da36df0ff2aaa982115bd56e09a23c65b4492f32 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8946ae1378b45879d623699c639cda0c5355748f..e147e2685d958aee489e6547bd66d5a7745ff33e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3fd22562f48cc2f9b2a3afe114ceb0aea75ca64b..79bc60e3db7dff1f503a3609a5413f326853593c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0dc72d00885843a394773cd7f0221245088f9e55..5b6e129c0ebb8ab8a3d8f9a7bd71c1de2910258e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 573dec6edf30693cbce781528328ee6267bbf1b4..2f71d27415dff9651f8f5502ba94c3ac513d0cbf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 663ee5e874dc23916a6e5d0c3516667e721b39c9..aeb87a98deeb614ee950d1e14d697680624ff441 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c8a2a4afef7d8148820fd3343bece935174fbceb..4358d1d6d9e07f97108f146234607175dbc03830 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8e9935dd1f820a6e0acd0884864b7878daedf90f..fd14efe94870d7d6c6458a71fe1480aab09cfa87 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 16c5d15226d4ad3391c9d2219a755bce855ecc49..947f685ab69f9df0c09ddf8db3aec812c7ff6702 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 574e181ffbf0b7d5883a357a3165306bffd7cec3..703b8c8a6044af4a1789b4d8c82e02a277ba78b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fa50cafac7cb4f68441304ffdddc272e26231abb..249ee250841fb18812b7e0fd0591fc0372928650 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0c5243f9b02a1b97942671e08818854b03c6cbeb..fb98d3826ed92fb1a1f1ca282d92d148c401a2ac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 22223c035be72eb11cfdac0eb2b5530855717bc0..c21e2f71b5ad2196d0e5ef157defac1a4dd6cfef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f8925a47d3857e3c6e87874474da1b0f21cc28e2..d046c9d54516700ac14bebe69a12c70c83693014 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e3a3b312a47e40599b28f8b1b6ca478acf8038d8..dbcb0f30b709ecbd263e34c39bbf3646faa62d7c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bda8e854c08e7ec098ce312a09d3cc4bc5b28229..cb4de2acf94e8e4fd9e3533308f8b7726c76a87b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6a75217fbad07570f0fbf30684ea721ad08f3cdd..6be736d2188c39f7c7b1560d373a68654cc519f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ecc27d8658ce567b734295ffffd3c06a1dd0e700..a8f22355ed18314af7bfb3191c2cc0e4b65fbe0b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f4f79e226b146fa650e617ea12fadfed8b41904c..4c0586dbaf31272abca182a7056e9dcb2650ac93 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a156377715ac3c755fa1b9e3bf8e14339e3a77a9..7aa75c92dab117055c4fd4b126a01326c87a7d44 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f3df2d0c69a62f979cd3a73f8e8d5348580f97a7..cb7c919b635fd89d7066132a94636c9933c6d5e2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 32bc0ff7a23e0ab4e6ea29fcd926686ed65b5a61..cf7f1501d353727b1b4a085bc90827050e688a61 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eaade83b9feaa7bdef69ccbac5f45fc2946fc8b3..09a1bf7fe25acbbbfa6589558ca8439b2e7d1d76 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cebf9ca791fcf5133e83da9a5f31436ab5c704e3..6b0ea3ef5e639662996e847d78467e593973f101 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -188,6 +188,49 @@ const std::string& ModelAPI_ParameterEvalMessage::error() const
   return myError;
 }
 
+ModelAPI_BuildEvalMessage::ModelAPI_BuildEvalMessage(
+  const Events_ID theID, const void* theSender)
+  : Events_Message(theID, theSender), myIsProcessed(false)
+{}
+
+ModelAPI_BuildEvalMessage::~ModelAPI_BuildEvalMessage()
+{}
+
+FeaturePtr ModelAPI_BuildEvalMessage::parameter() const
+{
+  return myParam;
+}
+
+void ModelAPI_BuildEvalMessage::setParameter(FeaturePtr theParam)
+{
+  myParam = theParam;
+}
+
+void ModelAPI_BuildEvalMessage::setResults(
+            const std::list<std::shared_ptr<ModelAPI_ResultParameter> >& theParamsList,
+            const std::string& theError)
+{
+  myParamsList = theParamsList;
+  myError = theError;
+  myIsProcessed = true;
+}
+
+const std::list<std::shared_ptr<ModelAPI_ResultParameter> >&
+  ModelAPI_BuildEvalMessage::params() const
+{
+  return myParamsList;
+}
+
+bool ModelAPI_BuildEvalMessage::isProcessed()
+{
+  return myIsProcessed;
+}
+
+const std::string& ModelAPI_BuildEvalMessage::error() const
+{
+  return myError;
+}
+
 ModelAPI_ComputePositionsMessage::ModelAPI_ComputePositionsMessage(
   const Events_ID theID, const void* theSender)
   : Events_Message(theID, theSender)
index fccf6e24002965de8378e7c4553460eb6808d3b3..a5dc0dde9cad1da4da11ea5ac6b6747c022e0025 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -352,6 +352,57 @@ class ModelAPI_ParameterEvalMessage : public Events_Message
   MODELAPI_EXPORT const std::string& error() const;
 };
 
+class ModelAPI_BuildEvalMessage : public Events_Message
+{
+  FeaturePtr myParam; ///< parameters that should be evaluated
+  bool myIsProcessed; ///< true if results were set
+  std::string myError; ///< error of processing, empty if there is no error
+  /// result of processing, list of parameters in expression found
+  std::list<std::shared_ptr<ModelAPI_ResultParameter> > myParamsList;
+
+ public:
+  /// Static. Returns EventID of the message.
+  MODELAPI_EXPORT static Events_ID& eventId()
+  {
+    static const char * MY_BUILD_EVALUATION_EVENT_ID("BuildEvaluationRequest");
+    static Events_ID anId = Events_Loop::eventByName(MY_BUILD_EVALUATION_EVENT_ID);
+    return anId;
+  }
+
+  /// Useful method that creates and sends the event.
+  /// Returns the message, processed, with the resulting fields filled.
+  MODELAPI_EXPORT static std::shared_ptr<ModelAPI_BuildEvalMessage>
+    send(FeaturePtr theParameter, const void* theSender)
+  {
+    std::shared_ptr<ModelAPI_BuildEvalMessage> aMessage =
+          std::shared_ptr<ModelAPI_BuildEvalMessage>(
+                new ModelAPI_BuildEvalMessage(eventId(), theSender));
+    aMessage->setParameter(theParameter);
+    Events_Loop::loop()->send(aMessage);
+    return aMessage;
+  }
+
+  /// Creates an empty message
+  MODELAPI_EXPORT ModelAPI_BuildEvalMessage(const Events_ID theID, const void* theSender = 0);
+  /// The virtual destructor
+  MODELAPI_EXPORT virtual ~ModelAPI_BuildEvalMessage();
+
+  /// Returns a parameter stored in the message
+  MODELAPI_EXPORT FeaturePtr parameter() const;
+  /// Sets a parameter to the message
+  MODELAPI_EXPORT void setParameter(FeaturePtr theParam);
+  /// Sets the results of processing
+  MODELAPI_EXPORT void setResults(
+                       const std::list<std::shared_ptr<ModelAPI_ResultParameter> >& theParamsList,
+                       const std::string& theError);
+  /// Returns the results of processing: list of parameters found in the expression
+  MODELAPI_EXPORT const std::list<std::shared_ptr<ModelAPI_ResultParameter> >& params() const;
+  /// Returns true if the expression is processed
+  MODELAPI_EXPORT bool isProcessed();
+
+  /// Returns the interpreter error (empty if no error)
+  MODELAPI_EXPORT const std::string& error() const;
+};
 
 /// Message to ask compute the positions of parameters in the expression
 class ModelAPI_ComputePositionsMessage : public Events_Message
index bde3bffc1a184f03f1f12509ea19f9e1510f0401..46116cf22f01c8fbf04e5fb5e38c50ce00e6a960 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b32addf66e0c253f0c582649f5cb6386f521c49f..34ca39bdded1e05b2e8cce86da74d38943b7d89f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 07f9ce6a0b0168caaa829574b094341eb81069b4..14397b0fea7efed0e0c42ee1af67e89196f375c8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a700139ec7ce53c41961fce4f5020b03222ed4d1..235275f30def55d0e1555a8decaca2640006f56b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 59c9ff614c77e9588d21d151db730e43cf1f8d0a..5ad2f02de3c0b69bd290a7a5f0a4bc609acddec6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 494295dc7f39e9f5ba2307e0abc7392790de7445..a189a44bb27d416bdf7fc00513f6cc6d3ce3964e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4638d686a7abfe5d90fd0c33375e1c0c3bb8caf7..abf073c39992d56bdf92971e1c471c46694bdc75 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ab082f21e6231f1f6d7d92f5675256c16512a7e6..ed7ba2894c849aba4245545ca980e0cf053f01d0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 95290083f871acdc6c7db2309fd008d25859bbb7..46263e3da86e8736a04da5fb971fcd89352eee44 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d8735a5c69536885ccb4c4ed2007c30251580b63..70b93bb091195e6b37059936df94deb6cb069f3b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 679f7722ce5573c79cf698d8f58ea68d927bc2ad..ce24ad11c7a6a685bb86661636b433ad6bc62837 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 762e9617a77d149db4977b7c43ecbbbb4fc5b9ba..89cb0036cdeb5945ae42a9c9bf74db330982975b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index da93623908719d30fc0d1175e4eeee7f975753ef..4adc4a8ffb6a22c123295b59212e9a03ce4e2a04 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a170fb5cbb5e1a9a85af28877466425f0670b4ba..96d701cdb19cff657dfb10c27dfee904bfe68b40 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bce3d019933c03f6d6ce8929ccc5bcb7f0026ae2..5d423183ca6cce6caff7512dc677dd7a27f2c1c1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 013658ae4aa420897c0520faeb8135fb7cf45c47..c1b18872931590a86415dcaeee6b494495f1f4f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 92022cb2f1722eceb6c4f177392e7571e02a40a4..5710af6f9839546320416ab988dd4c14f19be69b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 486f0b38eec579f11d8c2756d072246120cfb79f..c360abf22a4d339d1ff66771a65cf09b83b6e925 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e3a984040a110c15f933fa4bb19d1efbb0ac86ee..a2a68701e4a638b7dd862f3ee4a9222d5042c1ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4f5a75a5308afefe2531689718829358173ed545..ad8862e30eb2675d7d7d7141acf3a4bd88e64bad 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a13161fe67dd47d80bfe768798eb7b37c86ad852..05e48d1deb66feed0542ffc4effa3b13c2b84b55 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3767c4b3fe3a36172b0e078f2d6db04416d3a8e1..0187d253403c5d2a3ed84ffcaa1c994bb9a30aee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f51233b6f33ebe42beee1da2e9b75bf39535cade..5c19f711ccd2c2f7ec8c8e7f163cec4aa87b8ab9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7ae3f66a903f6bbd37a1e6e7fcf408b9dd199713..a7ba33f9e9b58199f7525048b7cc91a00333b866 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 98b22921cd34613e094b52916ff09ac3fbdcd4e6..e6f78595d497039d9eeeba7b16b3fcea4e5beb60 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 52fbc664d9e628ec9c0ab7ef7948d3a585a9bbcb..3483e95dfc99ff285408a1326921c213b09946fa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 60a5d4e897128477a7c6a9431ec59ca172ee08be..2a79464fa9e5da43ba84de2687344487ac7b3216 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 89faabcdabd1bb5667a38e72abad0b746ba6c6c3..9ccc4c0fd831e6a9714b118bae3cb245bf8cbf63 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cdbe7cd7ea50e3aa935f75c00a7b7dfa19dcaaa5..8367bde7d92d3929e9190cf7c9c9647ac8aecd85 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4abde5c4e2961851554abdebb05c1114e7874d9e..904df849f739d8cd9184a72cf00415fa34d0c326 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c7cddc58c46a98444affc51b5ab5087e61a81040..db20a6f3762bfc9c2f1483215a2c7e4a67305e07 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index abd73da7218fcb5966f11e984830771dc1ed62b7..36606ae9d3ed946e56c0f99b59d497c9e86e7bc7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ff06ed31e8ce2f3001dcb30e3860868d38ca56a3..4221843b438ea876236db691f12374c4ac8ed54d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9771637ae4e895906f081c28227e12f146efae8..75e2068b877bbd1810e0bd32eb0d210069b3f893 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d3c4919ffd410d6716a7c4ea8d83d4890ec4b815..e5db16f7588b7e511549161dd7ac2a33ae5f8dad 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c5985e310984f62d253f2ccac65e939a81a72bc0..9b9a83531fc38acfda061e5208d52001049dfe19 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ab4633d98426bd51ea20bf6359a326a52ba27fb7..e740cd1c95c59801de766a54963eb8fc1f01fcf5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b7f378b9899a6d9ae84a1194953b5b9c91ae8c8b..6246e69724f451700f8783243d5d953bf62b9dc1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f6b66e689d119a970c56a037d94a25ee957f72a9..e4bdbe70c19b208567ed76e98c216eabd67bd9b6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 900621b887208575467e77a46fe98789469238a5..de049e25cf1439b20c63d189d1d445a73daf0b7e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 757f636455b5aaa24babeea97f11b1ea910c5cac..8508025d680b4cf494d0b5e88a90356a3ae8c1b4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0c62d9f0dee17e3e7752409a96c0b47ead674a02..1e45699d3147b86f7513e19d9e0dbe0498c6ab85 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 399f8ba095e4803f73c33d8d623b5a311bf2731e..ffa26796d3bd8b5915aceef743a8577b14ee0bd3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a04a4cb263b103d898f07d8455c49dfebf934639..25c669e6cbdd3308a154ae096dd0a173bea3c570 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -48,6 +48,6 @@ model.testNbSubShapes(Part_1, GeomAPI_Shape.SOLID, [0])
 model.testNbSubShapes(Part_1, GeomAPI_Shape.FACE, [1])
 model.testNbSubShapes(Part_1, GeomAPI_Shape.EDGE, [3])
 model.testNbSubShapes(Part_1, GeomAPI_Shape.VERTEX, [6])
-model.testResultsVolumes(Part_1, [3416.5596])
+model.testResultsAreas(Part_1, [3416.5596])
 
 assert(model.checkPythonDump())
index f6bc05330f0a0ef8bd8d1043dfea744893ed8120..ebe5407d53ea4a35d8c01ba6d103f763b5c781e8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 66751c1d5c4313cbdd55f3580074f534a7ecc45a..c514d7610f3bb4baa971b02e4d2fe5f59f884222 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2a9e22f9c3287926ca8671ea70b27d90614082fc..cd2677b50f5201e1252b6192a4cfe30387f868ee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b85b013a4602613f08f6bada23fcb9ffeedc6483..4c7e4098ed0e80ba5b008fbc4add5ea8c723b67d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1c3b3a5c522436b40abedbf020dc793c4dcd1c4b..0050e5ebfef833f084be298c01c180a0e05a795d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f6e82b2ed965e89f6e01f0b62a987d79c29821df..40f459aefd0bf19ed67d049a9a16b8120fdcb01d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d7824408f1b7ea25024544daa12098542d6d669d..227cc3ebd98980bae658a6b4113b7144ae18ca67 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 219a56205f3bd1db1759fbd2acca1b585a5f8174..11c1de6c64f67dd21830359872fb109f1b240e7b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6a45973c67f247ac60fbb3fe02004f0b99dab665..590e42faca2501b922dd325a6a7c2e5eb5998565 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e9766b184a7d0490b8856cf65a5e8812d8dda4d2..11a5d297b85f8f21406245c4cc12ca74fd8f60b5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c38a59db6eef103350b092727bb00f693e9ce1af..39f17d425cea558ce8574050af453c7c0d76ed56 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d3ed72eda31b248283c9808f6824fb3be566278f..696df1caf286fbc7a5e9c9fa8db078be123f286e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 495cb2352398dfb4912df22785714001a6ae9b91..050fb5e7e486ffac131bf8196b444e14c8ef887d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 32da5ee22509004ff17881811d3dbbce80be5e85..bc7d4486f80da1d2d8b7775af42b78a717625e10 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 59d865068fef81a939ae891ad7f101979008d507..3db77e8ba38193b2315867eace893d76f56e3c55 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ae4f158ca274072846408f2d7e634d1b25db65f1..8f459515a26cdfe809f2c1b8dc4ba8c36b7de695 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9ac52c99c4242a376cd150f6f37fdeacd1d60954..85fc47640c7f06f04bb5336170b44aca92d12ac3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d56b03f17681995387dd856595f7a43c25fc5695..7a02e5970b54797a5fe7544abe958570f3a38050 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index db67f8640be555b65389438cf29ecb51fc5fb815..f63559ada791b6f19817b35785e3e954013a63e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a7d96d43099888b2e288f24df5796086f5b6e64b..8314ee3c94c32718aea2417af50e3f8cec17d154 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 08f415613bead0598d66bc8c41ebcd4eb478b03d..27ff3a69f216c44b6624f1240f38bbfd12840738 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7dfb6fcaff39b8714fadce6be2badf413b8ce977..467791ca25ad1199b80ff81b54be187d66f5f0e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4880c5d162a2cf5a7eef46a604dbaee277d16777..e186085c6ad8d970456c3c1788cd914bf85d0dcd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 369b3d6b9711d1a60b3f48c61ee6cfa83c797bd9..727d50bce0a4a3fc345ce3e4d447e830a9cd69b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 57538539ddf9727cd278c864f661fed8e88fd667..09b158d31fe4be2335da64efb6e41f82eac500cb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bf3e73b099eb8b8f936aec28b7a28ece6e7173f9..9358e1af50ee9ec1d9a8980a4bf8d45849eb55a1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8235ee9e075b3040a8b6df78e9d4c59b18810950..125c41fbc845ebe67476315edec31e660ee73c31 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a99cc1003ba772c1cd3ecbed80412e13a03410a9..a360128847c236aab6b3079a3469b14703f3626d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8759f26444aa6ae28155b2f987ef22b0c71c7e3e..be5683c474f7c7ccccf658ea715f4467e10b09a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ed66899d593e6484a0065ddc24174580e29eb022..db4d22c7a3a7148dffbc99713766434f4da0a6bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8624ecd45309a4f1f52b6e60c790bc8fa4531c3b..a693589f8ac048ac3129bcdd75200b9aa2bd9185 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4c564042e27322f882777da0446a3aeac00314bc..56c8207101af1efa34df926451c3f89dd9682d03 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 92c46851b23826f744d60833b9e5e228f0c3cf52..e8def7acfe335d555cb6f813fbc14f85ddb84805 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7d334a2d676c1e62403d4866d56bdd932320707a..2f705561e9fa6b30beb5153de84804dadb2f53c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cc14b3c2eef56d9b98be9d3c4460ae88f12b8650..0eb2f0b2b3f8e5eaf8f0a42ded00dc370cbb556f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5c820d0b5f3d7d3c0fa3cd3c5caf93b98dc48407..752be3b7874e22bfe127a8b9fbdc010b9d88dc7a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4cc39dc3de328175f9686beaff908a1d7831a452..06ad1589475696bf5c0d1b71ecafac1455789252 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f25264aa5ad00a10af81d2dba5de08439e497612..9e6708cc9de932c052ee15bcfd952eb6d79d4d57 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a01f013281d422d0925ab9ef9d18d28a3886f27b..aace61a2c4837460871452715c10d16dc1ce8530 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3bf69f893a9cbca541eee67f2119fae1d1782aeb..d8a0577c5b296ceb858d67dcd5ab616870692bdb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1bf33c0d89867ac63b0faf6961e22452834ff31f..512f41b995b014f7cfb330ccf30bed67b02d9d7a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2316045459a583b3e1a258b54c501c2a8920cc5f..8b3fb53c8cd082683002215fcab63ba1d059383d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 57200b3052fe87d44fc8e9d6cb010aa5025297c6..8b24d0bf6b44ef3acb7ae0b9bd40d29b36ba5d8b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0cec5ab521b0ab4e14a8749eb9c0a7dfaa5f1376..25469493be65840f123acc3b6c97fb63ac1ce464 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3d65e60a82bb804865251c34ed089e62e5fd32fe..0d1aa7f75fdc69ee796e7332489d5b5713a428af 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 718121a305e69648e378ab1510c751e84bda820a..76b0139fb9913826b2eed49b6029a3f63db143af 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ace40bf5819d26652133daee216d5cce49963c99..264a49545db008098280953dcb63d6227a4524ea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 936b2caea4a29b76a831f7dd7a8a0990f1adc7fe..48fb44a9c23b7fac2d293fe386f9e460de3fec46 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6962e05c4be5e1237119cc0265a841b43018583b..247c804e575c021075fd92544b52968fdbbd1db4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6312812e14d6e39c6d10e9c5295ff1ac46a7dd66..9291c0624a59d62f042cafa3f233be18f313b1c4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 04c412419fa2e665c0570eec9ba455c5aa1e3628..353a9a2e02efc03525a0da27f940b3f4c26799d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 20af90d511a10a1ebb12b3ff6e7aa3c3bacf991e..6249634c50da9407684d07a1f0f67a1a3f453cc0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 612353d72a402aac39c090f7a84f5801fb03e654..0d0c0bc3e20a84bf27444ee7de48d0c48e59d40e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 793f8e219dbf0634942c563f59a04e77be26fd5f..b6a8411c216e86f56d62e1e8a98f8f3d9c88395c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6ec318db8d41b9bcd5a00624ec15c42c80df3bcf..7359c55af7537b8f9bbbf5e11b34d06177a33475 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f247c777b819183d8037c9f113b68060d7615008..8dee34098a370a4a11fac02e85ae95c27d2c476d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f872757830d78189046b63c3b8059740e0c05458..9b6eb1767287be986843b0cfbf4bc8734e5be288 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 799248eaaae443e0ca7a57c3d46c5187c3c94c17..8cd109b1616a218ea473f35ca6ef49a29244abdf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1685d929cfaedef39667128338f8aa89f59eb341..1a691b2f0d7893c8c10d0db21f333c7922140ead 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a13e69ba651d7b13280825fa6e7dfca12df94d03..b3f785b11e9cf09d48380dd7683e9f16edb26681 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c5aac738e6c04b4475b71a6d01f665c1423ac869..1b7a61f8afdd98ed0589c8b9b8fab8f8526e1eb2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c2d7d998e3aa4ef179817a00ff59ae88be77561b..0fe8808f3f493ea78fbe81ce96e018fb8f9c9b8a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 44f88c4d6f448cb4a81f4378d3873069eab7e4ce..e413c90f7bd4ccb80e9cdf68c1563acf4a94d19a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5ec055c3b1409309a61afe7685d2cec2d94fc019..fd6bb832f232e5cc5ff7d6296927ac5f42b00290 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 29e050ec25c43008c98c40f7ba3bd089b43b64dd..3b8425621c952f5c443f731ff5e1301951f114a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 14a3afae6e387e8676990ce081d0ed291d5bd699..ecfba1758780a0c6b3ba677cffac12d792b38fc2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c239580db5bb2e822a8de1acd13223d4d3afdde5..518a8d396761ac6e0a32fab55708906ee1572c72 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d39e5d1499bce50cb9e53523e437f9a23bea1efa..50b3b1f66f09e3eefa459168f8ddd24e35166c3d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3f0bd66576791e8e9b098af9e00bd4758d0d4218..890798daf288ced0687d8fae06670376088efe4e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9e15b86921b844b9b484f974eb2eb7b3cf39ef90..c00f7372d317bc842b769629715eaa855d711304 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 38e1a618ac1cfc9e183d956a8b3707e67670b942..9544c10f55d46c33fd06f3332b49a1acb734efcb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6138af757c21f8b9de26b2220236c9acbbedae2c..07ac272145ca5f63048c35044eeabdf8146cf692 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 63508be825336e3c851d95cb7fe0f92c35c942c4..7b45050dc213a7fee14e75d8403bf6feb79b3104 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 78692324e235955d386d4e43a01bb3bdb2842259..7d8f3ab6d02c4adcdb901e1d05a7809fad24fa44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 05a117a602edf524b6159db114e87d84642062da..32038dda6dd2f9b0ad9e11f7b6334f0e8ba50588 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d5ffb47061f3bda372f0552cef4843a542bddf59..8560b2125c730dddbe3e7de0ad33e691fdf9ca0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c79e019d26f6af2680e4dbc8c472b7bf07d3020f..14a97b4fad8db35417daf0d473c3754e7c345a0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c9ea40d2db256b86290e36c89c247a3d6af4cd58..1683e68e590bbd23982b16733992ac2745e11b0f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index df859c36b4e17a18c982a1ccf29e7805dae2f14b..db144b0c3ca321f3d689a9bd9906ce242ab14a7a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8894615ab1c8fdc43533d029458143ef54c33ff4..d244e90724faedf21f7b36d8b333c182d9cf9153 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c3706d6dfe0387ccc881e5e35399d8ce9d3adc0a..c32c742bff2f5a9ad1baa7654d1ed4c1354f7dce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fdb26e51494cbcfcca07171926fe9ec29d7d0ec7..64b862c86b40b55b2af7f1c14fc3df5817d0a094 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1c4b37fd7159e5e81e6e8648560b16509a9e6ca7..680ec8981c0d365815980393945828e9124779d5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 921701f555b5863207067c0630f39c358278a2de..b6261d60b9c99fc1221892aef5e44b053640d55e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 477d8b503202a8f0757883b9ade94bcdefc273cf..32c349096c9a1e060df2ef18cea8ea0e0d3c4436 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 35fa0a5d8bafc515b7629be2144807798c42bca1..03b7fd5c31b9b1c2c789a6e4a9f072b473bf2646 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0436fcf087f8ad9b46d9c34525c3fb0f2cf83135..51963a2bcf6237fcca6cb4af65139bbe340e0eb9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7fe598e168dda5abbfabb98d8befb80064326fcf..8115452759431c437cfadef264d701e64aab9b3c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4ab9d24b6065b8fc5fd4ccf2e94469b2bf8336d7..4a37306660c94d14daa999163d271e98dec0c066 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index eb9f46752ebec119a033381556cea347ae53466b..03bf67f36253f3fc9eeb2f96a450e64082ce03e5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 448641a29d09f448a432f83f3037d9d090e2ec77..4f30bc0898bdde4641269df72f4fba8f7b61f9d7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 32936c31ccbf0b713dac525373f6d256393bea08..a89aa6d729a03f4297e1389762c366c0c897281c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 07ce3d771eef70dc2b1510da2dfe653709e6105f..1f0c546ec41c92e71b2c2ac451ee1397fe45c3a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a0f9dd4f571d8249a7a239200f8d94a896f79527..db958193837156d986a6ca63ef996e6beb83f96e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f0f41e43ac72c7aa939eeba53c522643065179ad..ce626a73034eccd6146f8d62391328d3555fcb59 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c419d561692cd35ab55908ca25569215993bbbc8..193f1b82c88c1240914179ea4d979f27a7ba4085 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b188e024ea56f2e78a66d0362b0fc0d102fda937..ab04bfad803fe9eab775c9526752fa60cadea14a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4c226306473b6da6235321881c8c605c17415a4b..09a6d6c21013f930dab0f7d34082f9981f88cca1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ModelAPI/tests.set b/src/ModelAPI/tests.set
new file mode 100644 (file)
index 0000000..afebf68
--- /dev/null
@@ -0,0 +1,124 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+               TestConstants.py
+               TestUndoRedo.py
+               TestDocument.py
+               Test1064.py
+               TestResults.py
+               TestIntArray.py
+               Test1512.py
+               Test1562.py
+               TestDoubleArray.py
+               Test1757.py
+               Test1998.py
+               Test1995.py
+               Test2170.py
+               TestExternalConstruction.py
+               Test2228.py
+               Test2241.py
+               Test2252.py
+               Test2276.py
+               Test2389.py
+               Test2391.py
+               TestCustomName_BooleanCut.py
+               TestCustomName_CommonCompSolid.py
+               TestCustomName_CutCompSolid.py
+               TestCustomName_CutGroup.py
+               TestCustomName_DefaultName.py
+               TestCustomName_ExtrudeFace.py
+               TestCustomName_ExtrusionCut.py
+               TestCustomName_ExtrusionCutFace.py
+               TestCustomName_MultiTranslation.py
+               TestCustomName_Partition.py
+               TestCustomName_Placement.py
+               TestCustomName_Recover.py
+               TestCustomName_Rename.py
+               TestCustomName_RotateGroup.py
+               TestCustomName_Translation.py
+               TestFolder_Create.py
+               TestFolder_Update.py
+               TestFolder_Remove.py
+               TestFolder_Stability.py
+               TestFolder_CustomName.py
+               TestFolder_Empty.py
+               TestFolder_Sketch.py
+               Test2358_1.py
+               Test2358_2.py
+               Test2396.py
+               Test2401.py
+               Test2413.py
+               Test2496.py
+               Test2510.py
+               TestFeatureSelection_1.py
+               TestFeatureSelection_2.py
+               Test2607.py
+               TestBlockRecalculation.py
+               TestSelectionScope.py
+               TestSelectorShell.py
+               TestWeakNaming2125.py
+               TestWeakNaming2222.py
+               TestWeakNaming2245.py
+               TestWeakNaming2247.py
+               TestWeakNaming2248.py
+               TestWeakNaming2261.py
+               TestWeakNaming2291.py
+               TestWeakNaming2335.py
+               TestWeakNaming2375.py
+               TestWeakNaming2437.py
+               TestWeakNaming2445.py
+               TestWeakNaming2446.py
+               TestWeakNaming2452.py
+               TestWeakNamingSortOrder.py
+               Test2685.py
+               TestGeomNamingPlacement.py
+               TestGeomNamingRevolution.py
+               TestGeomNamingEdgeByFilter.py
+               TestGeomNamingSketchPlane.py
+               TestGeomNamingBoxWithFillet.py
+               TestContainerSelector.py
+               TestSaveOpen1.py
+               TestSaveOpen2.py
+               TestSelectionInitialization.py
+               TestSelectionCircleCenter.py
+               TestSelectionInPart.py
+               Test2828.py
+               TestSelectionRestore.py
+               Test2491.py
+               Test2493.py
+               Test2627.py
+               Test2859.py
+               Test2873.py
+               Test2901.py
+               Test2903.py
+               Test3020.py
+               Test3116.py
+               Test19019_1.py
+               Test19019_2.py
+               Test19031.py
+               Test19058.py
+               Test19217.py
+               Test19707.py
+               Test19726.py
+               Test19912.py
+               Test19932.py
+               Test19989.py
+               Test20170.py
+)
index 104e569039409d8072bd64e8630ccb2202e2efca..c15fc1705add83ad87da1324fec2e9cec852678b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -88,4 +88,23 @@ INSTALL(TARGETS _ModelGeomAlgo DESTINATION ${SHAPER_INSTALL_SWIG})
 INSTALL(TARGETS ModelGeomAlgo DESTINATION ${SHAPER_INSTALL_BIN})
 INSTALL(FILES ${SWIG_SCRIPTS} DESTINATION ${SHAPER_INSTALL_SWIG})
 
-ADD_UNIT_TESTS(TestPoint2D.py)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ModelGeomAlgo")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ModelGeomAlgo/CTestTestfileInstall.cmake b/src/ModelGeomAlgo/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 1d0356add57b48629bf5f92c7f9de218607373de..41c115ed98f34c9a11ee0269948130f5572edc11 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d52f081df0a8fae237d876c9024b282a186f8f5..b992b1b98f4e6215768d6b81ec92a86ff4404604 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 19328db10fcc361a6e0526a72ac33d2d95188925..553e9b694424b4cff0c526b0615b0f3f1811643a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7b370878d954238ec0445c524a3a97fe00ef2406..df4ce8c5db2139499567b4c2b87038ecea65ff96 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 70b39c0adedb8539b7c6d593ae605583647f9b83..b1f4d61376bbe54ffbe53bcdd02ad9883a383381 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a8b7c3029f184a18b2a268011bdb84a5c6d7c607..5753a8cf9bdec5157dcb6f038ee6a3cd2d422ead 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ef5619ebccf1d6efc163a24f44d51d444e2b9814..c9f57db573acf73dc4c22a68e006c25eac354691 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e2320b94e0a09f2808aa65c905f41af626d7414a..77607ba0fe3a808a312c18790f83259d95d719f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ModelGeomAlgo/tests.set b/src/ModelGeomAlgo/tests.set
new file mode 100644 (file)
index 0000000..f28b3d2
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+TestPoint2D.py
+)
index e52c3807d8448c4a7148890c1fbe42f1d1ae4e30..2d7a4917f409303906b8799b958bb677e1280eaf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -116,17 +116,23 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/ModelHighAPI.py DESTINATION ${SHAPER_I
 
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS(
-  TestDouble.py
-  TestInteger.py
-  TestRefAttr.py
-  TestReference.py
-  TestDeflectionDump.py
-  TestUndoRedo.py
-  Test2488.py
-  Test18451.py
-  Test19031.py
-  Test19990_1.py
-  Test19990_2.py
-  Test20167.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ModelHighAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ModelHighAPI/CTestTestfileInstall.cmake b/src/ModelHighAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 5c007775a126b6ea4218a8232f34f0c9bb058cbb..db049b534db928a84bb59a944d420857fd930da8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 109d13bc6927db5b615d538b978d409844ee7529..76f6c9f0aa0446c7b483ef70373f8a529ccda834 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 121e85fe4d37bd08990c9133045082a0aab320f8..7bbd547ab41d7fc364a81554a1dc6f56b6355fff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2811c6668a4f70203948677f1b526ba17bdc03ff..d1281d74fbfacd6cd704325418305c2a7b1bf280 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 33d8cb39a69f0b712c1698e250e5d1ac14540f80..6110bf89eaf54bc0d38b66806e523f489470aa09 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8e12c05bbfa0720b0ec49431dd78994da6e627a0..a75680380e72cca06af2ee71beb62b0662960ab5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 58e32136f2cd9decca891e655dcaf325fbd8b13a..330e61fe192eafd8ba630c2cdce03760d4d2a70c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -423,6 +423,16 @@ std::string ModelHighAPI_FeatureStore::dumpShape(std::shared_ptr<GeomAPI_Shape>&
       aResult<<std::fixed<<std::setprecision(3);
     aResult<<aVolume<<std::endl;
   }
+  double anArea = GeomAlgoAPI_ShapeTools::area(theShape);
+  if (anArea > 1.e-5) {
+    aResult << "Area: ";
+    // volumes of too huge shapes write in the scientific format
+    if (anArea >= 1.e5)
+      aResult << std::scientific << std::setprecision(7);
+    else
+      aResult << std::fixed << std::setprecision(3);
+    aResult << anArea << std::endl;
+  }
   std::shared_ptr<GeomAPI_Pnt> aCenter = GeomAlgoAPI_ShapeTools::centreOfMass(theShape);
   aResult<<"Center of mass: ";
   double aCenterVals[3] = {aCenter->x(), aCenter->y(), aCenter->z()};
index 4206f062d62298cbb508ab8598eef35827923168..31fe1746e7342e5a8a1a8a09e319911295936838 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2a2e583632e6342588dab9fa923e0fb4780feea6..aeb034603a44fde05870249c03d714cb822442d1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 13c1493dfcba4e2074f483fcb6e7f558bb85f72f..4912404927195c2e8a8f2413107d606ad523cc4e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6f7a9ae7b766b67a82a2b66b4def03ff41072aa9..9f4e21fc0e16096e9157833365ca649c3cf4b7a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index da433e1c0a95409d41742cb5659f7cfe40237f4a..3305cbaa30fc9f68c1c7c757e8001ccf5a2130f2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8a2f1c6442898be866d9d63384e6013b3d7ac24c..82423fb0b0a73b1a0015897120366c0c0de82c4d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 34f308c6b0e779f598d3ba2bd2d660cf1cd1099d..47a1027892686bf6e8479483b3a3aabed11abea4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a372090fe334c4dcdc7f2008b240b7f196a98040..819259949c0d5e42e91bf92c7286a3d84aa76821 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3cd18f2d6636e58abe865790f387c9dd25144c68..a23311feaa9ad124678aaa4fa630d49dc5649d8c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 97c8f85f6730200526813516471d635b1048cea6..619d2b5645b9a0fc7a99ef862f3f3f3ae519d744 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 45ca2da3141c12afeb41ba23214406dff35e326e..3d4df7a1019b39897bd68af475fbd438aff65243 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fbc3b022ca7b0d41b71c8ddee0bbe9f6945831da..f57fc1cf6bbded6fe1ee5f114df15f88e7738726 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 83fab90dea5adff036f24f0e1a8d6e042fd342d6..67543eedc3c75ee02e6567c5cc6bb92314c418d5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 66cb0b8055175cfb7bf4c1774d692f7b06e712d7..93f6690a900a558aedf7db6bd79b66b45d7fa0fe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4aecbb0b2b683ee3e5f182cbc276e9ed04300e73..09dea983c9743077e5e0a2631f7588b8d54b8e49 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ed1a363b2a323c0859a1d3bdc889731849167df6..d7797baade48de8cdace54402e26c2b964c9d0af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1e2648cf2305c7badc4f82ad1e32f6e25910cbf9..8208eba768f06f201a0e2b8913e94a15c7161aff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f855427e4f5eeb39905cbfd074f19ecf0bd811a0..7f0e1c8962d7bbcc248a7e8a4092a0135525162c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 374fd3fd04b1c503a2ddce55ebc181b39b3315f0..9ae89630eaaf2b2a81ef17c083101e0a9d773cfb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 40b3597b203b5194d409d90ff22bdeddea3a048e..6383ea93eb89cb139ed3da552b3ef7a59a87ec45 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 07f066cb1d995e2dfa455ec405c25fd220ec3817..dc560f01b9e2f3644ea266403c59c0d574766aba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 20bdfef7ec257ed3a66323d28bdfa5bb92a93e62..b0bba2a439c092908a392c5a74c78ead0f435566 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6de525124634b9f360a24dd2fff70bb1a679c5fe..bc73e9efe79be0b92e5905838bf9e3313e3620d6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7223a0b5b93d1707a45f4ac339eb368680623ad2..ed6aa0f08ab1a0d7435b0cb46a092aebef600605 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 24b3fa513b0772db2105a263ed2131aba0fc63b0..4efd1b518ca34775fb09bb3e37d0f21ede899ec4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6dbf240a323200ce5598a95a170879f994d119a2..639c9987d63b2f760b27e78ee002e26ed0da98c8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c442c8efd15540e8c0a3ba44c64a5c783d19a447..0a504cd585f54ed75bb7d7026aaa78477baa3bc7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5fa12c1a48c80aebedfda7204121914d705dcd27..3852b4e06275bbba4f2975f17ab43268efe4e09e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9bcc7b20540914b783906dc34e2b576cbe7fab28..5bb6d1b2b890d235feb9602fd2e26d95bb14fefa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb2424f9b7ce34e27f8e6f7652ce64a3decd698a..6c99792adf286538c7dddc3c7a79a45b449ea0cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b89194209a7994f1b74093b4d69b8d5a3e17af65..fc946ca7b1161f0d3557d7635d3b0dde952ec125 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ModelHighAPI/tests.set b/src/ModelHighAPI/tests.set
new file mode 100644 (file)
index 0000000..626f238
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestDouble.py
+  TestInteger.py
+  TestRefAttr.py
+  TestReference.py
+  TestDeflectionDump.py
+  TestUndoRedo.py
+  Test2488.py
+  Test18451.py
+  Test19031.py
+  Test19990_1.py
+  Test19990_2.py
+  Test20167.py
+)
index 43b268aab2e772f9b64fb51f225255eb43f1b1e6..b1b93d92e85e5d09f8940521e5967a7c5f829898 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0a424a46fe7eab21cf1317a35dae341012dd88c8..563fc9935ac548cb4f30459cccdce2425339fa62 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8a40f176a55bb75ea6ef84a73d21b6f8f0b5e6d2..eb51b8758e7e3af5ba697523554d3a8ef4b1eb30 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7cf036492e0299cd1cd12a64928f0c27f0d8e342..615e28209f7c38a7e8e42e83738f029a603eaa9a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e05bedbea838e33586de2c7948395273a6fbbfc4..5fdd56c4ea8c6a6d9b15ff99b58bde78d7e6718b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2bf4a6d7e153dc72f8b4fff8c4a2b0def8468302..3e7488d6af34a39ce49f37b01ccc5a4f401376ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d1b1ee36050d0e565bf43b6ed645f4322d8065a2..ec746ea82f3c61f2b30ab99d09e700fdbcd3a96c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 83ffb3923dc7ac939d881c7c26b3ee3f6eb4dc28..b3359f1800b1f8dbc12d9bee3280cc2138157d4b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9a2002e4aa21eddb692713a0feecac22523b6ff..ffa2f9cd4f3a477b401ce4bd40e2b1d3cd7e30ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7741e99c397105c2e772bb6f8f48002c4690e4e8..49a4514008872433cabdcf273a1078f8339b83f7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a1b2d6acc2e7bb24cd5bcaa77203c0f235bbb850..399ff11551a5acd280f7d08d66ef7c30b326929a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53855671cf8a9b01001d8dbadfce91f56bae23f5..7685a8c1d2fd6232f208c76a348f0027cfc09dcf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0b1d254592c00be097ff02da5d17380f1848e14f..8bcab3ee803be6b9ca11be6136c44466012e768f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 46f0e7068b12aa2e0c4649a341b15813f8e707e3..c044c10f1757272bde07a808c8d6fc3836ef6ce0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7f3b896b68ef62893945117fa8f3e5c8aa4f3e65..294a2b01f5550678b7a7d4bedf8492b4571d2dcb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e67a6ebc1ea1b18eb40935059236691afe29749b..0d1fbf2ee7a6762037de8d72486a7d35486a2e9f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 38bb2c32cf29703ad5c3f38de89be6c786c13966..1160da94d9cb31523843b2c3318d7a90315a010b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2952f50061ce730d651259b800521acae4628d3f..ff98631f2719bef2389fe98008dbf788e8b265d0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index adcf70a7983c366f985d6d7a7de1557b0c1ab9f8..4c9d8b78ae41e850da09c4b1cd4feb4709c85b09 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 55152486dde80633923c552fb73bce3718ba1462..bd6ddd1368fb09a7a29e95ec6c2008888b57f19b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2f65ed8e40c1a0a62bad66564f081bb3934850c9..294283367f318e02fe67d5a85608a186c5048513 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9feb0111034bbba3038bd481c634e0efb0ce3296..c2a0a4e5b65f09d82ed6f55a1c29302657774a4e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6e73830bb7f8a7b98e95116e1ae7f57a0789218e..16dbe1f228c9cdd4521ad1f692eb063040bd1af4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 082df98c177a874bf94e2920b561bf9ace97025d..678837a4db2023c5911493d20e5f44e6d41310f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1ce6a6b55d4fff3393b24e3e61ea1b441bac867e..3c3544e11603ec16b3d3d8f64739d56944204cc8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 56bc0adc0c58c790487350bfe8d6204541b6f2ab..29ae9e9d3bbca584ddcd4d430358fec5b9798055 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d91a51492f66e3969ec7f3af7e7c74952417efb2..b3f042f8afcf2638ffeb076003319eb03b6b87d0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ece81f88fd97b8e9ceec59275c2e0f87ff38c25c..b83f29fca9f061021c601fd2a46fa4f5ddc18150 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a5b0c017cd5e9040b3257c7085ce313b8c13c02e..bd636c66842ebde04d2a3dbe0b778821d084c55c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5edf3334ce9f08102a0b0010d564da7ddf57384a..c7faa8ee00a3e079f10961ff36d9f8b32b08f1f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 87a1b3565c677b01d38c1932555c0b0b1f8ee0ee..884a2ac0c72fd7eab7e7f7474b67876ae06cebdb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c1ec22c13b431550493c6947397dfa757d3ccea5..eaff716f7ff0d199614300fb3c049c7fa33deea7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c615d88e290e7669d056a050b11a271102119cfe..179455429da7fd01c33c382e5555660c60e236a1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7ffb90c65d5ee0b0b5a9f5babba7b5398afe075e..a293260f7fb8369d258261117a82e9463aa5b9de 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 551d868b22ae47170732c8899570ce3948e01ce7..57a502c02cc90b1fea469bc74f53951d15071618 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 59faa7b50ed2e6f8a7aeba4c91536270185fd651..5c8d0d90d37e1d73f45d2f62d37ec09a22c6f176 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a5930c1ed330eab1f079b8fd5a659d448d62fedb..85140755ce19a7b8df2fb768ab321a528bcdcaf3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4dba731c3a8e59ec7652f5cd667a33274ddab120..4ffc553dd181293e8d28e2bdd8e5aa5fcfe1336a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1ffd75c5c874c70be62afb036f9bf6979e4567dc..17c3723afa8b602ffca77c6e3d23dc42e482dfb1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8b67d1627e2a371485bae1332c34400933df41a5..92b183a97d3f1548e78976d333d6c8a4a2c23fd4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 624f1c0ae2fd42cd242dedc4451e739d588848d7..ea73684659c06ff8bb36f1741560e2ff7430cfdc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8067e0e0e437bfa97d20f1e176129de037e91acd..b9af005fee0d538acee8d53fc8c279f9eb4823a4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d7480c10e9c986f9160f6a17a657a69e9694735c..b79e2876098f82df939a8aa35b26236dc1338e13 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0a5cec5a87bf1df4abc2d49ab834d8c05a581d7e..8d12dc92897f3759433fc7ce157964e73f8605af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ce3705b09b682659110155006318f4272f1bd506..92bb0704c72f6f1e6d5d4335a8b703e2df28c612 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9ede036dad5196fb696a44fa6d63d0f5283558c..7b77a216814a58f53e11000fe5315bfadcc221d6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 12d086322775192af5f4e7854f64fb52908bd4f7..1c5f77f1c34a099f2c2e47b61793cbd18c262a4b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1b67bf687089fed5f1e094180e63e95280d12980..625ec237596bafc7611230f1eb248cdaa6b561d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 258a48d7d3aab2ab523ca93c736c491ff43f6cde..655975bbe061e4bf53ead038baa792ba18083640 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c64905eb8a3b82a69d464ef5a68b2ef9e3eba74f..78a8674af473a8c83325c358ed235c459b05168d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8c12aacf3cc31b37f6f08420e0efa437e1ff35ca..17b31a8f5a1dbe8d578a4f71c45f708b83a1b497 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ecf35e82a56ab9dde2b8af407561e8894fbe9cdd..c4afc386cbec005f3f6f30f56bcb48aecb497829 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e232d1d89614d7d7288dc413ced7e09cd379af70..ebe8d1392e9c91b3e19def55fd881da3a8bc2628 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -53,8 +53,8 @@ ModuleBase_ModelWidget::ModuleBase_ModelWidget(QWidget* theParent,
   const Config_WidgetAPI* theData)
   : QWidget(theParent),
   myWidgetValidator(0),
-  myIsEditing(false),
   myState(Stored),
+  myIsEditing(false),
   myIsValueStateBlocked(false),
   myFlushUpdateBlocked(false)
 {
index 73de512dd1b9feaaf86068878c3a655f5a36b7d8..a6b0daf55b13dc5035e6a2a045a7ec02f4a15c99 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -441,9 +441,6 @@ protected:
   /// A feature ID
   std::string myFeatureId;
 
-  /// Flag which shows that current operation is in editing mode
-  bool myIsEditing;
-
   /// Flag which shows whether current widget is obligatory
   /// The non-obligatory widgets should not accept the focus in the property panel
   bool myIsObligatory;
@@ -455,6 +452,9 @@ protected:
   ValueState myState;
 
 private:
+  /// Flag which shows that current operation is in editing mode
+  bool myIsEditing;
+
   /// Value should be computed on execute, like radius for circle's constraint (can not be zero)
   bool myIsComputedDefault;
 
index e8eac4cf82456d5292592fbf8a2d0876e7dec97e..001d22c59de99fed04b3135add33ad87560120a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 393315a84bd9cefd3b88b743eb68313833dc7e38..5f8b722ac87998251470da26686cb3ee685626fd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a3bb79b2f6f7025dc9ed8b89a95c3f9da4a2cbdf..849966c13d6cd6e7a56e6b59a1d239e5594edf76 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 460597a79d039cf753f741f344fc46cfbed0616d..e1ee4a89eff057afd53a2b17561f6cb4cd26f541 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ab66c3bf621a592a9dc6a1e4f604d40e968c26eb..92260cec731f9ef3c2da177e27a3e129cdb46a81 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9af737f5ecf7380c23a32b2fbd0ad2c39093d32e..b082c441808e9bbc78e3a14b68574cb4e902f950 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 330594c63ebdeadbdeb68085137860d260f679a3..7ea0bc55981b945d08e1dba21b6d77e17675ce23 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4184131f18490a0ee87a0250ed84c3a6c2395112..b749efd6cee464cb64ee8f7cb2f87997897db067 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 69e4052e9cb5c49faf383f6197ac6fde1ad06e69..f1026cb815b65a9c20f8712c321e1e799bf24164 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5a1e988da9de407605add297e4560612ea30bc3c..f78213086ec14a23845ecf358fb1c49582cd7906 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9a5b9e7d2ffa1c322c6602e8d48d7882a1d775f0..e09811bdc2f300fc8e6874f4912309f687705b70 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b210425da95ac63522fe07ec96b521c8cd57ba2d..caf04829f5726a40bbc392bd7ced1324217fec48 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2b0117acf866d4d3e7803a017ab1d00f77e8cfcd..7e73736b0bf05ef13f6e3c4da2c679328db4fcd0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -103,11 +103,7 @@ bool ModuleBase_PagedContainer::restoreValueCustom()
   AttributeStringPtr aStringAttr = aData->string(attributeID());
   QString aCaseId;
   if (aStringAttr->isInitialized()) {
-    if (myIsEditing)
-      aCaseId = QString::fromStdString(aStringAttr->value());
-    else {
-      aCaseId = QString::fromStdString(aDefVal.empty() ? aStringAttr->value() : aDefVal);
-    }
+    aCaseId = QString::fromStdString(aStringAttr->value());
     int idx = myCaseIds.indexOf(aCaseId);
     if (idx == -1)
       idx = currentPageIndex();
index 0227e4b2ff9d22f3966595e0f7cb8fb5b1316a58..7bd185dbf8214b20a971bc87dba7920443ac4011 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 488e81c59bd050609b41d52ad95714dd3bc96ab0..f3b48e25c84d98edf95e3114c018fddb1d18b6b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0bd4376f1f06ea4efa6a1213f5b1148348801050..a70de22f0e9a542230d7ee9f1446b5be8d281ae8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e9c87937401bdfde2d6b04245493b1e10d93b957..3014873dfa9d4d3122a2a6505b59925026e5f864 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c2d4ab11b5a623c92ed5e0ea35f9ef1154a36fcd..8298d1e1cf3b7e66aff0514d0c47ee6a5f97c86e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e07a3119b7f76bddac3062752f67b185d9d1c425..c651c7d46f36cc16d515bef47f77f074df6091a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8dde198c87d147ad7f0ae03eece0310e548e47d7..9852625692d79526381c222bd0382a0d074d739f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 10f3d798b25145243c6853cb21a2df92a9c2d29d..54107b53fe644ef011be1331f63812f159f09079 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -101,9 +101,11 @@ ModuleBase_ResultPrs::ModuleBase_ResultPrs(ResultPtr theResult)
   }
   Set(aShape);
 
-  // Activate individual repaintng if this is a part of compsolid
-  ResultBodyPtr aResOwner = ModelAPI_Tools::bodyOwner(myResult);
-  SetAutoHilight(aResOwner.get() == NULL);
+  // VSV: bos22744: The AutoHilight mode is swithced off because it produces different
+  // behaviour of selection for simple shape and compound. For example when selection mode
+  // is Vertex the shape is selected by vertex, but compound is selected by whole shape
+  //ResultBodyPtr aResOwner = ModelAPI_Tools::bodyOwner(myResult);
+  //SetAutoHilight(aResOwner.get() == NULL);
 
   // Set own free boundaries aspect in order to have free
   // and unfree boundaries with different colors
index 8127369038a7d8e72d0a41129968d89351dd1073..aba95061e1c4ca66e0cb734c1871389a8fb2d8c5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53f3a963c69d9d88c6d136a959ada20fe8e9117e..b7f6e4dea0d1c0930b43acb6b2a347e15cbce5a4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bed15a9de6f5fd6ae099fb4fea10a6ee269ac1ce..8ea706372aa34c04dc91f9dbc1fc5b80f9916954 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a4c56317e76e7278e74f0406a082540389bc2049..287bc70429cb9a7b8c305924128a8f30fdcd335f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2efbf3d3f247959701c9a3433bc99b83abfd2950..36742ec3c707ce32a78f289803131460501dc06f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e30fc55258c7bac282600794ca573c384ced4980..66c11fc7fae0084ae68988e2099dc0f09ed5c843 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3037eceac9245fca4ac21a6bb21d8ca398656968..b014d60deff7189df0f53bbd2d824ffcc4dd917c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -1017,7 +1017,7 @@ bool askToDelete(const std::set<FeaturePtr> theFeatures,
   aMessageBox.setStandardButtons(QMessageBox::No | QMessageBox::Yes);
   aMessageBox.setDefaultButton(QMessageBox::No);
 
-  QString aText;
+  QString aText, aDetailedText;
   if (!thePrefixInfo.empty())
     aText = thePrefixInfo.c_str();
   QString aSep = ", ";
@@ -1028,16 +1028,22 @@ bool askToDelete(const std::set<FeaturePtr> theFeatures,
   if (!aNotActivatedDocWrn.isEmpty())
     aText += aNotActivatedDocWrn;
   if (!anOtherFeatureNames.empty()) {
-    const char* aMsg = "Features are used in the following features: %1.\nThese "
-                       "features will be deleted.\n";
-    aText += QString(QObject::tr(aMsg))
+    const char* aMsg = "The selected features are used in some\n"
+                       "other features, which will also be deleted.\n";
+    const char* aMsgDetails = "The selected features are used"
+                              " in the following features: %1.\n";
+    aText += QString(QObject::tr(aMsg));
+    aDetailedText += QString(QObject::tr(aMsgDetails))
                      .arg(anOtherFeatureNames.join(aSep));
   }
   if (!aParamFeatureNames.empty()) {
-    const char* aMsg = "Parameters are used directly and through a sequence "
-                       "of dependencies in the following features: %1.\nThese features will "
-                       "be deleted.\nOr parameters could be replaced by their values.\n";
-    aText += QString(QObject::tr(aMsg))
+    const char* aMsg = "The selected parameters are used directly or through\n"
+                       "a sequence of dependencies in some features.\n"
+                       "These features will be deleted.\n"
+                       "Or parameters could be replaced by their values.\n";
+    const char* aMsgDetails = "Parameters are used in the following features: %1.\n";
+    aText += QString(QObject::tr(aMsg));
+    aDetailedText += QString(QObject::tr(aMsgDetails))
                      .arg(aParamFeatureNames.join(aSep));
 #ifdef _DEBUG
     QPushButton *aReplaceButton =
@@ -1046,8 +1052,10 @@ bool askToDelete(const std::set<FeaturePtr> theFeatures,
   }
 
   if (!aText.isEmpty()) {
-    aText += "Would you like to continue?";
     aMessageBox.setText(aText);
+    aMessageBox.setInformativeText(QObject::tr("Would you like to continue?"));
+    if (!aDetailedText.isEmpty())
+      aMessageBox.setDetailedText(aDetailedText);
     aMessageBox.exec();
     QMessageBox::ButtonRole aButtonRole = aMessageBox.buttonRole(aMessageBox.clickedButton());
 
index 1ac68db740cd5133ebee3266cec8580e4739d03d..a68f2ee9e7f645360400b15ad5a2c7cb545b1135 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f3d5da98616e593b5b216c6bc4d4b3a5cd78e769..6f1e29be2b8173dfcaedfbbe4273320505b0f83a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e06f42f6efba20eae90a1284e0bcf45bbabd6332..43cf485ce46f0d62232baed7de070ecfba5cf168 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 06463235a69660b24b6d1e0d94ac2e0988df49de..17ff60d1968580a2b0bf35d7139acc9d7d797d9e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5ce7b0a7d80bf53c0114b7b7a07e9c412f8f7313..3e1f1c4b82818abcbd5930bb3298d91b83d438cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0d0ea456825d4aa457b5712f01bbb98e94634489..8a927868959be73ed360573a54c5cd8e0250b16e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 86842dd438d3abe4b6bc86a4274385000f81a5ff..7e00b853ec2486d556be7cd90edbd22cc6886e92 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 94a0434ad11e3c958959b20f655b642d34ea5367..0c88e81b72fddcae93978f9eb6c76bbc9d30a030 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 16376ad3bc132efad4d02738b64394401c2cb95f..c94b96dec9a4b210d2441de485ba4cd0b4dc6ca2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e5520bb6e274dfbfb2f42abcecd67c0a133de67..f924943bb8ab31d123f44e73193f16ab570afb5e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bcb24aa8808911004dd2e1215391a2997b37e77d..7c1fb8d5dfb72f9a02ef2970766e00b76ddcc665 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e3a3d058949ad06c9938c67762dbd627af0d5cc..350ccff14f5349b2874bde0db5568ae4901c6bab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fe8d74bff8c31beea1c28a8611f00f5cf381d50c..7b75c3fddb099421e3ba4dd4bc05f31b6650da89 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3a51c2212124294c8ae79c799a444de772cb4a21..3f61d1b03e0bd74c97a967cc849796306da95c76 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8aeac1f1e18b0c398d687b1abb04c1fd3ebbd0f..e6c194e2de2ec6d4af4245ea1cae5ce6877730ad 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ddc7679cfc04e2f19bf0387e41cce86d504212ff..a9b914b999047c33794449967cc7b95480cec1b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 946ad836d0c57dea6c66932c40f2200f72ec6089..78e7be5bc2c4690d234157c142cd6e2f86e2f07a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aa73fd1a169ca71eadf5ea832d78f22907280b03..8ec56499b64df143a0009645ca42a6d231071257 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ad421a8f8560a51415a74f6860cfe03afb97ff53..47ab5d9b52b953c0f00af50a94a590f8ed697e93 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3050e10e8228df8ecd195abdbce979bd4cf56bce..09d70c86d213db5e47e2133fb16fa837febb7a72 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1e9961bd553d8b4202511ac998e636c996035aca..482fcb11891c8e31e917bbba505ffc4f6d418235 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f179935826b114d02fc1cb2ef112ec48f40f5d6..07f1fbd4a2a406df6dd585ac1644023ed505eaa6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ae377bfcdfff904c78b7effbc3b8c49fcc5d8017..dd10905d152aa580f9ea5ee0bf11048b681e7e14 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6052fe7a1dfff135d4d3c9d03fe2901ae9edc1b8..36888335c55991e2fa6082ab10beac6213e16f21 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d2782bc0f563487747ce648d906bf8cf66e1ce85..d1c477e31fdbf2c05d3c31a425bc075341ec9a04 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 058e43549ea43cc70acc7e0b3d11de734181a0b7..e3d573d658a40d22ac9b5851a154596f1b1151d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5f8aad35803ad1e47ab0b831bca2579897ce3925..3e238c42f11eb1a895f261ae90b10a522639dc73 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7922ecae14a5538e6154a860e22d217813e902d2..e33ce6dc7cb15980cc55b3543f7f16ca597088a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1cb2d6f21a6396253f4a9daca32a023ccfd82a7b..1ed4487ae55a87d5d2cedd9ea85a109e84731f50 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7a47835c8a1b984de1fdc6aa9939ef5db144f1f2..741d379f1512db94a5b54bb6ade399be0c8cd4c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -37,6 +37,9 @@ ModuleBase_WidgetLabel::ModuleBase_WidgetLabel(QWidget* theParent,
 : ModuleBase_ModelWidget(theParent, theData)
 {
   QString aText = translate(theData->getProperty("title"));
+
+  myPrefix  = theData->getProperty(ATTR_LABEL);
+
   bool aIsHtml = theData->getBooleanAttribute(ATTR_HTML_STYLE, false);
 
   QString aLabelIcon = QString::fromStdString(theData->getProperty("icon"));
@@ -61,6 +64,10 @@ ModuleBase_WidgetLabel::ModuleBase_WidgetLabel(QWidget* theParent,
   std::string aStyleSheet = theData->getProperty(ATTR_STYLE_SHEET);
   if (!aStyleSheet.empty())
     myLabel->setStyleSheet(QString("QLabel {%1}").arg(aStyleSheet.c_str()));
+
+  aStyleSheet = theData->getProperty(ATTR_IS_SELECTABLE);
+  if ( aStyleSheet == "true")
+    myLabel->setTextInteractionFlags(Qt::TextSelectableByMouse);
 }
 
 ModuleBase_WidgetLabel::~ModuleBase_WidgetLabel()
@@ -95,7 +102,11 @@ bool ModuleBase_WidgetLabel::restoreValueCustom()
         aText = ModuleBase_Tools::translate(myFeature->getKind(), aMsg);
       }
     }
-    myLabel->setText(aText);
+    if (myPrefix == "") {
+      myLabel->setText(aText);
+    } else {
+      myLabel->setText(ModuleBase_Tools::translate(myFeature->getKind(), myPrefix) + aText);
+    }
   }
   return true;
 }
index be90456c0c49989f467758f874bb8d37fdfc4592..f74e39e44b8401ca028f9381578f42045f52a62a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -61,6 +61,8 @@ protected:
 
   /// A label control
   QLabel* myLabel;
+  /// A prefix for label
+  std::string myPrefix;
 };
 
 #endif
index 9576ce91d4f5f8b641d318b4ac70f4bffdd0fa5a..11072f8b6d420c8d9706638f950f74b33a5d04b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d5ce6754cc933697e7076130c3f2c9cd47de2f95..29e08bdbc12cec299bbd63dfd14f92d114bf422f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a2025b6f598667a4f5a42c38dc5ef7adac80aac4..9e544bcab99984fab0d60d25af28332af4d225a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bb717217c9f6703115c2f18e10f0584b8acb7464..78e8e50de4ec87fc66d6c6f3f23a38f9da259bf2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9ed25e82e4c490df9a9ff274b7ee356afc20f342..fa1298abf68ca7cb714ea0f515b596e1ccbb9e99 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 946b46d77f9c0392143b72978f69a17400192038..db4b8cd92f30455241c662f8508d64833b65f655 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 66d05c76b463915b2d22908f57c9cce61ca5477c..5a3a3bfbf84203cb37e35bdb602e7f7f75266ae4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b71a8ffb09fd23d8712a510787adfaa885eebf4b..a3d0ac6824f5c6cd46fbf7e9aa461034a604139a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 05ffa887571044eba45a2eb93fa2ac30591a5ef1..9ce0b4b0b79625785ef1b38e934e6e067fa3dc44 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e819d73b9a5ff0f1a21c2e7e06d943f1f5abdc9b..5af2e1e303d338d6d6b1ba841565b8bb53119868 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 860cf15ae1735a97777cb83da9f9d10bf4b84357..b1fcff50b5a4f71bbbb9cff5933e1b9511f9346a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f2eb776e2f2dfb8418cc3a9f455ade498ac91884..68380e30ef9dfa3a74f92c10eaccd8c68ddbee97 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aa76b42ec4a8d97cbb942ab2943f623c006cc2de..add6eff853902d2e4eed928e3ad431c89316d3a0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cffb45a2120f82d1313523263ed2970068a8f100..de6c50428aa17fc9f1c17ff079a36b43813cbdc2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 33bb8470ccb51068b65d67db615dfe4c2bcb2303..024e2d01936b317e4bbd90eaf4b979d3b9a57b85 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1fd4de6b5e5dd9f202fd77b232fd3b9806be0673..08350f45db867158f4a2bf9c5fa9a9f57ded9d30 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7694a6207711019d3f73939ec497c1822f91e7cb..831fc4cb4c481ef3d1d188d3c4032d1dad688938 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 45a95af66ffd91d1553c0e86b0b703fbbfe13bdb..51bf7803e8998dae84e238d79a7ae43743aec779 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 03ca315d61d632b40a13ad733417b26c0614eadb..a48153f0bef85a5faa5a4cbad22545276e7be31c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e4400723f1a4adce0eaa578b0384ca3ed22ed79e..c93c453cb8614bc7e04a7a65ec2246e1cb4372c4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c63a3e85d4a4bcf2b55f807570d29a23518cd53a..8673bb87c95b2d1202a3996678effa7c8b8c1e62 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1c9f31062a53661ff9764a6c6615aceac8a1cb4e..6f1f91c7c3691806021a91f40e1e791a5ddf5fe0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4c97737c42dbd6ae38be99375ca8e7e9bcb08d1b..db3f38b608a0b3878e651ae38e9798d41bd6bff9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c47d2d708c05b24aee88e862b3ef224e2bab97d3..63703a38ecd43895ba561137f37f79f369a4c03c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e77280d811aa5fca19e485449e7a534382d2bbc6..c4c28c3b069f4080098e4a58f80ab708210e3012 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 20ce6dc57d8d3959a1c517f5832f6de8bc0d6c81..d39095b28b41e85e1753d886bc2b8e915bc731d7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2044ff412b06ae148d489e16a2902a697d231fec..a47876f339cb8145c82ad141fbcf6a1a31e6ce47 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9c967ffa27628d465d21e8a2a89b49759f5fc666..497a1e64ecec1fe886c50278637add12e2cc31b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index feb6a380a24c291d93119642122fd36d5be7e409..db4da02803ffb17d47db2e4b5d6d87eaa4dda7bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6e8e83ba8a947dc1456bfc3183bab8d986f63275..ff95e6478fd3932a284efa869e4c5590fb8e8fde 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9f1e5a5b8241798c4c3a3ab56b336101af9ada4c..6f4ca36b7d094e0d59ca5d3643896a22723af89c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 71a7b55cbffcf135d4894f30781252a9fa4d2827..0ec6da10d03d9877e5079cd87ebed5d6f0bf0b45 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d98c1bcf1144db8ddd8d02148189fec748546e50..2471d4ebc06783922d864307e80ab2c09de2637a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b319b12b3668cfab4423d5cb557fa18ff01f7d4..5ac4a8fc58a90f5c9b6e475d365e99eff64bc958 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d91e815c7c00b9596260462619eb264df0ea98bd..6922c1f968a0db3e3ddc936a71bf4273927f762e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0e1d976fca48cc87ea24e64aec4c11d30610d309..27c687ad349886bdd3f3e85b985d1a851cb3dffb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5deb612e5d389dc1fe71ffc28ec2ea2a3f72aec6..50bb1d3b8f4f2eb279959a83fdb2298581d186b5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e7c12835ad47263fe68660c0de6aebe768f4759c..09696821b801b6f19218c22b9c9ace1fcd50b24d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 89b45c450620bf1beff857fae6042db6f5600843..9f1140baa77df1f6d3ded84059b632f87af81ee2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -118,14 +118,23 @@ INSTALL(TARGETS ParametersPlugin DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})
 INSTALL(FILES ${XML_RESOURCES} ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(FILES ${QM_RESOURCES} DESTINATION ${SHAPER_INSTALL_QM_RESOURCES})
 
-ADD_UNIT_TESTS(TestParameterCreation.py
-               TestParameterRename.py
-               TestParameterChangeValue.py
-               TestParameterDelete.py
-               TestParameterErrorMsg.py
-               TestParametersMgr.py
-               Test1806.py
-               Test2392.py
-               Test2474.py
-               Test19036.py
-              )
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/ParametersPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/ParametersPlugin/CTestTestfileInstall.cmake b/src/ParametersPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 0da06266acf3b6a4c436371eb7d188ee1cbf4544..2805c55efc1cba8aeac54807f1860d0097ac9b0d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5dc61ed52da5f132000cb37da68e8dbc16c2a9ec..73613d81eea059a8ddc004132153e3328058a943 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 089fba80feb9b1ed91518f69cc48d6500ca6112c..37c3e0de946cb2ffb6599b6c39d7711db80b5798 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c7b6bd76327b921a32a9fbb066a340f95eaafc5d..8463abc5ccb763b8a57ee2ca2ef2d50314f6012b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1875e46c1abc9287bc82b9021aefef33abcfe7c0..345431ea2690b6e67f1215bd7c5b4a7df8a1f154 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 54ebf60577fd2041ada7788048f00b8f1e6fe7b0..9e91fef8a7fb3eecddbdf0750e3e4e031d8bdd5b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e083530ccd3c412d03ad3dc1f2de5301eeb67a37..8423ce1f32c516b837d797aff07a3cf2f8642efa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6b8abd247a68f5aa6ffbc06ec91ed65482276b99..db2d656323f276bfb96b73ce677a4fac89b19b7a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5314d39a90213042056c3328622f97f4eb4c196e..2f6fea80e3b034b4f0d44455313208af7c96553f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 05fd8a83930d7adfe8a3eee4c85a798c12c7f59c..9b0e0c6cd9ebb69e083a91711ae6aa26d4328fc7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0313145f64fb1d8ccc2bde55df1db921ccfe4e5f..618094fbb4903f01287fb3fb4b1974448d84be8b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 09caa08bc9fd0bc03928e6b5148d56f79aef9ac9..d657be8aded8ddc4ac8b04917f455c223fde6aab 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e38e6b90f4a36a42bc878785f5ae20d7e642b7b3..443f764b035c6b19e77615a322f054194c8cc969 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1d7c377614b1ae42728c5eaee379ee7b9a4f9c89..62a432a8b95cd06c72969d2843b5290e2d00c267 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e6b241d49515feb541b7180039f0b16b27a29540..58f717e45903db31fd8a32318398c5988b8ebc8d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a5638ffc177e2f8db564cad6b2f1c705006c75b3..9380f244a4503760e1463d2faf39a9cb9169617a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8c49ead551dd41e204e5c2196be3247b22aa1d72..15eeea924423b176e6f030f422b4a6c2556e3b50 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1ba9478ef30e30a540e0065b7e1750420338e5d7..fd43768e3f592d3670df7de7565329a207601f26 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b8edf83f952a0b227f774a1411c5eab5ba1acbbf..f35662182d3dbf1b6ff3675ff0459bfe59885c08 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f225ab1302952f8922acfce424401c968d67c02e..48135d3b1a516cdf171c647a8a37de53d16aa592 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a6c49d74b439bfcce70544530704da5441143abb..89cbebcab25d1beeeb04cdd12a234fec1da8123f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b4a345daafde39e6a74798d646f154c817085f8f..882f49f38428f0d88f499794ed42f84b7350b6fd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 166b1d384df5fa5e94e96fae62cb79012d07b988..bc74435283db558ad2318a56b33e83fc80f3948f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7d46a88b7b712900c3c7944589ab1d219634cd76..1767c559ce3cb3e2828dd7efe0661dcec9b3f23d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dd1933d2bc0bd6c659d3003cd7d13c25c2322e6e..b1be3b0b5e2d08dfc87e3efe405882296e15f20c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/ParametersPlugin/tests.set b/src/ParametersPlugin/tests.set
new file mode 100644 (file)
index 0000000..48514ff
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+               TestParameterCreation.py
+               TestParameterRename.py
+               TestParameterChangeValue.py
+               TestParameterDelete.py
+               TestParameterErrorMsg.py
+               TestParametersMgr.py
+               Test1806.py
+               Test2392.py
+               Test2474.py
+               Test19036.py
+)
index ea185164e1099576075c32bab9de4136966d8796..6bfdb34a5fb3773fa4d793bb6649c7ad3d02b48e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a6e028134b75056ce7b821a7f0812184462397cb..6f623d4bf07c62cd353521d583c8f470dc6f4a94 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2e246ba83a8a5c5fe865da2b8a57b0c35c962a04..99449702d9d7cccd3fc93c395375655e7b130b41 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 05108ca038ebb0856307c99ef1062896c92ef171..94119c2059602bec2729aec5e0fa7f0f6c22380c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4b1f076effc825918cc04d062a39ac51384422fc..1d791dcf295f875e191e167efbe26f60eac84626 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eec406980fafa05bf723b588b624c1957652d9cf..9875c71b5367625e3572a15b996618cbbf01366a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 82b1f9e81f78d9a3a5cc7c7bf212de96bf0ec2fe..b846d9fae148ae085f1829b26b075cd35303ad7f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e425d6a6be8cbed60aa64d81cda7440731a8fa0d..05f8d9b725e8cf81fc65da83fd4ffc3865865a1d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 117af4a14cefcd6dcaf8d858f56c4f5b1874abc4..93f50aeb85ceedd9cde2a25e3499831822f36a35 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d0f08d8cf10f50dc464a914b0115be65025d8144..a9ae3ee24feece5bb58e927f32c6b07e239e1214 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7ef82f79c3e4da1568b454b3d2427fdb8841994b..6b0d0cb53a5c2695de347ce6d04b7ef3b9ecb7cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7f17c1139404b89b29e820af9780f5d9f381e9f4..59e6c081129b056a870067ad477bf60d0bf96f96 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7ca35c9461466f49f404998e15b7ba2254270f1e..375b5b8f0b46a727bb55d3e632eec3103fef6a58 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c991264c1b42f54ea3732a2b5c31d3028b1ac5cd..b28d5dd46277c478c7a054ea25d84d9545614e03 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a225bd0478951ff3fab127c688bb875b66affef0..f4b393405ea61dd3271c58f197be3ed03b291aa8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 37d64c6c970dd4c15b2c0f053e400ec8fa9e7407..c09da9f9113f0184d23519f3373c5aa1c857b106 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 384650ea8858fcf53faca505317cb9cc24eb3ddb..53c493558c465cded186c0bf853b33500efedfa0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7fb9383c3bb6775fcd456a1ecf63acfb4d460004..ccf46700844cb6021cd5700a175d2be6c5b03390 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cb6eeea1c3474b6ef3d1f82840d667e8324f2a34..53eb0ee47e905fd99f918fd936a31ca397b04d0e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e74ada56ea432e93fecaa95ca0a1921551380e78..33308af28c456e0c83e7af465d77ed940c1fc655 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8ada67f04257c3bb7f359a75aee32413ec80ce62..d0cae78a4b83d6d2ddd71858f4088fdbee87a05e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d6f054093c3e973790d95e41501a563c3d410a86..ce811962311f9887f65208f6136e05faddd44603 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d4e3539ca4db82145ca17130d67dffb94afd2659..f49bb0239125e3e1c9805d55e4fa3478b1b634af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 06252baa5ff1d3c94a356482a51125673d2802a2..ce5f478a3d2568c9c1c740897ec72f592193c65e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2c23a3b362363ce4e16f7add6c414b866a52d29d..68faceee61eec28ad8b0c6aaedb193e8ab7a34ea 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 22017e06ed7925128712f3bde7d3d9814df1faa9..4a436f8d89ea46908cb2d164ab60c6de69985055 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 75467a3c434bacaad7aa0ec4db99f9dc10c077ab..e47fabe9df15cb788ec4132df554431d32b3e77c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 13619e05c9b62bf650fe2a0a81d4a2649f1bb75c..ead02b58ec4ebbcc32ef810876d67a64fa67f21f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd6b78cbd559d6651e70bef7ae44ae41e6a0b570..31394b141dd1c86e26454d5a7d55a5c12d6d703d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3e31cb8ad31e91a5bcec123aeee4b275c55b470c..ecc5c11c3e3fa389d21624c14013e060728ba6f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e263c62217d7222a4deeef1b9e8e272e954a1954..656593d9b5348f6c29fc554627f6d406c2002872 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb56175b2038cce017319173272e3f14a75169b5..a0f2fed6ea7277d5f0e8a9ab7a9203637f2fdb33 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 96d454e0e684bb0e3f2b8d973bff938d19383d18..9149c5b4c680db24735cdefc7c556d5cd55aeb6a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e39203ca285379429214f0c707bf58b535daaa0b..b56f8362b799d938efa12f26df5f16a3e093ddc0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 13c3ab8f163030f4c87843cdbad66eff72879dab..d3c11e51a38e04dbeb0686d779b4d144f8667d79 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0f32c3b0f4e64b2bebc45e4a24903e38af592165..40dffae5c961f80ed72fef1912bfa4448b8de04a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c6e5585a941067e4b702bd230f20afda9b77dc60..497f5a0b2cc845d09310b4d392b1064edf30486d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 55ba87d8381295856b797988cb85eb4dcc231fba..b6ab3eb240b050e35eb732b7d1b114347ef81953 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c85093877c2f58ca8a12e3d36a589e9a9033c78c..113f254a352bd2f823e7ed8cdf8a0abdae65af71 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1384483aef9a09676c37819d9e27eaad55b2b77d..14ed50230e5d2e98ba3a722f176345f0fef594fc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 90dee037af4340a47c60cd40e0e6f700fd525083..ea08becbc2b3469d2d0ea38ea35e296136e7e14d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c641b57dd5171025050b84e688d28e2040c44256..60ca1a7652f4ff8ceed76c5bb74cbacd423d7481 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb0750e9dfea1b4453889725238426f56bf2c05d..1d1892ae9c37c6ef77c0a06547a63e990a62e85f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5672883ffb53ccab3bb05c9c1b4f3ed97b94d6af..8bbdbf7c6c724776f67aaf7a28a4b9df30cda4c4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ef099a03057cd51be209e37566d9b4ee81c81dac..dab8161792d418f6694d4951da9faea858ae1b52 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e032c27496b75d50f79ffb1b1960b11195a8de2d..599fe6edea2ba8f94e7d8124640fe54469ca2890 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eca70a4457be241e91f967e04874822500bbebd6..cef1e60380eba49b515d2a980762cc19cb40c510 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9ee2ee45779e40b4f3a2f5e9118a0a63760f38fb..c878297a4b072f518022e10968cbc191ef977d81 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b6a17e16bca8bbffe03025eee40e111d05d1be6c..cad692180062b7cffc810e0d879a2deb75185d79 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8285ab9a49e1eec9ce43432a74f15d63d635f990..a49b17ac19b7c148e580badcb838b1207813e33e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 323559da8af0bd15a9e6eaaf23e5caf63bcf157d..7d90b122262db69e0562d2956e7bcc713b816525 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5a9a0b8a650eb87ea350b0244c49fcfd73943b87..841088f7c99fcdb9df9a916b9496f9e725053019 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4e81aeddc05f08094648ce26ec59c3ffce9c3e37..983addb24a54b8b5faf1aa7b7d43aba02742b58c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 417845de72f6c954c2283bd8155d6cd1bc53a8e2..4ce418f86cccd0d86b449e8de466478a485e82cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be213786faa98c4419d7afc3b72e76a0ade684f9..092845f1b5fd1d1bb110bbd6f79d4a3742cdb994 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 338695ccc76babd7bc583d9316737b72df4e1369..cd1b9d8efc8e5b48c29aa2179e07ba19a77daac9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f4da8cc63536eb63646cd4a1f90d620894b32dc..5a61bc6d4f419ae0cc703c5ffd4d305521f9cb2a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 89bfc2a599fde650d6d6cd13288d3419dcf8371c..76173603b786162e25d8134e7529a5ea2bb5b283 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7e6d74ba969e0cae656fd11f884e2610cf2aa91c..578bf6ce465e8eb90b672e5f69445f1be4e394b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4bb170ba9f30a58dbe76b1c9fc9a09cf5a2bd47e..8123ac15984ad0972819ca6d302a7662dd45f35f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f6f4fcd5f15f096f1ee50419fa60715bb380477..4740ca2b8c9dc95e70f64e579459240e322b5c02 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0a06a8ecb0cb5a129b2cd84dcabebc7c7e10ea0..402ce38f6587a7cde3ed6dbcd93519eb3eb99e51 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 156a563b846ca3e0d6e120afb1a378ce06c78cbb..7ac079dc55353c7d89cc0b21cc73fbbdfdd2c5cc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 57b9a1c10fff2d36c1dadb966dd0d587adc3ebff..9cbd006c8fa7fe0dd86a4ced2c46ed97aa88a5d0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6d570d985d62217ca4609c5b8e9745bb799b3fcc..14bfd60fa9aae8c043d831a3567219d51f086184 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 11c40dcc5680b1f838daec290219bdca63762f10..38195f2598a4c3402cdad38c0ae7521e6b876232 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 87c535a543d80ac764d185676fee0bdf7be421a7..4b0581d6fd38ebe275bd038ba4780927cb601c24 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bad4d67cdc55749488492c35da75489d96efda90..60be3f302126fa72e4b9d71e3722f352d7046477 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 92b5b6bd96994cf6b501e8d897e6dbb5cd2f669d..20f168ce53b4341b6c9303db0f6bdec2ccec837e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -91,5 +91,23 @@ ENDIF(WIN32)
 INSTALL(TARGETS _PartSetAPI DESTINATION ${SHAPER_INSTALL_SWIG})
 INSTALL(TARGETS PartSetAPI DESTINATION ${SHAPER_INSTALL_BIN})
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/PartSetAPI.py DESTINATION ${SHAPER_INSTALL_SWIG})
-
-ADD_UNIT_TESTS(TestRemoveDuplicate.py)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/PartSetAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/PartSetAPI/CTestTestfileInstall.cmake b/src/PartSetAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index a1e87432810bf28e0e6d47c56bf8b034d1526ff4..41746903436a3fd4cefe34a422b2a64e9e9aeada 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bde0196cd7e20158a95ec8bf3a6b779809217f0e..beae9ccbcd85eb9b81a532360b578ab4b8572a94 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a41f1e2b50ef053a7ad2c766837ea2156f22c7c0..4832e7d132de638fca08f15a29b3d4151c91e892 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 02148378725d1316953b40051431bfa10ffac8a8..cc231fc9b5aae82e7a521cf9cdc65f7c0c82ed1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f3167992ffbd1ffdc281396faaf5c7e096d758e3..98ce3a63ec5ed002d1e40b75712c8d1bbee06ef2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 69ce6f41d9ff57f0aaaed7e021d15905106789fc..513015e707eeb78cc842af11fb4df9e4dc125aff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/PartSetAPI/tests.set b/src/PartSetAPI/tests.set
new file mode 100644 (file)
index 0000000..ff717de
--- /dev/null
@@ -0,0 +1,22 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+TestRemoveDuplicate.py
+)
index 21fa1af4153bf942b0bda8d6cd2d2d2e7153e813..3297b6ca808aeb6e1340ae6ed39aee07bc3ec3c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6dc29f76c41e708ff6bea07c574970b3bcb0c30c..db856fe109b92df406e9a7c60da60264e29e2e55 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 971d6913023e1cba36f00bd17626eaf9d5481d2b..2c4772592729c8f25d610b3af8543b1c559a8a5d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d72fc67d31fb3d1180626a778c87569382f3404a..37f7920584d5d6934db775fd0685d80f061ca3a8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c94e6dfe610600649594e72e87c3ff508d2af05f..574d96b7240690ce422cf98eefcbfc00250fc429 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 826dee24f161454f43d8a0182761af0556121238..8f29acac7519584e3e2f92f6f39982972977672b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1c9f5ca132d2173f8661c77647260d3e7ae984e8..bae6051c13d12137f3061127a33a4fece18349aa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1d4eefe545b3a89f7d994f046b38a566f84bac1c..8b8cdd73b0ea783fb1fde71432d75c52ab19c0dd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 189cc75ec5307038231eaa113b4bdf3c8db7b990..ae58130e03851b216ffa2935abb2be9449beb661 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 375d6c8d8f9be337f097b8ffd36ebc66893d0d44..0815b69b89edcd265b4a40f50dd719439ae65f4f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fa563dd783836fdbf8822e3b55b991c3ae9fbfdf..507b54c4530e920cd20127fcb852ae06f74c7180 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f6e7ddf1683289e2b1fcc9109f4e67deab62ed01..aac68301e2c3a89269b307844a4d15f7fc3fb4fb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0303b596d4f814ca5e5028180da35165108248b6..5fa74c454b6acc7c07266fcf572b1f6d8f07e088 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8896b17240c22e5ef4ab02da00909ff6cc4e3463..04b73f6ee420c50d5ed9c814cb9ec950780e0341 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dc22df7679758d1b2a2eb9d7903c1acb7857bda6..2fda32494230c01332c9bf4a1c54e9c2e3a7d630 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 428ce34a1876c58a89623744513be95ee4f88773..8133a7ac9117d026646c1b59b4b1bcb74ab60f25 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8229a967e72e5957e51d6ac4a14e7c84d0670fc8..4c9216fec93dfed140c4aa9f1c3bf87b32edb8a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 55a2a74fa97f3af9f86f57c972eb1e35267dcfa9..94e21413002077e5e9d393889241ac79c885fc60 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b12c6ab91b3e5eb06b04c4f4059bbe56a4522546..f246cde88769344a41bbf8f8e167c0f5af36b939 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ab6c68954562eac8a92d7483c85ad459c6291076..4b3b594ad59854bcdab790cb0cffc552158f42a8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c2cc7659e69d6bd9fef0611a3bf9714de1f34122..68e0ca5df180265bd1bccdb1b55a56669e547af3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 912ec5aa769a04bedcbde6d4a267a5e40546c348..333a57501d5f467ba3531e983b84309aca02e35a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d1ecf17c2afbb056b72a4b7db116768a4a00b214..b460da8263410719fdf6e61a9df243b70e8131db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6de3efd55e2ef6e8f9155b7af6b99de95b4a147a..21934d3a08eecfbe21dd77c35878602e47d634ff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb51172342e837329a321dc82fb393f16c74393b..4504f17eea529c93373f03dd635d6261d649cdee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 42045eb0b46f65d947abbbdc8e15dce3f74e7351..ab4af972085329da0a529828f8d6e3c35128287b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 245b471f260e47d96387b0e5e111e2628a921017..30caf171d39a45ee0e48b2da7d36edc8aaded731 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53627bad10cea83f80e41f9b77372793302acda9..252cf52f3b17e6709708c995ddc1a9c8513e4eef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index facd75ba0b8559139feeacf13b69b57a468451e5..ce5a01cd1ddefa792fb61edb5b1eaa5540f6d506 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4be4885afd1a4574e5ec4f7fd42f4df5790172c0..b151ca8be6accced60b4b4684910b481ce321cdd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d1ba6fd54dfe461d10e5f4dcbec970a24b74a40b..ff2faea531c6017167514263fee7adcd988efd8c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 44b9f04ab2f560c14b6024897d45086c1b4676a0..85b34d0aa01b2823285ebc727df9aa7a1dd43865 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb93ac09dba319ff3c78d65e7dc2617259349006..876f4dd9ad2ead88b2a668e02d5f26708cadaafd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6605c91d0cad3bc248abf189cd77a81118395823..3bd43cd10f39c7abd868166ed810ad0caf3901db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 24344f5a03c1d439a5dac23124d384019e610d36..00ca224b09375f01193c573a8803fb105a41fe9a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b99397db70e3a506a8527b70f72c9c6ab78e1ee2..2f00e989e717b924c7e19a66a937689b4f89c028 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6bfe22cbf9665dec4715ce7335c10fcd431c7a5e..777bb04e6bb86bc57acebb05043a16ba0a121b30 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0c91ab28d6d588a842e6588fccf0bed4eb6f261..b176afc34c141089d762f4b5b075ecc8145c6a07 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b1c14f67c4ddfcdb2ffdfd444fc3371a1c4ec9aa..c31de74db858b9a89a2614d186da3205ada0b94a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -25,37 +25,23 @@ INSTALL(FILES initConfig.py DESTINATION ${SHAPER_INSTALL_PYTHON_API})
 # --------- Unit tests -----------
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS(
-  TestPythonAPI.py
-  TestModel.py
-
-  TestSketcherAddPoint.py
-  TestSketcherAddLine.py
-  TestSketcherAddArc.py
-  TestSketcherAddCircle.py
-  TestSketcherAddMirror.py
-  TestSketcherSetCoincident.py
-  TestSketcherSetTangent.py
-  TestSketcherSetParallel.py
-  TestSketcherSetPerpendicular.py
-  TestSketcherSetHorizontal.py
-  TestSketcherSetVertical.py
-  TestSketcherSetFixed.py
-  TestSketcherSetLength.py
-  TestSketcherSetRadius.py
-  TestSketcherSetAngle.py
-  TestSketcherSetEqual.py
-  TestSketcherSetFillet.py
-
-  TestFeatures.py
-  TestFeaturesExtrusion.py
-  TestFeaturesRevolution.py
-
-  TestPrimitivesBox.py
-
-  TestMakeBrick1.py
-  TestMakeBrick2.py
-  TestPlatine.py
-
-  Test2044.py
-  )
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/PythonAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  list(APPEND TMP_TESTS_NAMES "Test/TestSketcher.py")
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/PythonAPI/CTestTestfileInstall.cmake b/src/PythonAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 8a116041b81768c4762147b93b891350b6c738a0..7f3c8509e357971b71a7e6ea5c8676fd96498b3b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f896c6527c4d5d487fe1bad6ebf8848315a2c684..0431d5e4547b419b963b2de7ebb3fd386586c68f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 77abbed4c35f285f199bea4b5431df3a5dd89a35..5d6c7a90753a2f3d42d098b1871b2f48f63fa7ea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 630aa62603b2bf86f299de4f1ed3f5878e01c0ca..d6dab02b12c72c4bf4ce1403da49ebefe1c425f0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 85a0b8fce09141c3e1110f0af51febfbead5f23e..5259b57a687e871ea8757a9709d567d9a3fef800 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3fb4edaf202995363251b016a67b7a359e586c9d..e2b2aa0cd292bab1f0b70c0ac4c391f95a652a59 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3264b826fcdc0fea6c2ae62ebf943865bbf95f53..1c9ddb6e1a9ecdeb5211c70e7a980e4c573e7c1e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7a87323e9e3e34c5b1472837259e18fbd747c42b..e2783fecdb7b948c85266c1a6e5ada7d993f9803 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 181b5f48ee45da99d7886baba003ad759cb53831..c2a1274b4ddbd8f263957675ef6745e8f5c64047 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 560c596af19d21e697637d29549f94aa0ab735b1..e89786edc1c9a5e39f10ecbe17488ff0dd983aa0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d5624c97036d2f0cf622490dfc9c5f15b10d8174..21b7c54953ac336f9cc2e805054da50eac0fb066 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7df47f70c9cabbdcdb0ce8e845424eb898c36219..e4c0a355a5844f2759b4545fc60dbc423c1364e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8a813980d6c167f309ffb99e5304cc164c2906a1..85e7f3de0432c3af143d94d841ee1883cbb57d12 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a9a3c185e7550aa40d6f976100fb89a04a9025a9..b57172d77351088ee3533a872f6e89c7955b6338 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4706a10d57c5f1f721fd868d23484145a44f987f..5c9d69f79ac12fc71c2618d47974b4201d755487 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d257bb18a288e86b4725230f02c1ff511a46f2c4..22f5974077033645899b8fcb015573321421c293 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1dcac822b37d0c6835cd0600cec79b5ce4c4453b..735d4795f7d3dc63d9a031bc0d93776714f313f9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 79b836ef2579a40af9810dd0a367745d96aff9aa..8bcd8a383d5762892f02cadaef11ee213b7d3ede 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c42a992460a894a2e4986ac238597f74721625f4..a0be096412c59b138bf4ffc95ad8fa1d6d4c4c44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 75074ebf9587297dbf6e729e022731790ab6b255..04caae6c8f4b6cc2d15951806457c707efe159f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a9b53b79ce52065f048bda1fa6b9d459de50c6ce..0884bae3529fb133b692f2e176ecc70ec4ff025c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f6e10de52af86e8ce95d0a84cdd62984c2b722ee..cacfc9d84c9b974268b0bc7d075e62e62c2a3f6d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 29bb027262115542f5e905558589d574bca0be24..d0c95c5ae111d39c8f2d6249df95775ed61ad54a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9e6f36517ae13b512916b6f5f07ea57c88dc5dab..ef97cf3f26f44477c8c86c3183d024c08bb3ca0a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 61fb0793d0ab3b09352d0c48bdfb53825b8a05ce..1aa1459c82dbb761b3ee51595d9ccc0dfb3cb86b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 124307afba8127289c7d6db9cbc4619b8ac70b42..d8ea4285bb4f1bd31554312859ad466d06fc941f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1f7b4ad43329740301098ef57db91208b6068b20..79b3594a14b58eb75e11b7663a2bc2ec5f0550a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 41ca90668a61829b55207c58cff4fc979c9882d2..3112bc79118ec6ef4e0aaa86d8c7552952023248 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a7f898d193ac3a6a12356c582cf2ab582dca520d..5cd38a6135d95ab8a37d4236081536a7b354e833 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 67be14257901c4e8df2319cf0c27390b0d3d97dd..c75288da2488b6a9eda5df5202af9c063dde549b 100644 (file)
@@ -10,6 +10,7 @@
 # All configuration values have a default; values that are commented out
 # serve to show the default.
 
+import importlib
 import sys
 import os
 import sphinx
@@ -35,15 +36,21 @@ extensions = [
     'sphinx.ext.todo',
     'sphinx.ext.coverage',
     'sphinx.ext.viewcode',
-    'sphinx.ext.napoleon',
     'sphinx.ext.autosummary',
 ]
-try:
-  import sphinx_rtd_theme
-  extensions += ['sphinx_rtd_theme']
-  use_rtd_theme = True
-except:
-  use_rtd_theme = False
+# Optional extensions
+extra_extensions = ['sphinx_rtd_theme']
+if sphinx.version_info[:2] < (1,3):
+    extra_extensions += ['sphinxcontrib.napoleon']
+else:
+    extra_extensions += ['sphinx.ext.napoleon']
+for ext in extra_extensions:
+    try:
+        importlib.import_module(ext)
+        extensions.append(ext)
+        globals().update({'use_{}'.format(ext):True})
+    except:
+        globals().update({'use_{}'.format(ext):False})
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -59,7 +66,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = 'Shaper python API'
-copyright = '2014-2020 CEA/DEN, EDF R&D'
+copyright = '2014-2021 CEA/DEN, EDF R&D'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -113,7 +120,7 @@ pygments_style = 'sphinx'
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
 # a list of builtin themes.
-if use_rtd_theme:
+if use_sphinx_rtd_theme:
   html_theme = 'sphinx_rtd_theme'
 else:
   html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic'
index 360eb945bf31b741f6cae298b3502e4caceace10..dfdc3d33964208b73a202607ffc4ccf930492346 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index df1c873de6ff905067a99b03ea3cebf60c115ec3..e32437be944f59464927bb4eeb2bc3e3ae67c108 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 738192f20e0000d352d204a6481b4487c0f49111..3fc8407666703c09712fc6f0648bfa08c049e2fb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9b718bc6cc750f10bf22e9aa5cd2d8d7bab9bf5a..f9c917c7e9dae9afcc8d04ac1085427b4ed0aa4e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 42a7917747a3487e197ec8d5d2fe7f0eccd2895e..add53906beff7d25378b06fb7d3b08d221194796 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -27,8 +27,6 @@ import ConfigAPI
 
 # needed on immediate start of SHAPER from SALOME: salome.naming_service is not initialized then
 salome.salome_init()
-obj = salome.naming_service.Resolve('Kernel/ModulCatalog')
-catalog = obj._narrow(SALOME_ModuleCatalog.ModuleCatalog)
-aCorbaModules = catalog.GetComponentList()
+aCorbaModules = salome.modulcat.GetComponentList()
 for aName in aCorbaModules:
   ConfigAPI.Config_ModuleReader.addDependencyModule(aName)
index e0c625f4d82c824ed3e3aa09bab251e3717ae224..6e2d15b704e802e28984f3da075e173c7a7b1b5f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4fd8873036b36369af1f03640fd9f646f20d3f5b..f2f17c2c27cd1ff6238780ae2a0d88f615374643 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b6f4ed15362dd825b2d7c959ca34ea2917a1874d..ca772871d7253b8e3e38b44863f6e0b30286b3c8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 669ed9bea738bd66e29a1091027c146396c39b49..063446d979b6c35ccadf25012374d6027c108172 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb6d49b873f99bbfa50ce3b578253b9609b2756d..3484f5949d93580648f0ce68c472e1a9172d0526 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8d688054b9ebfe260b69b415708f2916e1069fbc..b1b40edeb25737580cf043c77616cbac27d41571 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 480916313905001a311eb185ec6b3dfecc5d6a58..a9d197f42e913ec8daa25173d41de2437190a0f9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c8ca2ad4c7849810162e98d3711e880b51b5bf44..f7d4cc28a062c6d34fec721e13d674c85f79e7a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 64e34381a200377ff7e2a7fb63a0e642466e9546..5b036a1b7432dc1364ae61cea42551e2539b12ca 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 772dc05c219e2fa9c563ea82796013ef67860cca..5ce684790d033c5e54c1c8bc3edaa74507d6552b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -30,6 +30,7 @@ from FeaturesAPI import addRecover
 from FeaturesAPI import addFillet, addChamfer
 from FeaturesAPI import addFusionFaces
 from FeaturesAPI import measureLength, measureDistance, measureRadius, measureAngle
+from FeaturesAPI import getPointCoordinates, getGeometryCalculation, getBoundingBox
 from FeaturesAPI import addRemoveResults
 from FeaturesAPI import addCopy, addImportResult
 from FeaturesAPI import addDefeaturing
index 7ab6fdfea2eadbbe7c3af18959a0379e491e424d..f8450c84acef29a6b5f46606a56b70cdb17d0a54 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 670eebfaa1d6435c0ba6cfa8c51250782dd4af6b..7e89dc5c2dd0280d1339c562d3024741532a7463 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 398742b465a7eae3f0ce667adb7f6d92e22f05e2..f0c7b22e8414a409859c3ab92c217ed204122a69 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c24cf70bc16d60a914d99d145d1bb2ed86f89ca6..31a947b19ebcc070241ab3171a766a801cd4ff4c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8586451ed963957b8837838803076a62cacc6142..6e2110eca9ac4a3a535ae2a524f77a2ac81f3807 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea499564a1667298fb9a1f32fdf8b1f6358500f4..00abaae5252f4e0adac0f13a2a2fe9034e9b42a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cb00809ee70dcb1891932e0597d8742f71f955ef..940e0609d52290690898e1dc75159ccd0faa3c58 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index be4670ed6e164721c25ba9182900aae34bc52e2e..ec94642fc20108a5e209d186f7204f9efab0052e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 388f448f9573d098a0a7e47b787c40fd43eed794..8d0e807cc8e3743673561b61c011c771049abc2a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc99ae706f5715d0308cb2f5a3d49a25130fc32d..1c70548570cb4a1f73c7481513dbcd141f5d795d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 92fdd4afe77957da09dcd7b6965f96d301c0187a..776e729f61e6b6ed30fea5f4e025b637dc8c7b22 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 90fe18fa6e59f55faf384cdc5ecfae30ecd6920f..063fff96fcf877d6f0a082d126d65f4c051bc7e7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -72,6 +72,13 @@ def generateTests(theFeature, theFeatureName, theTestsList = []):
       aResultsVolumes.append(GeomAlgoAPI_ShapeTools_volume(theFeature.results()[anIndex].resultSubShapePair()[0].shape()))
     print("model.testResultsVolumes({}, [{}])".format(theFeatureName, ", ".join("{:0.27f}".format(i) for i in aResultsVolumes)))
 
+  if "testResultsAreas" in theTestsList or len(theTestsList) == 0:
+    aNbResults = len(theFeature.results())
+    aResultsAreas = []
+    for anIndex in range(0, aNbResults):
+      aResultsAreas.append(GeomAlgoAPI_ShapeTools_area(theFeature.results()[anIndex].resultSubShapePair()[0].shape()))
+    print("model.testResultsAreas({}, [{}])".format(theFeatureName, ", ".join("{:0.27f}".format(i) for i in aResultsAreas)))
+
 
 def testNbResults(theFeature, theExpectedNbResults):
   """ Tests number of feature results.
@@ -132,6 +139,24 @@ def testResultsVolumes(theFeature, theExpectedResultsVolumes, theNbSignificantDi
     anExpectedResultVolumeStr = "{:0.27f}".format(anExpectedResultVolume).lstrip("0").lstrip(".").lstrip("0")
     assert math.fabs(aResultVolume - anExpectedResultVolume) <= aTolerance * math.fabs(anExpectedResultVolume), "Volume of result[{}]: {:0.27f}. Expected: {:0.27f}. The first {} significant digits not equal.".format(anIndex, aResultVolume, anExpectedResultVolume, theNbSignificantDigits)
 
+
+def testResultsAreas(theFeature, theExpectedResultsVolumes, theNbSignificantDigits = 7):
+  """ Tests results areas.
+  :param theFeature: feature to test.
+  :param theExpectedResultsAreas: list of results areas. Size of list should be equal to len(theFeature.results()).
+  """
+  aTolerance = 10**(-theNbSignificantDigits)
+  aNbResults = len(theFeature.results())
+  aListSize = len(theExpectedResultsVolumes)
+  assert (aNbResults == aListSize), "Number of results: {} not equal to list size: {}.".format(aNbResults, aListSize)
+  for anIndex in range(0, aNbResults):
+    aResultVolume = GeomAlgoAPI_ShapeTools_area(theFeature.results()[anIndex].resultSubShapePair()[0].shape())
+    aResultVolumeStr = "{:0.27f}".format(aResultVolume).lstrip("0").lstrip(".").lstrip("0")
+    anExpectedResultVolume = theExpectedResultsVolumes[anIndex]
+    anExpectedResultVolumeStr = "{:0.27f}".format(anExpectedResultVolume).lstrip("0").lstrip(".").lstrip("0")
+    assert math.fabs(aResultVolume - anExpectedResultVolume) <= aTolerance * math.fabs(anExpectedResultVolume), "Area of result[{}]: {:0.27f}. Expected: {:0.27f}. The first {} significant digits not equal.".format(anIndex, aResultVolume, anExpectedResultVolume, theNbSignificantDigits)
+
+
 def testHaveNamingFaces(theFeature, theModel, thePartDoc) :
   """ Tests if all faces of result have a name
   :param theFeature: feature to test.
diff --git a/src/PythonAPI/tests.set b/src/PythonAPI/tests.set
new file mode 100644 (file)
index 0000000..2781db7
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestPythonAPI.py
+  TestModel.py
+
+  TestSketcherAddPoint.py
+  TestSketcherAddLine.py
+  TestSketcherAddArc.py
+  TestSketcherAddCircle.py
+  TestSketcherAddMirror.py
+  TestSketcherSetCoincident.py
+  TestSketcherSetTangent.py
+  TestSketcherSetParallel.py
+  TestSketcherSetPerpendicular.py
+  TestSketcherSetHorizontal.py
+  TestSketcherSetVertical.py
+  TestSketcherSetFixed.py
+  TestSketcherSetLength.py
+  TestSketcherSetRadius.py
+  TestSketcherSetAngle.py
+  TestSketcherSetEqual.py
+  TestSketcherSetFillet.py
+
+  TestFeatures.py
+  TestFeaturesExtrusion.py
+  TestFeaturesRevolution.py
+
+  TestPrimitivesBox.py
+
+  TestMakeBrick1.py
+  TestMakeBrick2.py
+  TestPlatine.py
+
+  Test2044.py
+)
index 571a2810fc5f6d80338b31b29b475a04d75e4271..289f365e7c9dfc1d90bdd0dcd97d047d7b7c901b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -46,9 +46,23 @@ INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS(
-  TestRectangle.py
-  TestRectangleCentered.py
-  TestcompoundVertices.py
-  TestimportParameters.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/PythonAddons")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/PythonAddons/CTestTestfileInstall.cmake b/src/PythonAddons/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index c7d013a097687829fc465dd6681f62adf31e0e20..0092c9b2b964f22a40734782ad94733c43b3815f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 824ee021c3aeeffc03b8a419f1731096b3ac83b8..466281e5b35a607e56a93285e38267b7217f6e81 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 64dd87fc47e4c1f4d2c2270e2d55c120a0f4f1fe..03f02c994198da6ea3c8880b8fb1ba691873a72b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a10ca314882c13376715161c2c7d7f5f0ce5b705..b1e8ff4a3c6b82cb643172e8a15fc7981e325515 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4c302a0128c37cad3fd1c5a70690cb04561c4a1c..64fbca8484131a2a780a4c1dd17a57b1ff396b1f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 116c22dbaca09ba9c633bdd106830e4b7cd4d695..16c1feb835df8dcfe3ea14c7015449f3afa318fd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5bfba675bc19193f74d6e9435ee597c7b45ba971..14d18bc2d5216ee963cc0cccbd107791826a03c8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2614b9cee8651ea6235abd07823de7bd7f1068c5..6ccc820859df4ef35fc390574af9dacd8c0b829a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 25f3251005439412e56d1b2c5e7e3564b4b24211..a8ffe0e7ba186ae6ff9876b739804300622c00f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2614b9cee8651ea6235abd07823de7bd7f1068c5..6ccc820859df4ef35fc390574af9dacd8c0b829a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b98366117756debde02fa3d47aef3e92ef10f742..bfe49e196fbe28d1d23369ad4f48b61b89f97dd2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a7f898d193ac3a6a12356c582cf2ab582dca520d..5cd38a6135d95ab8a37d4236081536a7b354e833 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9e09564083fae67d6afacc1fce0708c904924629..7ad629f895e2be30deb929d77a7d57e62123bd5e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/PythonAddons/tests.set b/src/PythonAddons/tests.set
new file mode 100644 (file)
index 0000000..a71c233
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestRectangle.py
+  TestRectangleCentered.py
+  TestcompoundVertices.py
+  TestimportParameters.py
+)
index a3f1c93ee8a78b13fc4f960872ea3461570bdd6d..c54f62f8369306a0691a74681fb520c0cdb9e94a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -126,12 +126,18 @@ ADD_DEPENDENCIES(SHAPER XGUI)
 # The Qt5Widgets_LIBRARIES variable also includes QtGui and QtCore
 TARGET_LINK_LIBRARIES(SHAPER ${PROJECT_LIBRARIES})
 
+#
+add_executable(shapergui_app shapergui_app.cpp)
+target_link_libraries(shapergui_app ${QT_LIBRARIES})
+
 # configuration
 CONFIGURE_FILE(
   "${CMAKE_CURRENT_SOURCE_DIR}/resources/LightApp.xml.in"
   "${CMAKE_CURRENT_BINARY_DIR}/LightApp.xml"
   )
 
+install(TARGETS shapergui_app DESTINATION ${SHAPER_INSTALL_EXE})
 INSTALL(TARGETS SHAPER DESTINATION ${SHAPER_INSTALL_BIN})
 INSTALL(FILES ${PROJECT_RESOURCES} DESTINATION ${SHAPER_INSTALL_RESOURCES})
+install(FILES resources/SalomeApp.xml RENAME SalomeAppSL.xml DESTINATION ${SHAPER_INSTALL_RESOURCES})
 INSTALL(FILES ${QM_RESOURCES} DESTINATION ${SHAPER_INSTALL_QM_RESOURCES})
index f92d89f69d7bcc8891d76cf276a29844632f8d7d..dca57ebb0c45f7c0b0bab34e001be2d5436409a2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -174,7 +174,6 @@ void SHAPERGUI::initialize(CAM_Application* theApp)
   }
 
   int aMenu = createMenu(tr("Inspection"), -1, -1, 30);
-  int aSubMenu = createMenu(tr("Information"), aMenu, -1, -1, 0);
 
   int aId = getNextCommandId();
   myActionsList.append(aId);
@@ -184,7 +183,7 @@ void SHAPERGUI::initialize(CAM_Application* theApp)
     aTip, QKeySequence(), aDesk, true, this, SLOT(onWhatIs(bool)));
   myWhatIsAction->setStatusTip(aTip);
   myWhatIsAction->setData("INSPECTION_CMD");
-  createMenu(aId, aSubMenu, 0);
+  createMenu(aId, aMenu, 0);
 
   QString aToolName = tr("Inspection");
   int aTool = createTool(aToolName);
@@ -690,7 +689,12 @@ QAction* SHAPERGUI::addFeature(const QString& theWBName, const QString& theTBNam
 #ifdef _DEBUG
   int aItemId =
 #endif
-    createMenu(aId, aWBMenu);
+
+  if( theId == "PointCoordinates" )
+    createMenu(separator(), aWBMenu);
+
+  createMenu(aId, aWBMenu);
+
   if (isAddSeparator)
     createMenu(separator(), aWBMenu);
 
@@ -1278,6 +1282,12 @@ void SHAPERGUI::resetToolbars()
 
 void SHAPERGUI::publishToStudy()
 {
-  if (isActiveModule() && ModelAPI_Session::get()->hasModuleDocument())
+  if (isActiveModule() && ModelAPI_Session::get()->hasModuleDocument()) {
     myWorkshop->module()->launchOperation("PublishToStudy", false);
+
+    // update SHAPERSTUDY objects in OCC and VTK viewers
+    QStringList aVMList;
+    aVMList << "OCCViewer" << "VTKViewer";
+    getApp()->updatePresentations("SHAPERSTUDY", aVMList);
+  }
 }
index da44562d7782d766eebc9e9b5c48f9152e3979a5..6346618e6f8dc61e3869224b0f7436ff864850bd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e6a397b49ec585401c65e1418aa11c6e593a7225..98977191721ce81398f2975809d27f9c95d57c5a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3c062fb5ddbdfa1c4921fcf8d2e8d113e792352b..2b41149e59eceea0f8ed75489f4d0b2baea216f6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c7014932d1e46b2f6910f80a53cad1c825b28b66..491caa9287b1bf30eb396b6a8cb74d7f0e397b11 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 81a4c61268cee9e9cec03808b58b5c601076ca99..158d382722f57647b080cc5cffbeeb71b6900259 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ce9e145479a7ccf0a4be7c01889bb420e49c76a1..676adfe26cde17b68c5207bf9e4a01212cb877d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 97b4a06407f4dc6d2edee66c84508c23161ac86e..2be9af32e987e0d650bb48dcefe0e939cceee0af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4771579b4e384eede440dd03dfb8e4a0e8d6ff30..8762f187958186de535e52879e3302b4e4f07810 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 654aff4f3f8233edc817f059b40644f843363baa..f376129d97b00a7b8885240059aa0d03a2310828 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5118208f101aa5ce4001bcaa9f0cdb82eabf6a37..fc719abd45f4db1745b64aca630f61ac8f207138 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53690da8d85ca0f6aeb4660ade88f30adaecc20f..48ba65f674a7efea54708f27f28e9a77afa84136 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3fc03e485e2e5bfc7dcd397f5bf9317ce1ecb506..4d2a52825fbaa2646d58646a68cac6950298b508 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
diff --git a/src/SHAPERGUI/shapergui_app.cpp b/src/SHAPERGUI/shapergui_app.cpp
new file mode 100644 (file)
index 0000000..dd657aa
--- /dev/null
@@ -0,0 +1,61 @@
+// Copyright (C) 2021  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
+#include <QProcessEnvironment>
+#include <QDir>
+#include <QProcess>
+
+#include <iostream>
+
+int main(int argc, char *argv[])
+{
+  constexpr char GUI_ROOT_DIR[]="GUI_ROOT_DIR";
+  constexpr char SHAPER_ROOT_DIR[]="SHAPER_ROOT_DIR";
+  constexpr char LIGHTAPPCONFIG[]="LightAppConfig";
+  QProcessEnvironment pe(QProcessEnvironment::systemEnvironment());
+  if(!pe.contains(SHAPER_ROOT_DIR))
+    {
+      std::cerr << SHAPER_ROOT_DIR << " is not defined in your environment !" << std::endl;
+      return 1;
+    }
+  if(!pe.contains(GUI_ROOT_DIR))
+    {
+      std::cerr << GUI_ROOT_DIR << " is not defined in your environment !" << std::endl;
+      return 1;
+    }
+  // fill LightAppConfig env var
+  QString gui_root_dir( QDir::fromNativeSeparators(pe.value(GUI_ROOT_DIR)) );
+  QString shaper_root_dir( QDir::fromNativeSeparators(pe.value(SHAPER_ROOT_DIR)) );
+  QString lightappconfig_val( QString("%1:%2")
+  .arg( QDir::toNativeSeparators( QString("%1/share/salome/resources/gui").arg(gui_root_dir) ) )
+  .arg( QDir::toNativeSeparators( QString("%1/share/salome/resources/shaper")
+        .arg(shaper_root_dir) ) ) );
+  pe.insert(LIGHTAPPCONFIG,lightappconfig_val);
+  //tells shutup to salome.salome_init invoked at shaper engine ignition
+  pe.insert("SALOME_EMB_SERVANT","1");
+  //
+  QProcess proc;
+  proc.setProcessEnvironment(pe);
+  proc.setProgram("suitexe");
+  proc.setArguments({"--modules=SHAPER"});
+  proc.setProcessChannelMode( QProcess::ForwardedErrorChannel );
+  proc.start();
+  proc.waitForFinished(-1);
+  return proc.exitCode();
+}
index 5973cbe3d45e9049d00e0832764055f1289b2ebb..e965e121f79c6f3db41a5f11572eaa5228a60746 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 51610d9bc033c861581d5b08f84661b373a59c77..262639328295975d23a412b0488f23ab8f51ba7d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d309569a98d9930e210250a3f2232501a49e039..18215ea2fc6de8db4deec85c976b6907163a1a90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8a3bfed4601b9edf145fa0541b9e3d517cf45034..cc0d8afc6f4cce6eb89e366464e19ab16bce4b5a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b27e922d1e78bd2055c506418d8100093f748447..2b8d6f831e9c821eb131519fd136953829ed4727 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be83ab719cd4c3c0950d51070a82de05aceaf32e..a5ec2d1ec86bb4da4a09b44241fc068cd32a1b91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2e05b917e2c233dde0d41675ae07ac0e6a1714c1..0414b3107c6454fdb7662e93676286e036eacaf1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0a4bf75e37efa2b295965145875e9ef21a27b4a8..bd9f9c68fd992e834d04cc7c895c893862410f6f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a1a948639b5f928508a6eabbbc44c0fa5285a0a3..bc6499c79ef0a214ed3b7fa0137ae5f91cf74107 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a646a1140c9174bec3cb1218e9e1cd429955dd52..f4d42ccb4d1d7a306c8ede6f9926a36a54d475ec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d18a2daa912dd54b6ed5f239f7d962a026a82282..22608bd33125c041190bfc9fa76c1144d57777f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3aae2831fc94639597962c4d1ff90055b6c17f04..fd871bc995b2d0a0d725c222e034512aaacfac14 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a1c06fce605d0a1628b342859b101f9635865c76..76ce61a8599f85435f41f45a9bc75d4bf2526b87 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 734951adc2fb41141ed32b04a061e40f57f47c4e..2d0e40d1c3c8f81fb5fab7675af5e2af68affc61 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f073926ac5dde7191d360dcfcf81afb75b818f5a..2544b9d941cf0fef187f40fa6cb053a06ee7d912 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 67d0d0c2a8076966097e4efc377f5856b6a11286..7d9b2d3d4ddf665def838bee56f99889b1b37049 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2f484f8688d6aaa9e1382ed94f2dc5a91eab89ab..455d32fa93e8b95aa4913ebcfc62098c9a8ecb6b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b9fa6b0cd241544994323f3baa25b6d45effa1ec..0864a82291399e3ce9c2a323c9c0988b7555ef98 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6085d8e7a21688ceeb11edc640a0dac45fcb97fd..72ff75a270092c56338780267705eaa4d614e103 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2038e30f95f15523009c1aa98d24ccc46ecc359a..e638e92fecfa1d744ee6fdf61f3dabda43ee83a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index df69d787530bddc65e6b38d243cda0004ac0224f..1982f73ab5ce42c3c3e7817b14a49e7a99b02002 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d29446150f308296960b772353087f63e40085b0..a967d4125826031554eec65345758bc455ab5f60 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 57e38acad6f5ad0364f324bf424c73c022691321..da32377ca5ba01363b829668dde5f92b23c79d6f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ce036b2f77fc8610f527706be51bf96ab0b3bca0..0ce75bdddfc3c400afb1508f539e62a0922c380d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1aee58ea1e35dda1d201a865b62c59df51efab55..9f49a8fa2d49d18ce4984963abcdd67a1ee7862f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 00d02dabbc5846bb8d8ccc381ee54305a8e656ac..1e171c3ce0a470b63092c70fde77800c3a7ab0c3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 98d1337191e88ce4dde95ff2dac5c91493f067fc..5bd76c79993b17dceb293263b492b1ba1a235a2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4a01292f4254a74aba9d6dcb3f92b366add2a27d..1cf0baa99f720c0d3e97f8a6144fc14f27e122cd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9ea2ba8d956c1fa5f3d48900bd6342d9743ea348..bf3392c870b0b59886c6cb02f75a8d7f38b1a2e0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 21fff0c3fa47a986705be2e6f0941ca05cc08932..2956d1fe50fb85b11d21d9837523cf7096d5cce6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d33ea2dfa79da087d35fcbea1419630e348070a1..e69be9a60f8b8d8d79fe8d1c249c18021b54a90e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7c8c5542a39e2dd4747cbea65b82dc7bbfd7fdd0..1eb60ab2f3f160060f4e31c5da7e85b32edc1aaf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 02dec6f15df41d8d29ad11857ed34462fb80e6c0..1ee451073848102eeffc344a39435709dec10bed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c91071149a86c0b5adbe779a0d6d169504e2008d..51422a083989137ae42e071aeae464119a4db0b3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eea18f64473f5573a48c50b9ed539c258749f3e5..07a8ef843a20961ef615eac5978992391e6edcef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5ad20f26f0b96fc9a34229e0bae9f78dbc103f1c..32bec1ed3f7f994f3e184841d3715761287565b3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 559071b9c461e8f088a681c1a5de86c3bdcbfdba..a80ab010841766ba733d57019a7317d60e0751eb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 42319c94260142eabfbd8d1786f433050f320af4..b2d911eb8021f8bb4ba3596e4b87b9b3d627674a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a1ea1da27678f648ac4eb2e22fa2c677144fa806..afd22a68296f29ad87d28e355a46cf8099db2cbb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -143,9 +143,23 @@ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/SketchAPI.py DESTINATION ${SHAPER_INST
 
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS(
-  TestSketch.py
-  TestFreePoints.py
-)
-
-# ADD_SUBDIRECTORY (Test)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/SketchAPI")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/SketchAPI/CTestTestfileInstall.cmake b/src/SketchAPI/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ceaee95
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 99cfe73f60d3c76086f04ec1f47df74954abcf11..93e6c3af24437d97b23af5896ce3a4c8c57d14cb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f98f8929bc54a635bb75f87972656c03bedba29d..68d06e9651a5457b071bdaea60c2d573799f6b5f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8afc14081c2ea2c32ed023c79a2a2b8805c3218f..984e207270b94c4a3f0c4663e93f4862ecb32f92 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7315c9ec716de74e6563005d8c2d1fe6b2dd720f..eb51d689981a7ff7a4a8d09c13712fddd3dee6e9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 361f28be6564263595bd0a00e38fd8c78e86760a..c9be168c97bdedb5aea24ea7b628bf2d4e022b55 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 05646252335bccbc36b8275ed8d4595db0cd0f47..99dcfd2d85290d31bfcb2da3b1539262fbc83cac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 846fc0a4de950978f34d432b42b0156bfbd90166..7acd37656cae46c7da07702240982af1cf314ef6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7fba255e0548f07c9e68e71ed05894c4894ecb93..0d7d436377ee96bcc93c0dd8f146f0e44cd9eda4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9b0fb1827cdc663caf1a6422fdabf11942bf3b99..a47cd7f08175a5a64a11a6bdb70d806a2153b250 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 462f170f9d49af899f31df1312863e31e2df8a98..c954194a285c30d30c6f2bb21295b8908e5456f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9abfa460507829f66264b521efddac8b96b523d..92a0073b2a952f300643235cb885c1b455420715 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b7bd2d41d36696e482473847fec3e9bf97c2d1fd..57428ed6a940bfa35307fd4a69ce096500cca252 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bb0efcd1090e82f6551bc48ee1da1f3bcde94f4f..8fae9b88b3b1dd039681db3ac36301583e89a7fd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8f37ad6b033c695427ffabaee0163ae862ad0f26..f0847f729d50799fca3c3545ccf9bf5f4dc571b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 26d29942217e6790b1880be3d45c0551820274da..8d71f595a59e3a463af4360c3601a85b749f32e1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4f2418859f4a507f8b515a5fdd0e8db5dd9d2bf2..f3f8b9a9110ad7df43241834324e3f3531a443b7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 03d983cff125b7ca37786836fc00afea4000866e..da537be6ede1d3126a256708fafbd045f29eeb32 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7d9df79921e78c5aa2bc637d1923e464b0ed27ac..da00f8f37b1acb6e7ab35a3476a03007d0f33d71 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bd71d60c2df5fdabab7f7caa4fcb4abf0df9ee8a..3ab440bb3f37e7616c310e78627edbb3f29fd501 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5d150735fd282020fbbfb1c08ac84ecfe74d4f23..d0b32136d4402e818bc45a8262f931ae979451d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4c39985255a49b6d623d40e635f06125019dee6b..e57bcc03926ce1dc4fcc1c2810ab3f5094da25e0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6226bc5f9093d601a8467a771f857a86359e77e3..53712fee1d6a3ee1446d7a427b90594cfd1a350a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9855d4f1acd7d827f584cfc0414338ca467f70fb..c106e6ebfb9a0eeb52831b330621784d48b86996 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1eaf4115f8a51f31a36ce35b18548ad391bacc38..6dbc859657741d628fe25d31995a12c6639edb3e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7a8c4a04af3cfa2b335097a7eeda5331fffdc990..e667f5b0c0f4f812ec9383b894c283ff3801aeb9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 113b2e95e59996f1d9f9e82484b8f6e32897425e..89eb2b667ee8074eb79a4ecb13b389e9d22b8d7b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 47da7caa4b0e66fc69ffbe59f26d9cf7d579e506..e7723f6696f8299c12405c0e651263cba6c384ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 945638e9b668fd196c067dcd2c9ef4ad07a81601..3c4942270e1ff318cd6c40a815f6778f9f590d8e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 534f505768e58580d5570d9e8ec53c9f02e38026..bf6e2c522604d6eaf823083a3caa3d6589f11cfc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1530559fb89fdc8b1e60ec47b52bb739b1d6e52c..961fa92f7d262ebdb0d0e5065f1c4951196b1719 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 392d07fe0d1b653b6cde1212f6b4896fb4061159..3aa00e729f565c00c31c371385856b8cd407dbeb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -93,13 +93,12 @@ void SketchAPI_Offset::dump (ModelHighAPI_Dumper& theDumper) const
   }
   theDumper << "] = " << theDumper.name(aBase) << ".offset()" << std::endl;
 
-////  // Set necessary "auxiliary" flag for created features
-////  // (flag is set if it differs to anAux)
-////  for (anIt = aList.begin(); anIt != aList.end(); ++anIt) {
-////    FeaturePtr aFeature = (*anIt)->feature();
-////    bool aFeatAux = aFeature->boolean(SketchPlugin_SketchEntity::AUXILIARY_ID())->value();
-////    if (aFeatAux != anAux->value())
-////      theDumper << theDumper.name((*anIt)->feature(), false)
-////                << ".setAuxiliary(" << aFeatAux << ")" <<std::endl;
-////  }
+  // Set necessary "auxiliary" flag for created features
+  for (anIt = aList.begin(); anIt != aList.end(); ++anIt) {
+    FeaturePtr aFeature = (*anIt)->feature();
+    bool aFeatAux = aFeature->boolean(SketchPlugin_SketchEntity::AUXILIARY_ID())->value();
+    if (aFeatAux)
+      theDumper << theDumper.name((*anIt)->feature(), false)
+                << ".setAuxiliary(" << aFeatAux << ")" <<std::endl;
+  }
 }
index b4d9ca9a2cb26800a233985320b9a6f3a2d52c2d..13e105686325b2f69cc9714af4767cc3dd166a4f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f92660622ca3e902d5684c262609483184443b4f..6a4f651f0613e8c0e4200522320188f1ac22989c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bcbad56e84782113115ca7268700a80f49df9211..4fd35034814669a57bc54137b0d60787a5d7b49b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bee330063ecb5c3658fe1746e655e3d247057881..81f2b87d58571155abd30c2d87f3364fab6b66a4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cfa3af1ac21e24fb51d59b3ee324729cb628518d..c9c3ae1dfc2ae4f5dac3f9ad60b14ff4ff78cdce 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aafddf63e7be53b3d7aee12a0d29ca66b95820c2..ff45461c6278bf3835a0020c4502fb441a992fe8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3d17f2961fe80c0e57d810eb0e24fa96a91d707a..0869c21fb7b35f9d4f31531f9c166a3ce63d5e35 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4a83244cea932eb4336d14e7cb042193a2cd222d..7f752ccc409809c6a5efa7ba4eca13d01e3d7d36 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index beff1d64d8f073ffac1ec4d2c3137a48ee91ce18..6d7e2d988d71d5454915310929bd31bcd51c8039 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fa47909741698008bc2db9a56b05277cdd93841e..c191b45a2907b9f6301c7293e5630f16d91878dd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5f3b4e430134d03fa47208f6d5938ef34b91eb2d..bb83b18871ca5d7a065a5f9ef2fff127f61539cf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 67024816346a4df7ba4a1f7a6f6ffa949ac5bc8e..9b0c0d7501b8f358723f77550a7115272b3c3269 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7f693a35d710d1c2f1adbc6c670d42bbe3ccf259..c76844a8d04fe11354ebfd838435c8713dd40eaa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 60b88fbf6d27f96bce42dc7ab6a12c0706deb78e..becbf2a99bab8f38fae503e055781d137361dda3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d0ed7840f7de9dace8ab5b1475e430296be25230..4d9c38d2fe3ea50f2a91005066b26efecb2f2856 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e43232dd3b6acaae6b9fa9de0c81ec917fb72152..2769ff17410b0d9060bc578303e220c1ec3857d5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 012f404b0e18aa604595636de58687e5cbeec17d..2c54a43575f667c790e32eaed5d61b97b1388b1b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea656e9398a04ddd62a162e89b3109b1a1e4232b..25045ae18a591d1e20d22ad82bbda277145e38e5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/SketchAPI/tests.set b/src/SketchAPI/tests.set
new file mode 100644 (file)
index 0000000..ed1414d
--- /dev/null
@@ -0,0 +1,23 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  TestSketch.py
+  TestFreePoints.py
+)
index 32983bd0b7e7442b16fa9288d58ff3930e2f3bf6..2fd3420d0757eecbcb8d19c251dd94607b08b2bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -183,234 +183,38 @@ INSTALL(FILES ${XML_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 INSTALL(DIRECTORY icons/ DESTINATION ${SHAPER_INSTALL_XML_RESOURCES}/icons/Sketch)
 INSTALL(FILES ${TEXT_RESOURCES} DESTINATION ${SHAPER_INSTALL_XML_RESOURCES})
 
-ADD_UNIT_TESTS(
-  Test1061.py
-  Test1577.py
-  Test1578.py
-  Test1673.py
-  Test1779.py
-  Test1924.py
-  Test1963.py
-  Test1966.py
-  Test1967.py
-  Test2034_1.py
-  Test2034_2.py
-  Test2034_3.py
-  Test2062.py
-  Test2095.py
-  Test2115.py
-  Test2119.py
-  Test2134.py
-  Test2157.py
-  Test2157_2.py
-  Test2224.py
-  Test2229.py
-  Test2239.py
-  Test2273.py
-  Test2280.py
-  Test2287.py
-  Test2341.py
-  Test2376.py
-  Test2390.py
-  Test2393.py
-  Test2425.py
-  Test2427.py
-  Test2440.py
-  Test2481.py
-  Test2654.py
-  Test2711.py
-  Test2741.py
-  Test2810.py
-  Test2824.py
-  Test2860.py
-  Test2894.py
-  Test3019.py
-  Test3087_1.py
-  Test3087_2.py
-  Test3132.py
-  Test3154.py
-  Test3170.py
-  Test3240.py
-  Test19089.py
-  Test19101.py
-  Test20274_1.py
-  Test20274_2.py
-  Test20274_3.py
+include(tests.set)
 
-  TestArcBehavior.py
-  TestBSplineAddPole.py
-  TestChangeSketchPlane1.py
-  TestChangeSketchPlane2.py
-  TestChangeSketchPlane3.py
-  TestChangeSketchPlane4.py
-  TestConstraintAngle.py
-  TestConstraintAngle_v0_1.py
-  TestConstraintAngle_v0_2.py
-  TestConstraintAngle_v20191210_1.py
-  TestConstraintAngle_v20191210_2.py
-  TestConstraintAngleBehaviorDirect.py
-  TestConstraintAngleBehaviorSupplementary_1.py
-  TestConstraintAngleBehaviorSupplementary_2.py
-  TestConstraintAngleBehaviorBackward_1.py
-  TestConstraintAngleBehaviorBackward_2.py
-  TestConstraintAngleEllipse.py
-  TestConstraintCoincidence.py
-  TestConstraintCoincidenceBSpline.py
-  TestConstraintCoincidenceEllipse.py
-  TestConstraintCoincidenceEllipticArc.py
-  TestConstraintCollinear.py
-  TestConstraintCollinearEllipse.py
-  TestConstraintDistance.py
-  TestConstraintDistanceEllipse.py
-  TestConstraintDistanceBehavior.py
-  TestConstraintDistanceHorizontal.py
-  TestConstraintDistanceVertical.py
-  TestConstraintDistanceZero.py
-  TestConstraintDistanceHorizontalZero.py
-  TestConstraintDistanceVerticalZero.py
-  TestConstraintEqual.py
-  TestConstraintEqualEllipse.py
-  TestConstraintFixed.py
-  TestConstraintHorizontal.py
-  TestConstraintHorizontalValidator.py
-  TestConstraintLength.py
-  TestConstraintMiddlePoint.py
-  TestConstraintMiddlePointOnArc.py
-  TestConstraintMiddlePointOnEllipticArc.py
-  TestConstraintParallel.py
-  TestConstraintPerpendicular.py
-  TestConstraintPerpendicularArcLine.py
-  TestConstraintPerpendicularEllipseLine.py
-  TestConstraintRadius.py
-  TestConstraintRadiusFailure.py
-  TestConstraintTangent.py
-  TestConstraintTangentBSpline.py
-  TestConstraintTangentEllipse.py
-  TestConstraintTangentEllipticArc.py
-  TestConstraintVertical.py
-  TestCreateArcByCenterStartEnd.py
-  TestCreateArcByTangentEdge.py
-  TestCreateArcByThreePoints.py
-  TestCreateArcByTransversalLine.py
-  TestCreateArcChangeType.py
-  TestCreateBSpline.py
-  TestCreateBSplinePeriodic.py
-  TestCreateCircleByCenterAndPassed.py
-  TestCreateCircleByThreePoints.py
-  TestCreateCircleChangeType.py
-  TestCreateEllipseByCenterSemiaxisAndPassed.py
-  TestCreateEllipseByMajorAxisAndPassed.py
-  TestCreateEllipseByExternal.py
-  TestCreateEllipticArc.py
-  TestCreateEllipticArcByExternal.py
-  TestCreateMacroBSpline.py
-  TestCurveFitting1.py
-  TestCurveFitting2.py
-  TestCurveFitting3.py
-  TestCurveFitting4.py
-  TestDegeneratedGeometry.py
-  TestDistanceDump.py
-  TestDistanceSignedVsUnsigned01.py
-  TestDistanceSignedVsUnsigned02.py
-  TestDistanceSignedVsUnsigned03.py
-  TestDistanceSignedVsUnsigned04.py
-  TestDistanceSignedVsUnsigned05.py
-  TestEdgesOrder.py
-  TestFillet.py
-  TestFilletAfterFolder.py
-  TestFilletInteracting.py
-  TestHighload.py
-  TestIntersectionChangeEdge.py
-  TestIntersectionWithCircle.py
-  TestIntersectionWithLine.py
-  TestIntersectionWithSpline.py
-  TestMirror.py
-  TestMultiRotation.py
-  TestMultiRotation01.py
-  TestMultiRotation02.py
-  TestMultiRotation03.py
-  TestMultiRotation04.py
-  TestMultiRotation05.py
-  TestMultiRotationWithParameter.py
-  TestMultiTranslation.py
-  TestOffset1.py
-  TestOffset2.py
-  TestPresentation.py
-  TestProjection.py
-  TestProjectionBSpline.py
-  TestProjectionBSplinePeriodic.py
-  TestProjectionBSplinePeriodicError.py
-  TestProjectionEllipse.py
-  TestProjectionEllipticArc.py
-  TestProjectionIntoResult.py
-  TestProjectionUpdate.py
-  TestProjectionWithoutReference.py
-  TestRectangle.py
-  TestRemainingDoF.py
-  TestRemoveBSpline.py
-  TestRemoveBSplinePeriodic.py
-  TestRemoveEllipse.py
-  TestRemoveEllipticArc.py
-  TestRemoveSketch.py
-  TestSignedDistancePointLine.py
-  TestSignedDistancePointPoint.py
-  TestSketchCopy01.py
-  TestSketchCopy02.py
-  TestSketchCopy03.py
-  TestSketchCopy04.py
-  TestSketchCopy05.py
-  TestSketchCopy06.py
-  TestSketchCopy07.py
-  TestSketchCopy08.py
-  TestSketchCopy09.py
-  TestSketchCopy10.py
-  TestSketchCopy11.py
-  TestSketchCopy12.py
-  TestSketchCopy13.py
-  TestSketchCopy14.py
-  TestSketchDrawer.py
-  TestSketchPointLine.py
-  TestSnowflake.py
-  TestSplit.py
-  TestSplitEllipse.py
-  TestSplitLine.py
-  TestSplitPreview.py
-  TestTrimArc01.py
-  TestTrimArc02.py
-  TestTrimArc03.py
-  TestTrimArc04.py
-  TestTrimArc05.py
-  TestTrimArc06.py
-  TestTrimArc07.py
-  TestTrimArc08.py
-  TestTrimCircle01.py
-  TestTrimCircle02.py
-  TestTrimCircle03.py
-  TestTrimCircle04.py
-  TestTrimCircle05.py
-  TestTrimCircleAndArc01.py
-  TestTrimEllipse.py
-  TestTrimLine01.py
-  TestTrimLine02.py
-  TestTrimLine03.py
-  TestTrimPreview.py
-  TestUpdateSketch.py
-)
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+include(tests.set)
 
 if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
-  ADD_UNIT_TESTS(
-    TestMoveArc.py
-    TestMoveBSpline.py
-    TestMoveBSplinePeriodic.py
-    TestMoveCircle.py
-    TestMoveEllipse.py
-    TestMoveEllipticArc.py
-    TestMoveLine.py
-    TestMovementComplex.py
-    TestMovePoint.py
-  )
+  include(tests_change_radius.set)
+  ADD_UNIT_TESTS(${TEST_NAMES_CHANGE_RADIUS})
 endif()
 
 ADD_RESTRICTED_TESTS(
   Test20204.py
 )
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/SketchPlugin")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  if(${SKETCHER_CHANGE_RADIUS_WHEN_MOVE})
+    set(TEST_NAMES ${TEST_NAMES} ${TEST_NAMES_CHANGE_RADIUS})
+    install(FILES tests_change_radius.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  endif()
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  
+  set(TMP_TESTS_NAMES)
+  foreach(tfile ${TEST_NAMES})
+    list(APPEND TMP_TESTS_NAMES "Test/${tfile}")
+  endforeach(tfile ${TEST_NAMES})
+  
+  install(FILES ${TMP_TESTS_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/src/SketchPlugin/CTestTestfileInstall.cmake b/src/SketchPlugin/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..ef551e8
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+include(tests_change_radius.set)
+
+set(TEST_NAMES ${TEST_NAMES} ${TEST_NAMES_CHANGE_RADIUS})
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  add_test(${TEST_NAME} python ${tfile})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 5e762b5732b60c9253a24d151d6ce5f23663a163..9c7b10255dd2573a6d23a9795eb7794c9f6b75e0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f4f21cc87bb2fd98d62a455fe090c1daed53a9c..2b0a6c96f495ffcb0b9532939af9f290197cddb9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b2fcbe809ff9c2da3f30c56837d8925cc4cabbd0..36791418ecfdbd45885278b22b576dcf7831f119 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 01835735db0586cc4ccfec85d45f2b5794c199c2..1772ecb639ecd342d3701d80254017e1307c8334 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ff27cd3a3d6b8bf37f13c1696cbb4cf04cc177b4..e162a5795bd7e272dc1f4b56ef6072c5bd0d435a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4bed76ce3fa013656e1f4fb3d9f13c2033c1c1b6..0a3b36fbe718853070c7d72ede25f52987ebc20a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fc75396af57a46991eee4491bfa386f59ef6d96b..fdfa285da80da511cf2fc015d50178cc7a9bdae2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index eb5fa748a1bcd21fcd55d58cdb2d2941ca0f7540..b6d29c736cce195301992f327eca8ba3727b8cbc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b5b4e625ddbecb4b2645bb91e38ad154cfca38ee..abf58418182ce9242e0bd6de550ec9c8cf82075b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f6ffe1b3972eb28b422ed0d25ce2f7d700c939ea..c38707a12b898669808b51efe24e0045296ab9b5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9a4ebb0b95cd9885abea3dc012b845a084a16f48..dbcb9f29b05d39d91ae1325ea8f9676209362e4f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fcb68a784ecac8cf82faaa70d59036ccd1e2f3fd..895835aa7e4e1413a1af163c94d36f61dccf4eae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7d36c8f5efced8545862901892698581922a36d2..be9db5e0be188c4b684359bdac8c97200c1d5697 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 20c25e9cd553f29ec8b41af0c05d49a77a18e677..4be9555b38581e0f17e4115a52ccb58882198177 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 13bedb3d59ef9f8511677438622b5a741fb46fc1..96c2e2181463e1f26a59d9cd139bc5ce92f0dab2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fcfedc192ba827017ea8fd5d46a9fbf7d01fe14a..3c94eace90ef251bb9c31f32b15a35ff94b9aaf4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f7eceb070ea20f0427c6fe5b3ea8b3ae735b33ef..0b9db941081af65686922a441f9c13d09723ece6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bc01d75ab1e5e64fa1931e6d4f508a951bd95b06..59443319b3cc18f8c83ad878fc71edaabb587614 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e01c44fd2f114b76783dca19fb0251fe284ba55f..3a65a7dccc64b8e37ee1883bd8164d69cc9e5df8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6bbcf21d4185865b8be6c06156a4d5437751180a..04a7421e605ca83077e225f524b64c4e89751f6d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bfefb0e824f9da2386632f008b77688de206c83c..9bf49de3b613b0738341a7c6fd36f7d662a92c5a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5488075b766c1a39c021b545b978e0133e1cf2a7..382b620dd0b93e06c5a64790789bf1a827e8a6de 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fc0c36630d36f0e779175ad8d2632663572d2b0e..719e4fcd282e48eb3a4e8b34d011cefe561e93f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ed2dfed6cd568e2991de88e80f14d36b1f1aa79f..6c3e82a4c88743e42df592be587bc45578081a39 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f1bdee2c0877fca3545322cc71aa87d7ee6d4586..7a29c44be396497b5e10665a454da13c4a76f10c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 03d9fb065b3c809197544b315eb5a67387c4127f..0a23f528a2473248f35d2f0c0299a0ed2f6f19f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bf116f723db64e39f59fc0349affb6c1773a1660..f598333f811005d9b83fb8e3ddc3d3124ff30527 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 592e516b98c84e816799229841140c8576e621c6..c66d296839bea50e1f2f8e410b8e9f8cca2f6744 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 83d005365e6a751b910bcf25294b180b4c34a0b3..33827ca538b468629b026b4faa3defcc45e6d502 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d94f150b9575a6281c99311bfe2c618f5bbabf34..0c94837e2178de73b6f40d0433716442ad4165bb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e37530b7632c1e0768344d0fa8d0ba14a32111ca..28ab8b8b964e17bbf7cebcaf99d7e5139f1cc991 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7a3e214a36105b251a752fca8408f6ba455cca0e..4cf596b85c2f37dab0593d16e2f2ea5ea5dba3d9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f256187a85b7b916ebb526756f2c7e073b2dc1a8..4dd32ece4f49604dc192cbcf727b1890f2ecc66e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 591c8423a610eb1b1a3f65bbc07ac90e0697836f..3094d97381e69a7f2ec79d0fb068a7e2c1be4a97 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 646d93a5dcd2207bf4b6d7fadce8407a973f0f37..ada7fa1d3318cca3dd3f2ed8f42b6ff149468621 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8869e866fa6ca531b33998bc83838cc85723d9cd..00575550ec252192bc753a865bda1292915cec15 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 796447271443bebe9ceafc53592663a871d48289..8a671341d4527da06deca77cca2d4e7c94a811be 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bcf37da9f2c861d15a6b5056e83db0e5f438f5e6..beaa3cc0a46bf757c20a61bc90fcc2b08f568b5d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 009e9ab448eeeee7116026f4797f1ebfe976debd..4eec31621f4ea90c8200a6aec3c6c2792061824d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be60e9dfbe1b3165afe92fa935a912092872b854..ca79d21a803ccaf8991af5191cc15bbef816fda7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 19e43ca8d7e2169a7b148aaf6b2c21687e66b3e4..1ad1f1a11c0eaa3e9826c8aba814803e5cc5cf40 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a64c8cbf755a62a6bb269f21561faf8d56bf5e1a..76b0c97073cb681f768c551411328a2fd790de7d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d59cd867db28d8e57fb32cab0bfad25022475d88..369c0bb47d24df0838dec74016ac70f324177987 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0f27d29a26b90251174d0a46172a4c2dae723933..6c20cdda22870c363ad4a5574508ab4062ee7150 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2acbc1ce6989f13e112df4dc11611282ad471ddc..7916442e33e04df9c98698c3d6f104df6e7b1156 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5f8879d44886e6f8016b211c47b267c28bae396e..67442d58c55e413f07b3d878274eabb43d49c931 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d17b477b0677c1f4bf329619059f2dbe912bc7d1..be9a3a8641123782d9e8fb3bad6fe498be74e65b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0f3298580112b8a87850ec08a455d7e9331e3fc6..11d2a04cb426f4c70e09289e141ad07234af460b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a54358466af8cab8abc9ab217eac2b6a8552027b..dcb95e66b2729db1d429dd6fbaab0662f9d5c974 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 034b5428e6054451e71717e112c6eefe1d58ddce..69b67d50dbd757d770907d4e5b612724314f863e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 917cfbfb54fd025569d186c23b3d6c085c345436..462a9a00b93ed8c59cda8de45ad62b949fec408c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dc533a96fe35eae39111ed5851bc741d1e47d11a..290d7e7c10671b512490dba591025910558b7997 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5f9fb8a71ad15fbd006b47e91f809d385bbe096e..804eb865448b2fb897925886df000a321371abc2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d7c8b64b1dfb856feedc45b855abac6caa666c10..cfb9c3b8d9d6574bb310a31268644764b80dfe2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6ff0a30216d053d61726816b6a0dd2982ac810c8..437ed315375c3f806151465232db3c7fd6df5ff8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 57f96399a35c901121f0e3da349109c1d0e96568..5cc469143b0f819866316dfc33c886c805e52ae2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7ae74a15d5d6507a58fd7cbec06acf30ae596033..9722877d1fa8f283bba2651e639c36307c9758c2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 95dcffc5d7ca3838e9e5c8fc07c086e0d98e6d08..2488ec2041ce48bed3aa2518ca97aeb95d3ff912 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 37339991393600fc681e2fc8d16ad333a7179d5a..cef3de735494d17fde8480ec9142f1fc818060da 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0ae5dd9cc6f989ef1694f862f2dd1a3ea8818f39..106831363101e3622509a387edfccb8eec966829 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 437e6d27c527c794480c7f02c2e0aa5e00a5c64c..6a1dcefc552958f7a434c57a472b6c44a2224abe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7db903d7cef50080141d839a5398d404149ba494..300cfc8b4ee68e23223ce4ced12995bd7252593b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f4281991921b6c78589dde6ec7f2f8555553fc72..8fd28ecb690f14be18060d8e64c5d54a54b5cddd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4662a02e15d3659c8bfb26ddf2f95ffdd285d25e..20dc4ec0aaba96e064c3277c2846f91fc5c9626b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e0c6ce1dedbcd5f532e9db8fb828c988b4832e81..ead725a47e71ed49e01e25895ac1b9822b36bff6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c73160afed42e25a49751e4a79c0e79512a82421..a406ee0c50c4e352b8e94b69b5f03304eba76534 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9e0cffb4711621aad0532c0305137ef9b6dba81b..22e152ab5e7a9f0539d66926b0f85e33cd1fd90d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c089314d415c1808b262c824ac75184571cda2d7..cbbb91de9a72734ae60a953a8c7ec527a0315a05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 936163dc6f011938e67ca43afd9ecf1f6136adb3..330bd70c3d1677d8b695bda6c7c39b3db0b5f3aa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6bf909dec8ec58ce8ce6433d65d185488a8afec2..5e9680817b9858db54f46b5ca19a28a920357f87 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d2cbed7f51191a72744c409737fa1ada96c28a04..29ebdd5e80ec29eea893f726a8d8abb6001f044b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 497288dfb5991d5035bab84d5c0afe6f5ee17742..a887c1aa61bde2e8e0e60317f109b6d629d7219e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1c3aca6d7d7078e3b55eebf0dfc808af6851a9f6..4598e45cbd798b854d0f667136585cb2b5cd901d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6822989a2595b3f2ad58a405904b97c9f9f50dae..81899a4af1fc2e0cdec78dfb9c023e4070e77afe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0ef428b4e31f5086bedcfc7b4985046f20684201..eb11b31f2b5dfc5f338d6a39fdcb83647588ea8f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2226cbfac5c912244d5aa5c5d4a1fe04bd4094a9..d11764a6004e94ca8467d9ea9e4fe56e24007464 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 261ed67dfc9db26c1a099688a322c174e71894d4..590cf53402b510245fbbb169e7da84a70b9866a9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 35ae7220de41523dad3e43c0d169dab893acf621..192884dbfb0a7c37d1abe43c22a77eb0f4220ac8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 959f9089ede1e5b69e7c29db3f89be6bfbe42864..30c50c45c9d7047ef07e9d04af933e5d423d9e42 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 90aa282a54599510dbd6e9182fa2f5130905eb30..8bdf4ef847b72b8abf595c2a42fa21231b6d712d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 735ee4adba78ce6287288ae0216e2fe665a51099..b31baf2655c124def10356e3f63294b34e2efac8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cfbe0a1371a11f74791a134b2500c3ed6a5598f4..9f203ef6b7420eda9812a0e17879fdf8b023be65 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0a33a86ebc1839cd65e958a6b542977cb38700ba..82eabb582d0b009fb79a70644f16f27d1b6d61ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0412143d037fc9226cf57ac585c0565b3029c6ea..258fdbb8031f3e5b62d261fb5d454930323bfbb7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3a809f302fb0be8b487ca6d79880b03c6327045f..c18efdae3c213c1d1bb5f6af865e816322e90298 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b71ff3c37889f6dda4790a9aed34e0863bab772a..8107cffa5ab0f2c3413728c0ce1021c8022c39b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b9ea2173e5d70ccae525d9368f22f591784e530d..7cc8fde0f3221df9314e7900887443de0f74b2c0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6191aba54862e6f74b19a38aa2847d273784d2cb..5649f93c226748e2db4504e480b9f453f1f9b676 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ab19947b71339657cab810672446f2195b182e1c..f3ea4c025f29361d61e6566519a2191ef867142a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 48d4a7323e82ee7de6cc4b2b17053964193b328f..afedd33e3a3fdb7f48a988a1027d4c9be05243cb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd39b8c1670987ac390860060b6c62789abe44fa..6bfd107666b614afea21dfcb2ea1082e8b3070d0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d7efa170f9a61b0f9a22556ba2551e18846f9a05..cf87f3b78f4d0fd21a673b9ff297db3977288df8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1fe57a53493099db58cd9f6a9b2ce30c583cdeaa..cb9a044c21e9ee920f90ecf521a3882e7127bb11 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fc462cdab92a881540ac7651d237cba02014aba3..ae3430f314d0485c245af129776851813ae69f29 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cad8ed6d722a56f776ad5ed2316481102295c86a..6ba1d6065caf517a6569fe3eaedc1851b483c25b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f9b0436276624a4066f687eef5f379382dfa0490..06f43962ddab73fd04f66e5976d87ee9d524c3a4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index de423d95aeb455e5a0d2237c37f1497f3bed3e05..586cccb0b6e672348b578a0b81ddcf9fea180fbd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e44941948ddef954ad378c36e30d6257c85540b5..476e0ef09a2e3a48d11e16d960a6e089d21989db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0fabd0bbb61cf2172f798354cd29f7d2e203e4db..f6480d1a1d637858be61d4e1cfe047bb767328cc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a4707a8da54fa3520d91a9f65bf85f2b0c460d32..26d11b876f5002b81b975d3c191d6e1d92aeba1f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dbddf36c388855a95984444a9c9d248338934e0c..86e556ddc0afa02318584531680363bdb2b52dc1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f6db08feccd65c9eaf8ed9172d515b151bd61018..ef885ec1e3ab7390ae9c86fd8edab3eee20da1a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5418f7c2f46a6904e2179ba3767209b9f8bad8be..6f46bdf1ae87f9e0d9a156777df35f1792babc0b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e530af81d05908df4906756ce0343cf2bee5ad6c..ac948243ebefc27a9d4a1d3478a838503b1cdf61 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index af1f0a2c59e45761c4d8c31ec0af3ed1dd6e3456..9db9c86401cb66c37de418d893231f9a4b95dede 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 18c9f81c248112f3850cf229782089f9d1ba88ae..bd8408eea736922fd5c00a05b2b27e8e71cac874 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 01c1f4f3a739524e9034781006d9919b7613b381..3cb49701fed6bbc61b0584856d79893572982978 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c0d74d4f5a186ce3380c2bf580832d90b3f8c08f..d8f481d9e3e6b9e132f10083a3d32231be78ce7d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a0713a6eb7eb5242bd8325e55c85a210f1393994..3243e1a3789d9a4f4f40190bf7859df5df79cfeb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2ec1ef85426178508f8068ab3c9ffb83764b6895..c5e8a7d01504a6aa44cd2b2cb786545373bf95f2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4caa894e70e0d405f94c3f3ad2a3904e1734c7f3..e95c441e89af4be027d565cb790041f363d1d7bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fab9427fd2915d2f33b25916684aea338c116998..fb00beaaa533b5ffb80a27dd2403046f10cf28a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 56a0949b5195518263a2c302604252b65ae1bb18..dbf9ecb0a82d8e60f50211662fb32d422f60c7a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a44bbc8b9e7425223eef8b732049cb717cde1b44..28a9968e6dcaf06ab558f09c7a041533bbab7072 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 982a15a3e99c1a10650425cbc4d4683a41bc5737..fdc4a66b198a88f0714501179bcb1b08de9bc385 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3a85e07a57192e13b3d5db07e2f3b8c9b996573a..fc13818e14b8035bf0c48476c55a762e4e762205 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6a7eae4490b2bc5ae18069c46895e4a9d2059aa2..905c9e576d7c9feadb21c4a1293a569cc2022f43 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bccd6cab4cd6a73370768b018d47c2f12dae64ae..562bde06757f08062e68abd2d76831f7e1fd1397 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fd2dda4b9ca7dca42f3a3cc44a75197d5605e621..0b55c821fd5842c66ae5e4b5e1f8d704e53d6ba4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e083254cddba91a3c39daa3c08bc661eecb09f11..0429752c917cdb9e004b3cb6aabc6a96cad3020c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b6780939836118e3d87ddaf75c2e008589e3f81e..c55a05abc72deee46df4a136cc56e14127d4888c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index de30b85cc6a09d6a88e2ee8b216c25c334aba36f..e6335120d153bc8edc244c1a567288224089f22c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 96cdcdeb3f323a0da1d81accc977dd4986698b2c..8b39cbe6288921e487767ab6e3f138fe8d10e6fd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 36d9fa0b5662a95c2b7974fee7d45af1b3b96af4..7de4306220b4e1be00a74dd90ad9572bb0afb827 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bcbf9cb37c12b1336c6deaa021888669919d7fb4..85fb68c9d6331ae16c444a69055cd0f132c79fc7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 04e73717a93a2fcb7134d06e3b59876e36849aaf..7ded673990c020535c21a72807b086c2a1c0c087 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 96c36a8ba47c18ed97ce847a91f3e3725d25d85f..cd41ef3ff25f59d909c81456c7bbfaf1c94eb3f0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8b4709c70ea00a86663144a1114fb4986b3e9cf9..7fe6fc88310291682f19bd17da0bce0f9491fb04 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8fc6cf6ee04bc4836bb91d4b9f5b1140ad252581..479ade568c1ed66419aba09dc22e226db21f8841 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aa84771ae815004dd29d10b1206bd06acabe2039..e2a1053f0526ffde40223bcaa794e0f5f086da83 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8e8ae4bd434ba31a328a96ab0675b9ad57f36280..99b6d9e9ec73ed45da37115d39ab780f8eb63650 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 83204de89fe5a6eeb586cc5536628d1599dcb726..76c8113b3b25f55503a0f7193dbfef3bc6fcef85 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 411d2be867eb7ad48455a5b58bea7aeb9298a9b9..e2ddf51ac064869da8e84632e2235584ba7420c6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9d9e504e4ac9e639e441a0900544e39330f8a26e..30cf016fc8479c2f4a8ffa4693aa5405ef5245e8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 279b17328c0facdd5c8b4700413e415912ecbe23..90f86b1d12e0ed3bac859012c9140a3602fa2f38 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 336db4a2be3f9f8a296e89600bae5e138eeda0bc..ef380ce7c122b5350d516966cdd96a8d7a2202f5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8d5091f60fa06d24fe5f14ded01da80fb3a4bc36..7b9d4b6a8cbf8a1175e2b750fa038803aa970dc8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index caf787bbac64dbce9f0f1e2cae4ffabe88b87395..4cd85e51d74a138858a766f077fdea631bf40459 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a12e2e3e496973b49a41d76c06d14d2646654f0a..8380b121d74f4c76b39cab4fe23370d68a758135 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b1cbb1cb4a890d9a17c53e8b743397435ec16a48..2a3e9d0fd80605ec21189a67c398c2f162f8fe44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b80167bc776197efa3e109f2bc168157c3a37aa4..30ed0c2415b6d474eeb15b6f200229139d479bb1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 804c68428512696bf1c514ad925a20de98f8e72a..201320855e02cd1705fe47619f990c4f376a5919 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/SketchPlugin/Test/Test24015.py b/src/SketchPlugin/Test/Test24015.py
new file mode 100644 (file)
index 0000000..c972d2b
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+
+### Create Part
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+
+### Create Sketch
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
+
+### Create SketchLine
+SketchLine_1 = Sketch_1.addLine(-62.43672548686145, -3.439140342201228, 39.05146750980462, 70.99404207935532)
+SketchLine_1.setAuxiliary(True)
+
+### Create SketchEllipse
+SketchEllipse_1 = Sketch_1.addEllipse(-11.02958888389993, 34.2637358599971, -5.505025597864623, 77.21113625278682, 25)
+[SketchPoint_1, SketchPoint_2, SketchPoint_3, SketchPoint_4, SketchPoint_5, SketchPoint_6, SketchPoint_7, SketchLine_2, SketchLine_3] = SketchEllipse_1.construction(center = "aux", firstFocus = "aux", secondFocus = "aux", majorAxisStart = "aux", majorAxisEnd = "aux", minorAxisStart = "aux", minorAxisEnd = "aux", majorAxis = "aux", minorAxis = "aux")
+Sketch_1.setCoincident(SketchLine_1.result(), SketchEllipse_1.center())
+Sketch_1.setLength(SketchLine_3.result(), 50)
+Sketch_1.setLength(SketchLine_2.result(), 100)
+
+### Create SketchConstraintAngle
+Sketch_1.setAngle(SketchLine_1.result(), SketchLine_2.result(), 0, type = "Direct")
+model.do()
+
+model.end()
+
+assert(Sketch_1.feature().error() == "")
index 0b2edf5203b50b2699859f667a33bca625c644ee..3e8dcbb7725193c9708ff49faa3c3e5380a29920 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc66bfb5b3f7e3e2f2843ba527485590d5e38b65..38f71e1a77559ffe069fd505f56d0adceb5a78a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0f69f13e3716f298604a2a3ac2478668ecc65674..1eb31e12c031ab8fbf90264c11e9653f372d46d2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1b2dae6044b8ef34c63f8c15a129a0190dff3f12..52da2c14a9058123c5489b2646c65001c390d0eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 148f145c408db94de91c1d82fecee1c78754c482..4714c6db3e59a81d854fee74bc33684d18584297 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fbedbf426f40f09bcf9ab0734c1d63aab92216e1..c23221fc345021300253a9afe1aa0e2a2ab82ce3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 441d794a0073e39787541b6f3e1829e4e01a05d6..aa09827a143ae7e87c5a4530b185dba54cee2a1a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b94e6861a609c8b04937aaf8680a6461f5414180..4a0a48d2dabe703d70f635eb9dbda3937da2278e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e13023afcad0db73167c83617df05dec5c6e06af..8e03d3064dd16e5654c1442f8048be1cb9e58d5a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7fc1d91b199f7d46e5d05026d3e49dc3c4e9b0e5..db3d070054a5948c2976af9a93610b40623b7ce6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f462aad74abc1110e9bf66b11aafd21159a6f670..7374598014f6e3c03af52388209d60b26a1a9246 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 937250a34de74ed0f63c73c2a2d5ae468d00b77f..76e027aa8970680a40a7c1433505b2c36b3dc0a4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1aa13b65d41d9a1753daa967c20fa528abcb5f69..22add1486ff3c54e20c4dcf8d97f0435c787eea0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 091c9abd98575e54e26c5e6cdc687573d44b4e96..252240bc2aebf76686ffe131f1780e73ab4b5855 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7dbba32598a3559d3c7f3356c5ddce346b7aa39e..66b4717109096ca70fbc63055cf9726c1e56dc67 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b8b62269d3c2fe0ad799c571475938e810a54397..42da64335c1e618879eb9b153f7bb786c4ebb099 100755 (executable)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e054c00e9cd49320cd5f14e71d12506e05f9a465..abf2a34fd8750fe99174565ec4403f759cd9237c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c6b0a2971b7d2863a9bccd5900ffa168e2c6124b..47b0cbd8e44c099eec87ed4f127d82e93f528faf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2ca658d11c103a34314fd6e91b7bbf4d31d97073..960c406ca934f34be274fef6973fb11c7783f616 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 09a577c35e5fd35b478464f6ff6444e6c0958aa9..b1cb23cd8f0eca0979e7745689be28a87e66623a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/src/SketchPlugin/Test/TestCenteredRectangle.py b/src/SketchPlugin/Test/TestCenteredRectangle.py
new file mode 100644 (file)
index 0000000..1221349
--- /dev/null
@@ -0,0 +1,153 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+from salome.shaper import model
+
+model.begin()
+partSet = model.moduleDocument()
+
+### Create Part
+Part_1 = model.addPart(partSet)
+Part_1_doc = Part_1.document()
+l = model.addParameter(Part_1_doc, "l", "50")
+h = model.addParameter(Part_1_doc, "h", "20")
+
+### Create Sketch
+Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
+
+### Create SketchProjection
+SketchProjection_1 = Sketch_1.addProjection(model.selection("VERTEX", "PartSet/Origin"), False)
+SketchPoint_1 = SketchProjection_1.createdFeature()
+
+### Create SketchLine
+SketchLine_1 = Sketch_1.addLine(-25, -10, 25, -10)
+
+### Create SketchLine
+SketchLine_2 = Sketch_1.addLine(-25, -10, 25, 10)
+SketchLine_2.setAuxiliary(True)
+
+### Create SketchLine
+SketchLine_3 = Sketch_1.addLine(25, -10, -25, 10)
+SketchLine_3.setAuxiliary(True)
+
+### Create SketchLine
+SketchLine_4 = Sketch_1.addLine(25, -10, 25, 10)
+
+### Create SketchLine
+SketchLine_5 = Sketch_1.addLine(25, 10, -25, 10)
+
+### Create SketchLine
+SketchLine_6 = Sketch_1.addLine(-25, 10, -25, -10)
+
+### Create SketchPoint
+SketchPoint_2 = Sketch_1.addPoint(0, 0)
+SketchPoint_2.setAuxiliary(True)
+Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchLine_2.result())
+Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchLine_3.result())
+Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_1.startPoint())
+Sketch_1.setCoincident(SketchLine_2.startPoint(), SketchLine_1.startPoint())
+Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_4.startPoint())
+Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchLine_4.startPoint())
+Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_5.startPoint())
+Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_5.startPoint())
+Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchLine_6.startPoint())
+Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_6.startPoint())
+Sketch_1.setCoincident(SketchPoint_1.result(), SketchPoint_2.result())
+Sketch_1.setHorizontal(SketchLine_1.result())
+Sketch_1.setVertical(SketchLine_4.result())
+Sketch_1.setHorizontal(SketchLine_5.result())
+Sketch_1.setVertical(SketchLine_6.result())
+Sketch_1.setLength(SketchLine_5.result(), "l")
+Sketch_1.setLength(SketchLine_6.result(), "h")
+model.do()
+
+### Create Extrusion
+Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_1/Face-SketchLine_1f-SketchLine_4f-SketchLine_5f-SketchLine_6f")], model.selection(), 40, 0, "Faces|Wires")
+
+model.end()
+
+#=============================================================================================
+# Tests :
+#=============================================================================================
+from GeomDataAPI import *
+from ModelAPI import *
+from GeomAPI import *
+from SketchAPI import SketchAPI_Sketch, SketchAPI_SketchEntity
+
+def isSymetricX(line):
+    aStart = geomDataAPI_Point2D(line.attribute("StartPoint"))
+    aEnd   = geomDataAPI_Point2D(line.attribute("EndPoint"))
+    return aStart.x() == -aEnd.x()
+
+def isSymetricY(line):
+    aStart = geomDataAPI_Point2D(line.attribute("StartPoint"))
+    aEnd   = geomDataAPI_Point2D(line.attribute("EndPoint"))
+    return aStart.y() == -aEnd.y()
+
+def isSymetricXY(line):
+    aStart = geomDataAPI_Point2D(line.attribute("StartPoint"))
+    aEnd   = geomDataAPI_Point2D(line.attribute("EndPoint"))
+    return (aStart.x() == -aEnd.x()) and (aStart.y() == -aEnd.y())
+
+#=========================================================================
+def checkLinesSymetry(aSketchFeature):
+#=========================================================================
+# Checks the lines of rectangle are symetric around the origin
+       aNbSubs = aSketchFeature.numberOfSubs()
+       aNbLines = 0
+       nbAux = 0
+       for i in range (0, aNbSubs):
+               aFeature = objectToFeature(aSketchFeature.subFeature(i))
+               if aFeature.getKind() == "SketchLine":
+                       aLastLine = aFeature
+                       entity = SketchAPI_SketchEntity(aLastLine)
+                       if entity.auxiliary().value(): # auxiliary line
+                               assert isSymetricXY(aLastLine)
+                               nbAux +=1
+                       else:
+                               assert (isSymetricX(aLastLine) or isSymetricY(aLastLine))
+                               aNbLines = aNbLines + 1
+       assert (nbAux == 2)
+       assert (aNbLines == 4)
+       assert (model.dof(aSketchFeature) == 0)
+
+Part_doc = model.activeDocument()
+for feat in Part_doc.allFeatures():
+       if feat.getKind() == "Sketch":
+               sketch = feat
+
+aSketchFeature = featureToCompositeFeature(sketch)
+#=========================================================================
+# Check the lines of rectangle are symetric around the origin
+#=========================================================================
+checkLinesSymetry(aSketchFeature)
+#=========================================================================
+# Change the dimensions of the rectangle
+#=========================================================================
+aSession = ModelAPI_Session.get()
+aSession.startOperation()
+l.setValue(80.)
+h.setValue(55.)
+aSession.finishOperation()
+#=========================================================================
+# Check the lines of rectangle are symetric around the origin
+#=========================================================================
+checkLinesSymetry(aSketchFeature)
+
+assert(model.checkPythonDump())
index 65d3ee8733ebb16d10ae6e8bb6be5d5587709387..f0b2e80e5ab3f3a60dda284891769c1587c25832 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 31958fabdfb5566b9762ad355457731d8fe44d4c..1515b0102565b9b1b793001d46563ab1e4faa209 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9228a6531cc3848c87e3bdb9aa9d23068863c57d..6b3a51707e964a96c7c7e07676a57ee2f7abebf2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 29fcdc7178cb05939ee80de97fceb46cc3726266..e0b296aa6c533fff8dc2afa3f498ce5a2385b4bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 55831815742308f89f01def460dd3ce5fcb0f79b..f7a98865b528d4150ea154676e0d89a994876e21 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d8b6be7ab0cc44921d56d0d5610db4507b40debb..2599761a798c229612aadb4595403a2273ee2d3a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1611546bd2d0289c96aaec1d78574b6b530800a2..c9011a2e085c3fdd591115b0092ac2400b9c7e6b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b484577d54f5ad75685edfeec88a363893e6d734..eac0b2fd87e5859e65527f73ce2f7f05becaf73c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2359c824181912f9b214517e5fccc7ac08cc0d28..84985dbd1c8fc7d41c7b273e356c65fdb3cab9e1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b19ba038f0dde9b18c59dacf06d1173d94303f93..e8e5c2c19b23b8e5273fe3c242b0bce03152b763 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 649fa912c70519963676e93f92e663eb8bb11bee..5200a879068b3d18067345408c762cdae12d4374 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ebc54d455b6f4a307a1ae3f78cf45caeaf48e64c..2a320a06087dc3edac9cb4502abc1b8a1ab12bea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 201af9846c9cdd00f1313a4c97f2d3d08112334c..fd9516d2b115b43e880cae3b806f2aaf9912268d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index de3e81c50c9bf231a3a52cf675d59d5d9e90c8fb..bc7bb0eb72d7bcea2f8dc9332625399b1aa3e322 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2c17a44dbac7518efd85d3744bbf41c11c654b19..b01c4d99fc2756db5876e7a18e3386e99a9b00d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 807ac3527dd65e1de7bef990531e400f330ba61e..ec66a7438c6086801a41e4a81c284c3083295dce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 36a0426fe7bf43f3b4e5cd530784f31fd874925c..0ca84ab74f98d4dd3a3c6501e35fa03b2f379b3b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index eb10872897d25dcf669a0b7e5ab05ef2f866e9e2..cf7e4b092259218131b34542fe93e6a3d0ce5d3f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a61b50844bf264b8214b1f06b1159d9974dbfad0..03993a49171e54df9b08c8dca9c9d09f82e29f32 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 05270210b4925d64334a233060f5d58eb56e30d9..3c148b5d9ba635ccba579013cad29b4ad66c3f2d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9fd5de5041dcd2d605e087ce54e3ceded1afbaa1..d81cfb8bf2d121d512bdc1490be1df39db50eb35 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index da815605c0c8a99380ff0d35176b45cabd22f8fb..5ae6656ad41775359775090e73144f158c86725c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aa0bbb19ee77ad6654fc3a318b3a9d128ee45ffc..9b584e4f879d30cd66f459b7748f6e66f38c8df3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e7b215b362e63248d6aead113e35924621f47c52..ab91e0b1ed3fb21e82cc81f854c1168d0d381124 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea6b7304febe80d5f62c9cc7e27728fa577068b5..d2806017f49dee4f23b1e4a12ac0c370694de09e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 38a2c35bd488ede138af4313691b5f590c2efc5f..6d66217c7fec610feabfe6c936c88a1aa124a078 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8d40fccdf6b1f932664abb75108b1a259e74aaaf..c1fb4603c757d1a7a663efa761b1e9bcc94be384 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3e60f57048a17fc5398f3c3e9bc8f4b855d4299b..b14160f1d39e540d80fb26a0130736560a15f031 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9ac5a6911bfd4c1dd1ac2d81a8438c9538365572..a2ee5cfd138585ad8951e72ce7ebbf8541604798 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 86182fbd574f0faa0086591c3e5077efc30805b9..a5b1f789aeb2d518ceb1249bc3c40b724ed4cd6b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 40e2a81319b6ca1b6d59c2af238624f09ea1f594..9496c27fcb73dae5fc963c5295ca1f31f9c241ed 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0215a02d7809d137a30d5796cdeb82f0329c991c..f8a762559b0c73c355dbfb9af22128802cb1a43e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 377eab0cf531f6fd1473fa2dea737034a35ad0e9..59177ec161489994ea691061e65923ad6006da08 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bdff839e3f9162c861facf7c60473c921043de58..58c2e6a0746342048ce21fe271a4caddf4ccbfc4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 66b022e502186f287311f2fbe30c51a78c431ad8..2bf5ac15d15adec9bfa18b11a626257296235440 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e5673eff5a4629ac4820879ac57497c3fff385e5..f2879698cebad67acd7c73987e7f2e8a09f4607c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8f514a9487ec504a6db63abf584b246e88a9fd31..556df334d81e6297b57c74666b568764f3ab9516 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7a8bc000d800c10c035f41cefc0c7e6cccac944d..224c0be4d2288a8e0c0a4cb31cd8e25c594b7baf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index befa519763d8e6bb3f3f343491e35687b401492d..5e07aca1ae0cb1a576bdd965267205f9486e2c17 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ddf3be8503d85b090f4c3595f96ffac82e2dfb8f..7054ae8c444021ed03378e425cb0d4ef898c433c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e5a3daa9efe4a6a408e7516547d2cdcdf324d7a8..fab5179c90321c40d8fac0feebc45995f870f7dd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9b85ebedcf940e4ee2b988770a6f6edf83314440..9274e7281d6f7912c19c0b4277d43b5f0b6984dd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 350073e10ea36bf30f0274226e2839e41f241bcd..b87a68ebda394a7daf68f91c92a256d79c3b614d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 583acc2cf7b0fbc4e38b1238e25fd1e9b8869452..1ba21d925c47034860b1f3d92effc3dc7c6ed7b6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e89a1e31234673ebef92c33a531250e46324bf48..206983002bc6b2ffbe5243311f8bc2ee8effae83 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f69cd5cf8eea2db626522c6cf626a7d4cfd3eb6c..5b263a73732a9d928bd84ae30fd4ea1c029eff04 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cb6cc1ef01ca37a21927488374cdd1ee07ebab3c..d17815617128e8d738fa81bb93fdef98b30c5fda 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index adf8ab809489b508dc03f35105606b49c6805e27..5b81744297880faea8b07aea8d735285b4fb8192 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d183be7029bb27fc510d8d8784315b721049b6a7..67fbdfee93ce533c85e15b1541efd5e97d9886b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a90132bcb8a57e5d55ea71d898db44d78f1a91b6..1fa20b97dcf4b0c8f2929325050ca1ad52b2c7e2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7e8ca529b7bbb30d9df0fa95ce7ef16c8d8e37c9..3ed1ef181d52fb561c919fb69295af46fd6eb2a7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 43aef0b295c2254190fdf40f8c256dc3cb3f1605..e1b11bd171757bf6b65347ba18ece7f91bb3aea6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8c061bb6d0c9a434aae69e9dab9bda426ddfff44..cc4e900324646ef0859382971e225199891435ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 61162ab4481c3a74e833cca5b5298376903c8679..bc36d55e20d0f0f79fb50358fc937f07d25bd394 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0aa12ee4510b746a3ff986b56996f58739e0e172..fa16be628f81d723dd3bd373bfd5708c5d403457 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7cec4b01fcbb5a249119b4d92adf5de75858a186..560e35e3983f7d05ab3ff212c81966d3a0aca314 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c1e6298addf104cdac0701601db32e72c8074d0e..3568f4ca06ae1850d2d81ef7b1b2c8369c923008 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b23a97c9c3acfbf54839f5a776d8e525f8d21947..d397b367ae4a24650b1d59807cd9cc4042cd9bbe 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7a49bd34e377fddafdb32bf6cf3851f6fbec481d..e72b07da22eb06c40220390eba1b56884f8a151f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a52a5db466ce927072aad79e95286ca2c6aff3d2..28cb6efdd092161ebd114989346f8708d51e0a44 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 32065747b22abb35bc09ab5e5cb61b0b4151e009..d9332279cbb9f45fb6d31026159acf59d09ecd98 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3232d117e4df33e9815f1bd16a0ca7f1b8c40739..ebb1f5b2d2ddc20628f007435b528e0aa149c1aa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c27019ac4c162a52373c81cde0a423da3a635ea6..461a7a79af7d2854e5be0309c37ec3972ba6fb67 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0790bd35a180e577a9399981c603225853517f02..2a7f647b52d28fb0f2ac24699850313a84735553 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 478ef970f477a6de3cc3346d869fd9786d152ec3..a8891e2eeb4c0e25a26e1a265158c45f24b5b335 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7c475efbe6e3bf869465efea1fb9f7b943825c02..52f24a97bf81d7640c7a4def322c4f19f2933697 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c1a108e96ce1e15f17006ec5ac28f63ff2b91b7d..ced84c2fe946dcf9d528b1a4c6819953ac5b435d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7974182631ff74feafa95d6ccf945989b0b1fa48..95568af1721bf7e6e90977d36481c8c380e6eb1a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0b67fdf057a753eb392392b2159863d59212017e..9f21a0bb211af08068d3800d8986a90e087faee3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5514e932966554f6179d3d5b58a7c607b30bb1c6..61b5af65883a5efaa44e44f23bbff0bb7585b221 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 198691ae2c9313ecdffbc762a6f1da81f540086e..f1d8b24709f6427fd2b2557412c6f1ac07de0be2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e4a620201253fab570dc919491f446a728d3b84..216f769a4db44a06920c9df7b6eb9a2d2db27ae6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index db5db25612bbb44c4b5e8e080fed4ab405a4e931..fc923261dfc9b67bb79e547ab1c7413e43a8f7e6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 934332d9ea6239df3d03098716423fffef5beb72..df2bfca773eb2c7f3d69a8c817a7a1a6bc0dc282 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 54f810fc8a61083ff7c4ffc0b06ff0de4561fd0d..fe67c324cc6264783e36d449e26a60c050a74b34 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 138ac9a7a3993d68556df789a184e91349301bb5..e21bf02dc88cb9b2b29a9aea90ed222287364dd8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6f509314879de6865566196d6bffd0200f90a8c6..e80f0f014b9fa561f6cda0fcf1050d4c98f1b24a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d230a29a5d347fcc2cb393f30649b851adab782f..2eabffec068502fb44ae6b8afb020a18de0c5d60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1bb63eae23728cd38216ec0975d1e7ca69509abe..b4e88817c2243b6dc3b17aac51b129d4b3b23f39 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 44c53d77339f00b59a849166b6615c0a473a6439..6e8984552a9570caf1d2a741fbddf96b658020d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c4a46364985097ffb52b057982423aa1fa048b4f..c3d879ebee37416155815265af277db15e69f4a8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f69d7972c47815ad1d3ac3818752e1acd2a5ad73..de4174b6253c947621330b590637cb39cfdff77b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 39087d33013f3d9e90c2585359400c69eacc0369..485a0f7dd47d9b11620e10f658a6b4d9ddf2361e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 00bbe840776a6009d4747fec1e6bc305381e10eb..47c47c96422d179505b4a1697360ca7187aa68ae 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6ef35dd9587c2d9fd521ee4fbea429a4ab5cc22c..77ec1eca18ac9b90912f0f59d2ab3da29401e4b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aecf3fa1eb8a8642cb5c810bb8460060920486f2..a26891ea967441e4fa5706f74f0cf198b926ea14 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d93986c170be7835062c5260311356a135a8ce52..715ef2aa87c260f89c76c5701255c42b84cb476f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 3e01ac72dab9630e28ad0a35f5875daf26768f56..0d147c999af1822737961c2724af66d6912df9f2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d7c702a6f9ac4c61b236d960889c2d216a75c7fd..55fe73a046102adfe768748554a4730529bd66f0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a5788f8deef98a194e71e91b58405058166294cf..14a7b81cd719727602528a29db6ab6d8317b9e85 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7e93da02d6c5c888974c83b5b527602fd2ca10e8..c40bed32362a59f72b700c7946a177740c1bbef7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 84e0608816eb5b4ef3f82eee4d10adb9667505b8..0db7842320870db27cf77ca8a9ff2197747c93e6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c7e1fc8df9c67f37a23960e49e7bfddbdeef9519..a112e361becd47f0ecd80c27adc4a33aa5c02232 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4adfd9bf55f92fc4fc6855a7354bba4f487704a4..a8f6face78f76cf8062a02d01b38c54e3aa513a3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c606e48501cf0cee944564d2924a47d86f8c3541..c507c92d8ef654613f6d284d919d39eb182f39ee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a6d430eac21bbb1f08d1e87399656ba5e7268845..bd8c47e9b04b737f3bf8241ee31e4d2022bc6e1d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5c43ce6c7029ce410b935f3fa174007020220664..237a5c68ab5c21d671d5cf2036c8bf512adddf4f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8e714f0c576232ad45fdb5e2fd2ae168a57ea165..7341bb8cf0344dfe7a756292e191951c4322eeb9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a8b90c6eeacbc959803c87cf7c891907ec926f3e..4f27987ee66abf2e9b4eb56a6b3ab93b75363f8d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index caf4d5a95cb864a4d2e0be6081d8ba337735b942..2c675a4b47e8dc65e50a6e7fc6dd5c9b3d6b50fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 77294b501ecd78e7f9c9345db4515c93e88f214d..8c918205c3878e00873bafd77fee6ac5f6da6ffb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9d36c3eabac933a0bdb4286919836aff50be98ec..d43da68cb5a0fbe670534488912b5aae46884d95 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 78d42743d218c597c79baad8d69d9af16314eef3..7b0772394bad4fc412f6671e056bd8d779bbc2f4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 24b162247dcccfca973ccac7c70e3ba83db50d9f..c5b70e797a7aa4dc4461357ecaeb86631f885b7a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e15e35d7cde1433f999413831de9f55716c389d3..2f1aeb20a13c1bdba7e90939083552dd0512f210 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 10ca276e91785ccde1d91ec0d096509f8ea7822f..bd18f4c3d26e140b2634b21f64bdc1a657b2770d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 537dcd0dad45966ffab773f97ee27f58f5e0eeb6..82df63c6f0c06f17b14da497585eca52bd18e66b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8e651ba89e094626f5077bf413c94b1a60201f97..74f50d0a70e51e797f2930d781f462df7362a2ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 30ae551825bac768b1d09396aed01374deadfeb9..0093ea1b85560ca9958d3299f7944337a417a11e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9463efb9c15d7134ef0d35c62148ff5f199f1392..c0546634e1f4391c400636761380638d1aa78b6c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8d1985613c5be54d38da9dce95734c45b7342b52..8ff4ac9d6dfa3e8156923ac91c38234967f27e74 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 04c4fe55051ccad5d1a9e0cdd7e0f8242df8c257..278e9479d0943e5a394d5b81101cdd3701ddfd94 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 921b9a38addb5494f081f186a69cc4ff0f5cc4a7..6cf53efbc139cbcb79f9eae6fa871d693f6a9d65 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b4e116719acbb68b137bb895204c970072368ead..8d955ef754fca1257030850628e73a6b318da4bf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 82e5f5424cd6f75d3febd8d9eaa7b62471deb69a..969732f7b6b90d3b59447c4e46853c83de8f5aa7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 127888bb0f097c6fc243fc787388be5862567eb5..5c0a3f0a5dc12ea0a764c8fe1fdacf9f2695cbfd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 538e1328f8c69541a2bb121fe454517d5665e394..d1363c38e8f157ffad6cf1fd2bb63a954c87a4b9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 05da29875bdc4a308027a0fecdec6868ff8fc173..f5b29691d6bad469d127436cdee2a29fb48d76b5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e9d3eb28f632200c35ebb0636725574b64795ff..d97e5a34af8aed09a0d5c9ee1688e6584fb7b2c2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f064033a5a1f61cadab2a03d3b68279d0cb8cdf7..9b6d6782bf60ede73675e62c595a5ba367e8ba6c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 47664c6c372b68456f5ad2abe676e6183f136b4d..4211df5127b3014b1f0fab8fc098711fcdccc494 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ace4097490615828bb040730528e22ed7983c2f9..aab2779ba2bd543192c3a8735a0aa34455628f82 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7e62882d7db7b3baf66ce07b3fe8021181cef6df..e06e3df7a38288df539001310c43c95ffedee90a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b2e3751113f9d9d0aa4a4135ed5c738ab3ab9a82..8fe696cdab4908f9ae121eef811a72b17efda7b2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fd412c5c6d4e66c57bc0583536e01f0b8df2d172..0d0671134ec108f835b740bb2f3d923fa754dfa8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2ecbc71e2cda884a6a6238f12ffae5683b1c0cef..d422affd08014fa651d1c8fafa6c37560347d090 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 52d4e57bedf96504e16ee13635d72570a36891ff..39dc70550871d0d6442e7f01dffa817acf151821 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6cef49b7807b581e1caaca5803c56fefbfe4dcb2..132a0a7a3da8252d726a345ce30bf1c6e8c71a9c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1bfb8aeb5f0b597dce2b5e23995afa8cbecf8360..cd2d995efb2c36154e3d6b4026b63bcab7daf4bc 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fe30f8732674151f9945de69213f614db696b119..f5da9c332808918de93df208fc73305132c9baac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 00274e73dac22f26f734aefb0bfb3144e97628ba..42119360917ada6573d66969e5824126c3dd1140 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0c5ef32be4688470a6c7e6432032274c1f6700f2..a848e52e07a1c92892bb1ec227159118d4cb021d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 27a3417b4c609ddeddd75225d90865cf967b37ef..4d3c69efa12195b28365c26a361fa2520ac0b580 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e2fdb9075adb6feef724d1b6e7b3ff0eef4f31a0..9e51d5ead55c725959d4e3b7569606b089753f76 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a912d4d189c52e392696d593eed9826710ade85f..9293e0bb3a4f056e31c9ef505934a584e3a8f6d9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 478aee02f0fab746dfe39a4e7f36f3208c5d1980..581dba726bdf547f4f966f242221c3950ec2480d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 89be3103b520f5bb095f3da23e1c8b84ae4d3c86..7155b745beeb551f5faa801f8d3fb6784e5421ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1de32702c9081d8a88ec41a0139ffa1512fea761..2f817a1fc660cea1b3fec6321a8e261c50fa5f4e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5045c47716c96404fea07c9f6398452359afe1ee..440f5b9109959b8d787d7502721d4aaf83674d21 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 78a808a766edd00cde4e6d144716d3f055e3c858..de1a814690bd62f5e89d03ad3f099ad9dcfbef82 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b101e71d77303667201eeb07eec62ed6fa50179d..dd7465fa2bf731f70b7b1151b27bacbcbfb072e8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f2880d40320bf2a5a227fc0fdd5bea9fb55da7a5..4aea784887edccc81d1190ad572d846972c59ece 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 55e5bfb7129912a429ecafec9e16f0e1744e1e9a..cf368a06a5ae25b8db4ec8ff60537e5af9cf5305 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 519e3f00ddb46045390dbc9e3e78722d61f0ece3..ba5ab1599638cccb0758f7593cd9e2b56cddf1df 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c10932ac43d46338cc49625f6d0fc708a055ff01..bd1d31b05582ac7031e4ec65fbe12b21c1a40aff 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7312376bc779a216f19c6c9ffd375aa5a3b9ccfb..5999dfc3c0a124220464df5dcc7f8fcba68d4432 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0b48e9755822f478e48db0857de125027c79def6..68687db36cf005163b84a1b32914b391f31e6ee0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2118db7b33129ab7d0dd6af0629e470bebd0ee33..e66676b0ed131549741816928ce0f97305436ccb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 79459a9383a53594ae0fb63a98d37a162c341aec..6f3ee826810035edfc079e1ac5dc4c84e6b2a45a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a592af96105b6d4abc6427cac796f957b5ec4ffb..72786ea41ba384278e027e319773371bdc2e1a34 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9a69a017c0f291a480c787dff7ebb01c38eefbe0..f8f9ef895233f6e99d595ee4b35b8bd7b98f5868 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4d4b811962c0b4a6fff0dc5b97655c7ab021035f..1087d44c72fc196662e6d1f5c1dcd20feaf598ea 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2eb86cd2c972fffa2d8d634daa7d128dce4d0e9a..c6b694de72dde4e28979ca2dcc1d73906c8210c3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 271e169d47fbef572acbf3958119fee1a569489b..1678eb1abe0cff6ca86b6dfa7fe2ad4e0db96a91 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b6f8dee08fe44e309287cad63852652878f51d34..d70bba9b17a80d3c2298576643a86f974c9220a1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c159918fb7a3c8a45563bc4c4be60576badcd802..1aff58104c41c53eb060c0bb3cfad4dcd179792e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c22c2d1112d53cd24190bc0bbb4b9f0bed44de55..78c37de077451257afd3f22033842538d35d30a9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ec11396961afd4dfc807526a631afab8f2c70bb4..4f4e188bd1a231eee38978dd45171881ae883183 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c8ea28e1a6461b2be31f8f1b94dfcd6e9940d1d3..7bb17ad7c6600caccae4e4714888d4211ff16cfd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c416b630775175652c5c88fd21ffd814cdc29550..913f02f6273e5df5a2508754bc56af701d3a0db0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5da26195695962b6a498abea0eb9c6eeac4192f0..0f96661cd845b83cbaed1756fa3ac78ae49d75d2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5dc144cc7365abb1901ec5bd94a2f9672507c617..677b0a0c851b2f30ad4639951a9c00dd431c6f34 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6a4c6a2403e11de0e860e64e9f1a5b901e68cd12..a941fe188854991dd56c2230f378a05692475621 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9d9033479787260bf68f2f4302d12ae9555c9edc..268720e24aafecdd27dc5fcc50602342367a6869 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 241872d0e49c482d71760b1a187676ad276d1608..79aa42a9ad6397a67e8a4344c2e837604af75f51 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c9f785103cd7f6aa6711d4c772dfdd8ce345386f..81d8910ff176c1e3e56c41d9aa796dad6d18bd22 100644 (file)
@@ -7,7 +7,7 @@ Part_1 = model.addPart(partSet)
 Part_1_doc = Part_1.document()
 Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
 Rectangle_1 = Sketch_1.addRectangle(5.5, 8.5, 31.3, 78.9)
-# rectangle from center and end points 
+# rectangle from center and end points
 center = geom.Pnt2d(10, 5)
 corner = geom.Pnt2d(25, 75)
 rectangle_2 = sketch.addRectangleCentered(center, corner)
diff --git a/src/SketchPlugin/tests.set b/src/SketchPlugin/tests.set
new file mode 100644 (file)
index 0000000..4ba5a73
--- /dev/null
@@ -0,0 +1,234 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  Test1061.py
+  Test1577.py
+  Test1578.py
+  Test1673.py
+  Test1779.py
+  Test1924.py
+  Test1963.py
+  Test1966.py
+  Test1967.py
+  Test2034_1.py
+  Test2034_2.py
+  Test2034_3.py
+  Test2062.py
+  Test2095.py
+  Test2115.py
+  Test2119.py
+  Test2134.py
+  Test2157.py
+  Test2157_2.py
+  Test2224.py
+  Test2229.py
+  Test2239.py
+  Test2273.py
+  Test2280.py
+  Test2287.py
+  Test2341.py
+  Test2376.py
+  Test2390.py
+  Test2393.py
+  Test2425.py
+  Test2427.py
+  Test2440.py
+  Test2481.py
+  Test2654.py
+  Test2711.py
+  Test2741.py
+  Test2810.py
+  Test2824.py
+  Test2860.py
+  Test2894.py
+  Test3019.py
+  Test3087_1.py
+  Test3087_2.py
+  Test3132.py
+  Test3154.py
+  Test3170.py
+  Test3240.py
+  Test19089.py
+  Test19101.py
+  Test20274_1.py
+  Test20274_2.py
+  Test20274_3.py
+  Test24015.py
+
+  TestArcBehavior.py
+  TestBSplineAddPole.py
+  TestCenteredRectangle.py
+  TestChangeSketchPlane1.py
+  TestChangeSketchPlane2.py
+  TestChangeSketchPlane3.py
+  TestChangeSketchPlane4.py
+  TestConstraintAngle.py
+  TestConstraintAngle_v0_1.py
+  TestConstraintAngle_v0_2.py
+  TestConstraintAngle_v20191210_1.py
+  TestConstraintAngle_v20191210_2.py
+  TestConstraintAngleBehaviorDirect.py
+  TestConstraintAngleBehaviorSupplementary_1.py
+  TestConstraintAngleBehaviorSupplementary_2.py
+  TestConstraintAngleBehaviorBackward_1.py
+  TestConstraintAngleBehaviorBackward_2.py
+  TestConstraintAngleEllipse.py
+  TestConstraintCoincidence.py
+  TestConstraintCoincidenceBSpline.py
+  TestConstraintCoincidenceEllipse.py
+  TestConstraintCoincidenceEllipticArc.py
+  TestConstraintCollinear.py
+  TestConstraintCollinearEllipse.py
+  TestConstraintDistance.py
+  TestConstraintDistanceEllipse.py
+  TestConstraintDistanceBehavior.py
+  TestConstraintDistanceHorizontal.py
+  TestConstraintDistanceVertical.py
+  TestConstraintDistanceZero.py
+  TestConstraintDistanceHorizontalZero.py
+  TestConstraintDistanceVerticalZero.py
+  TestConstraintEqual.py
+  TestConstraintEqualEllipse.py
+  TestConstraintFixed.py
+  TestConstraintHorizontal.py
+  TestConstraintHorizontalValidator.py
+  TestConstraintLength.py
+  TestConstraintMiddlePoint.py
+  TestConstraintMiddlePointOnArc.py
+  TestConstraintMiddlePointOnEllipticArc.py
+  TestConstraintParallel.py
+  TestConstraintPerpendicular.py
+  TestConstraintPerpendicularArcLine.py
+  TestConstraintPerpendicularEllipseLine.py
+  TestConstraintRadius.py
+  TestConstraintRadiusFailure.py
+  TestConstraintTangent.py
+  TestConstraintTangentBSpline.py
+  TestConstraintTangentEllipse.py
+  TestConstraintTangentEllipticArc.py
+  TestConstraintVertical.py
+  TestCreateArcByCenterStartEnd.py
+  TestCreateArcByTangentEdge.py
+  TestCreateArcByThreePoints.py
+  TestCreateArcByTransversalLine.py
+  TestCreateArcChangeType.py
+  TestCreateBSpline.py
+  TestCreateBSplinePeriodic.py
+  TestCreateCircleByCenterAndPassed.py
+  TestCreateCircleByThreePoints.py
+  TestCreateCircleChangeType.py
+  TestCreateEllipseByCenterSemiaxisAndPassed.py
+  TestCreateEllipseByMajorAxisAndPassed.py
+  TestCreateEllipseByExternal.py
+  TestCreateEllipticArc.py
+  TestCreateEllipticArcByExternal.py
+  TestCreateMacroBSpline.py
+  TestCurveFitting1.py
+  TestCurveFitting2.py
+  TestCurveFitting3.py
+  TestCurveFitting4.py
+  TestDegeneratedGeometry.py
+  TestDistanceDump.py
+  TestDistanceSignedVsUnsigned01.py
+  TestDistanceSignedVsUnsigned02.py
+  TestDistanceSignedVsUnsigned03.py
+  TestDistanceSignedVsUnsigned04.py
+  TestDistanceSignedVsUnsigned05.py
+  TestEdgesOrder.py
+  TestFillet.py
+  TestFilletAfterFolder.py
+  TestFilletInteracting.py
+  TestHighload.py
+  TestIntersectionChangeEdge.py
+  TestIntersectionWithCircle.py
+  TestIntersectionWithLine.py
+  TestIntersectionWithSpline.py
+  TestMirror.py
+  TestMultiRotation.py
+  TestMultiRotation01.py
+  TestMultiRotation02.py
+  TestMultiRotation03.py
+  TestMultiRotation04.py
+  TestMultiRotation05.py
+  TestMultiRotationWithParameter.py
+  TestMultiTranslation.py
+  TestOffset1.py
+  TestOffset2.py
+  TestPresentation.py
+  TestProjection.py
+  TestProjectionBSpline.py
+  TestProjectionBSplinePeriodic.py
+  TestProjectionBSplinePeriodicError.py
+  TestProjectionEllipse.py
+  TestProjectionEllipticArc.py
+  TestProjectionIntoResult.py
+  TestProjectionUpdate.py
+  TestProjectionWithoutReference.py
+  TestRectangle.py
+  TestRemainingDoF.py
+  TestRemoveBSpline.py
+  TestRemoveBSplinePeriodic.py
+  TestRemoveEllipse.py
+  TestRemoveEllipticArc.py
+  TestRemoveSketch.py
+  TestSignedDistancePointLine.py
+  TestSignedDistancePointPoint.py
+  TestSketchCopy01.py
+  TestSketchCopy02.py
+  TestSketchCopy03.py
+  TestSketchCopy04.py
+  TestSketchCopy05.py
+  TestSketchCopy06.py
+  TestSketchCopy07.py
+  TestSketchCopy08.py
+  TestSketchCopy09.py
+  TestSketchCopy10.py
+  TestSketchCopy11.py
+  TestSketchCopy12.py
+  TestSketchCopy13.py
+  TestSketchCopy14.py
+  TestSketchDrawer.py
+  TestSketchPointLine.py
+  TestSnowflake.py
+  TestSplit.py
+  TestSplitEllipse.py
+  TestSplitLine.py
+  TestSplitPreview.py
+  TestTrimArc01.py
+  TestTrimArc02.py
+  TestTrimArc03.py
+  TestTrimArc04.py
+  TestTrimArc05.py
+  TestTrimArc06.py
+  TestTrimArc07.py
+  TestTrimArc08.py
+  TestTrimCircle01.py
+  TestTrimCircle02.py
+  TestTrimCircle03.py
+  TestTrimCircle04.py
+  TestTrimCircle05.py
+  TestTrimCircleAndArc01.py
+  TestTrimEllipse.py
+  TestTrimLine01.py
+  TestTrimLine02.py
+  TestTrimLine03.py
+  TestTrimPreview.py
+  TestUpdateSketch.py
+)
diff --git a/src/SketchPlugin/tests_change_radius.set b/src/SketchPlugin/tests_change_radius.set
new file mode 100644 (file)
index 0000000..bf1b9af
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES_CHANGE_RADIUS
+    TestMoveArc.py
+    TestMoveBSpline.py
+    TestMoveBSplinePeriodic.py
+    TestMoveCircle.py
+    TestMoveEllipse.py
+    TestMoveEllipticArc.py
+    TestMoveLine.py
+    TestMovementComplex.py
+    TestMovePoint.py
+)
index 5df25991e0390edf175f69911df7034b74cc0499..c66b7eac5f2b8e5023af2c6ba7389781a63b5362 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea6fea024a1fa2297c318d923b70ad8dcb0da15c..ab1f27660c39a64ec51286b8b2a4c82b453a330d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b6ab719c202cdfeca0938dae86f795ea9332c95c..36b0f63d58ed40f59ce2594b4ec295f582bfe900 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5500d6d56122fa8eefc2daa0820b34edc87287a8..7a88373db59af31db15f3de9696d6349424739fd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cdd6197f34b34396878d1d618162ccf3cda65ab7..2bd37fccd121c0372e66fd8a203851fa718fa8f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 10aa3f3c445d0eb64d366cf2c6e05cdb721aef28..eca41c620d21b0bd61d881843703767f0defc9f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 30f930c40a9a98b87d5f3b9378a7f2231635a47b..d064773a4cf610e8c0724e3019cd2db01bca3bc3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be3f59786f378e7e5571e1d5fbb6d7998a34cbd7..69b952f91ed5b12eee3615a61569ef9249b9c50d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b5f452b5a940dac01791f914f61a5f607adf880e..8e99cba54d84b7fefdfbfa2b1ab6ce10463ee67c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 33446f31bce1fdb3fa33e4602792a9e30a350266..7d8eb70673ba1a78f8fed138cfab58acf40f7480 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 64d2ab9a90b31a8585b5c07d883697849db9471b..a3d5fb1e64abddf69ecf2140be43e6a6183197fb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d1269bb1bf01420576fab3b5eab1e6014944ae20..304e269522df7f6ea4b08762b16a316c2b170889 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 19d90b5490cbb95c6354c4ddc264c135ed6e7fef..6a4684eac6e210d3d35c20901327d9653b1957ee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c268eef8f1c634c7b7420937eafa0702f12b9f54..d55fc93a10258836fe652debdb8621572d4526ec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ac08ac5ea50c335adf0cb8238b462de4bebc9f17..8d9e7b942eecb586a1ed2bfa18bb5eadccf9d641 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5de79e031229933c8fc04f464070ec1f575db930..4c4dda0cd8f7992878474215182144a5163c7096 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 628344913306d963b1c05ca2bb16bc243796d1b0..39fe3c52c6174968f0bba70c7f433ec34c7e923d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6499d1811e79e4d88fd64376320bca34644e576d..3ca24a94000f0a4147a6873f4fb9a073c8bc6211 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd47f04b3ae6d824d8ad6e6872bd07482c023e83..c63a188fa6a2c08437332dcb1f5cf34dac4a49c8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index db330f5dd3d5038d9b6c88e881ddc226be955606..5a8cd9d19ff1fc484d6644b2f75d9fb56da3a59d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3b734538fa53fd76854c147b8a0153c4809fb68a..69b0418574ca4a521c9b984336365295cec5d9c5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a409fb448b77aff9b7480e44c026c03c9d9fe1c3..6296b418fc4b00fd3646a9aa22a74195fb944729 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0524be273904dcb16faca532af82a46686603773..84a20b38d7f3b041422824027f77fff1655f0488 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2e5b2639a6127d4549122fda1863b5b017180be3..a3f98404690da3d2871e7412462ead15e7f9b97a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8337e55b50a7386646dd77845efa7230be66bda0..16d6a1a9370f6922e3726fa76bf28c093353e017 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9d5615492060b0acc1c0afe3e4846dabfe146f9e..251bbb17a7911404b495b50a9daf11d42c72584c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6b0992ec2f6870516e13cb0ab6fbec5d887aa5c9..c8d2867ff69320f4e49520c7fc4137d3de1122fe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4f55b0d57dd5fbb86c23939831dc6012f41f6607..ac7d56e974cefc01f8813b56e6037ef6b11ee7fe 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3c7fb358929ed9c49f969f1215032382a8f3beeb..946dbb772f4b3b02cef01dd3c4f0390c8ffc0a05 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4baa58bdb7848ee1d472fec6b8326a0f69400c0a..eea2a60ef302d9412573f8082e105acec5565723 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9ee4655502edae7266d368bbaa968c7d74fe3d4..19ffaca0924f96d0e8d614f60994cdfe8e0f3c29 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6d6d5beab268a1f975d37c34519d02d9dd4cb0b3..878f232ff2e707366d1ddffac947fa325b5a2f32 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 370760cf9102f3077b2160cce69f719948f6f028..a70241192c5acd9d870896f63e1876a795b4bcae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fb7185c46e2659626e262cbd219a3fa2f3282039..81e4045d5106918fdac193c938a0d19783ad60db 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f2546e04ec47c1ae6e51d10aa16aac4d21ae1bfb..aeab18eb432a8fee347606d2a26e9663f3389f64 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 33eeef203c676da819f1086b065be508aebf874c..ce2e382791c1fe9195aa071d48d8bb1be98bf853 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8cb6f3ff95f8a6bb4ee26ec556b8868b09cf80e3..0402285a17cc14d41203f34f60f73bd03cbc2e0c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 045aa7334201736da43a687a8b8f666bfd189ac6..c945b87d5f831d6dfb1792acd3c965eb5b9b076a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4fdbcdbde93cd7f1d0acb121d3b3cdff06635c18..569ba5cc93734e0655393e4bca1255bfd11dfc78 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 449e2abbfcd0e8662523a530bae10b031e02b088..28c306244274a6bb8fa61ffc17aad13451a565fb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8baa8e3022e48648d0bd2b46beae0187c80bc207..690cc087c6ea0983f530e1709b24acc06e4c27f9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cd348ea9031bef1753fb6b6c54b298644f28adba..3cfb84ae0b2663c381d8b667623e1863a58fab65 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d49897fa010b2060ad587face98c8c009bfa8df8..9d73993551c05f3ba9ba3c25d8dee6cec4d11d2c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cfac21024b3dfc58014feabb0a64597a8ccb2460..e9fe3d1f053ce8564bdd4a47e37770f8c6ef8d83 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5c03c43d91374e5195778639ff9cb9e6c35e4474..a13cd77318cf19237da91b60fa95f5af20de4c45 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f3fc0e69ec2254efdf3c9db0e08d0e533edef81b..e5a614b8e68ea699cfdd7a349a7a5d81211ef026 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f7e37c30a2a1c0d0af41dbb2ecf53eb28ae629d2..2a04d9028729595840b628fbdb862ec89ba2f54f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c9a55bf91c2a8f2509ac67d2384a22c56f978ebb..f07ad6d0d23fcc42de4e54418239063925cd35ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 251b15cf9fa8f2e537f484c2c08e34221cb36a86..6c0b67d0fc384cbc3f32af2f0e143dcb5ccf7aba 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8afc9f4ea24869afe3b0918304c00300858a10bb..810cf93d37d081e54c354f2aaeb8d6ce76235642 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e476e47eafc7c8d8fe3b67e01aeabc4d4858748c..9a110c79e1417917d52323acae9c45b6f2d754a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e7598fd841fed8f853b73c285b5b89f754c21808..70765f19337790af463e0ec4e06e106e817fe98b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 101e1aef3860d182aab96ca63fe0e54568d88c86..dcf7b780340ff86b9f391b8567acffffeafabeaf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8dba4046c68884eb66f4397b8f57ceca278961cc..3e8c25b75a8aed2887734e8b83b0a1bd887ca354 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e0bb13167e6bcc04059a08405006e9a45a3e615d..39d2956bf3635787afc5e1c24c3125dc9147f643 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ae137f8c45216ba59b6d603aea1385a58cb9565b..8325ff625d301b8ca57adeef093d13e7ece20860 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1aa7c817607e7e836c82fee6cfaa39fc00cd8d43..ae4712181e909163e582f84cb92037e0252e81b8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a802f508470f697b4405402c79af54fc8a7ab10e..7231abbdb0d8a339d19d5189583aa709d3c28fc1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3f78ae651cb64350ac2eaff7808aa060da44aa5a..879e85012ddf0de03ffd8b4b686af3d7ab3a3097 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b0f3013ee4c7513fabf22bc5682cbf464a4ebd21..e0b18bf09f05415aa75927a2b35203c534fe317e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0b9fe7faa4e74c304156ac778d40ea34c4a4a1fe..ff69622ffcabaf0e59294fd9e9b175ada5114843 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 05edaa814f3fe52b758b6c8e11a13bd985a58693..ae604bf90457661e57ba4beccff0be8324b5f193 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 49a07d8d56290c20be7729602fea292d2dffae66..82b9973a721cf8cccc684b2f237da48be9352d6c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6e2a71de2c8a9e28c6b7d1750b2a1504d45b498b..236e370f98ace22bd47c4d1882e7345b1e6cbe88 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 40ca3a28def336312d8e8cdf8f3812e7c8607538..6a276f2cf7bb7e3c0812b9e0a3d856f3394d6a8e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 783e3652b66327f0e9b310dd2b8e6e40008d23a1..0f1520590501e35cebffd417ea26ac3809a73bdf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index deffb51833db88a7ed45974b7f144989a56e7fbe..c8969a656534c7cdc37c981a2767907cf52b0c4d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 64da09f90f9cac404d6777aba0f18e97bfff989e..12d7e4952dc393b930557593328b06c082bd2693 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dbe419741c983f84178cb1600ee8381eded061ae..770600813208a04b58db955cfa67f98807652900 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 45d760b08b115a169d8906382b595ab1b61751f6..2aaa934738e035dacbdcfcd8eb8f0ba2734edd0a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2020  CEA/DEN, EDF R&D
+// Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ca2918ddf7d260686a6ba6d732e6839e71afee36..ae76a17c488cea825ce036936926194f77eda7d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 683b406fcc9329ee0124b3f0be5bb948866a1c6f..f363adac9ed851b86c5fe5d2894f5a5059a89ead 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a1f07463d24f44bcb3357e2c05b33514525dafdc..2b198f8272db12040a4bb5e4c5202686f6f9f0c3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 525c8fc0e3fd48f21d5752559b4354e4ebda1094..347a6d88370aa600e4cd2692170823064964a2ac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e96d6bc9cdfa2b2fdbf49f2481e9b08a0dd0d3e1..f9a111b866e58bb7e35fff0f0d6d1fcde085184e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3ea7ade275d687c30a4c4f64ee4fbbcfe8a2313b..2b2df9856d5da54cad0fd6f12110bb9bf5b78244 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f1f3ac8abe42686a4a0bf4269148c28411a1d8a8..76ce2538067e1c4b8304700095c9f87153850562 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2f9c74a099cb0ba657622fe0f432e9771e68d243..56b874f64f372c1485b9ff52b9734c5776b3a4a3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4791f69ed651341605646da4e8eb1e12585e3bc5..99ef5e585afcc5424ab5eda01f4f066629b59829 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c236cb03351a02c19afabbaa48582e747c49a82d..8db32cdce05a30728c1bc99609bc1a424996a71f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index bb7e66026eff4d67486f84c3a4972a1c8f1711eb..c64da63ddb4f44bf94f72baa1bdf61723df9f644 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 58573877ac3cb24492720589b73f16ce484a1fd8..07e618cd47c27eefe90f51951106d2a65f4364b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 24f6d229973f2dfc0ee8c866149fde9888a54ee2..0c7bb0adb74c878cdfd2e91223928b3805bbe6f3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 73cfea643f5d2857e5eb4319d2c9961e117cb29c..c12f4e4c0826a1539058519c614c5ec8adebda4a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index df696a1ff075c23a856585499d0348f90f4d0dab..d03501e3be8e531d18fbcb0f7baebeade6d407a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61bda1c4b7e74f6905ddbd17f7a360cf72270f60..11d010c4c5b678cfe5b0cd949123f27da7cdaeee 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2dbc143f1b1214063d160c16e2d282f5cabcf0b5..47d3d7c83a3d231b11347714426750633b78075e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c935080dd3e06b38e1af98de7da051f73ac369ed..8fc47e630c8e89f7eaf62d495be8687e947a385c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fa927c27a1a2f0821fd78bcff7d6c89c92d5ffa9..ec5f5134c69b8d38aca8b348b5ddfed0d2ca5a32 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 12de39aafdd3e50920d1069ee4411e4c7f226fc3..614279ed244aa99f8da2e482b8040829a4598b9a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c717d275c1ba6a83dd8ab5007118caa55b356ccf..fc11be5f9d90b60f1968d6525e90e9dd77a9d785 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d98440bae804772a75ef9c2cfc861d0060296fae..bba7aed88895d5ae15aadb477430c8aaf9983e5e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 00c7424df6738f04db30ce9428723df7aff141b8..0db5bf72cbbd3f22aac4e3a61b1fb36ad91ebeb9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e94a1b61a042dc9cce94fdbd9b78e04ae114c0cd..d17a0423a193392e8b33eaab460781b036d25206 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a0e92e2b9be942627c9da590174f05c9060ba697..597942bec7660657f9f96137581f19c0d490cdda 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8fde5065c784ebb44ed2a7c348d770e290c413d..a0cafceaabcd620f89b6efe406d1a7347fcb701f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fe644de7293016eacde15bffb56d023ca38a5ad8..3fe5e76d2f0027bca31e43577dfd584da61593ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 58def1833dbf6f7b5de31e919af37586864041f0..298cb927a485b8b0f41d4d1e9c4f8e0ff13ab990 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 381f82dc59c346ce261bba3e5391bd6c1e4bc588..bb61ebc39d3c01422ec88319c31bbb4d655367d4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 85ed2423f889251c5a6c74e278a107368acf711b..364d6aac6105151ce54e2b12fa5f834d17515c45 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c55f7012103aa01007afbc3228d55c794b4cf19e..46b7931610b7e10d5cb872bc50bae928566295f9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cc82da434f5fc9834b6f14a28cdb437fbf70afcb..3b2fb1ad2387e8c50f4dd0f2740ab6f84bbb3afc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4f449f64f7926f8208d399aad150f31c0a7e0350..b465df8a72a2c364aa72521e250fb367b61b3fb5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d535569f7a663c474f6ba3db52790820ce0a33ae..9ecc4a9ad5ed1eef6478996e5cea75459ead4dd0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 96c8b9c27a51bb325a0e8b5d78e69e0e5de0a53c..b4b5f39158fb3fd483cb1e01f92f24d28b4960f5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 991594ba2f0b574895d8bac123c362418a0bc7b7..fa6eea7d692c4949ad142a8d128ba69544124436 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9b42b82ff6db484c50e8628038eb7f67106b4cdd..5764700ab779400dd1cef6f17e87d41163136ddb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 59d73c0f808f80f0f4890aa49665b7429e922f5e..1a41ff49946df576435bea51dc702441badc0339 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 286ce0158c251a517f3e5d179da00480cb7ec4fe..16dfa2a679d7a6018751918c6063585c6889ea4d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5e3e5ad26c03660fff73234a58f4a6743ae27f8c..d4a29174ec5b561d5f299490e72674884b75d3b1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0a04ff142504a0a363ffba9529619fd1308d6c14..b4607e21ada453dacc128345803f041e437799b0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 495f3d0690cc7d2d0ed2e81cefb6132588d08db1..808de510c31da019b3c162a033a0c53d9245f190 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ff2d26beaa130f3728f516cfc201aecd7efb4df6..23835fd7415c4ad40e8cf8ac46fd25b8d4aa2ae7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9233c364c6b234bcf4dcf8f89258fb008f637518..bb96cd07a38fdbf581d664dc97971690909b2461 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6e57718cb0c28114a68261076a50eb5253be7468..3896cda5dec9077b386cb94cee3c52dc098f4b15 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ec96adf239924a5c647449aa3c9f0b316d9145d4..97b4a404719203b4f9dc0b1346f64d7560b36b0e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4ad349299207fbc526f1c1e82617eed514e81631..f86816ab316d1c3dce16881410c0cc7f5fc76b19 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a9d3ffbd3f798db7b6f0800e0264a74285becce0..4ba4632dca945cb9706d7e4b05e50384cf642da0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 04e7d76de802f9ec85a261ac27e61e9fc119788a..3072fa51556be28b9e7144d467ec7fc7bed473a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 500a7151c6d1a65ef143e8251505129f23d53f65..e3b8bc367818e7971d482bf98701aa737f6996c7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index afb5ec2a89f5c542a1fa7c58995a8e5e1f021cb1..43a71b9c8cac6ef41ef5dc4850772a74d0aa3e94 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9481a66f290f5d4a2b23a2288ea7d5f25e5bf789..36407dccdf18e040011bb81eb5208ea357d1e7e5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 73edee2aa28e0f09799e0abddaab6618a6a33088..d45dada836b69d7a64f6de50ea09176d58a11291 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 98e82a2cc5d6ee16e047e6de5eaff65e2f79c212..1581533d32eafeeb7e13ecbf1ec8241729dacbd1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5356c90b1d6f5ff53b85e5cdd18b77d1dd32ff4b..a739dff146537dad5660310f78e86905b7a5b964 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1d833ab938b1abeaa2ba586d924c2d0dd5e1d3e3..f0e07c93ac48eb8549be053d3698edf48140ffff 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a49497e35e98ed291547df5936b5027d8ac431d7..ad2fb6824ea7e6c14c5681e59edbac4db1043249 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b5edd87cda5b957166dbf6077e0c9b34449ada5c..c10e76fb37691b7f80d9ed0551ab0c4682d0548b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6c2f4135d3d7af577181e1c927ceff90c9804d15..59118a12c8f449c386e2bfb570680c656d84b707 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 24b90a1fae4e290b72a6244d4721fa914c4f32cb..e234f2a42ae768da6da2a18a6bc331cbe28f5cbd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 68aeeda1fbcffab9517f2682b8ab274f5cecec9b..4623f6b286469b3c7988aa1ba832cee01666bb23 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9bd5a88defd81b0ef14b098c58f64453b8f5367c..60a00a9eb6eba44e2832a23f6923b47854c227f0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dfc7ac4be06b3a961c591ee4092ecf9aea3a1e49..0a2dcd9b3d9fe483672e9439d87bdc008a7a4955 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e958269400072a0e97ce1608a42a1359c8d2cced..946d62fe7bd4c4340ccf41915a7a53b2d12661cc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9ecc2fd9d9d757b57468bea12d0e4719d4dbf9e7..5e4b027b484062c4915e040efb979e6b29f75073 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cdf0a2391fe6df19f42dac01a7a32f4da9681f2d..02c4cf47662025f6dbf585a2351c0c3174b6b0cb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 33254fd1804c8587cea1560cae52f16147dd5c7d..44c6db09dd0e33cc0a344b30d3e10769e8e3f0f6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 341117a10bc62d3c166ce527a3252267f4225728..b323d48cf54049c479a2e04f4ccf0923c21c02ae 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f1272588f19011368479899365d1c82c65fa3460..68861e94f7385a4095f9c1c4725bc960c71b4b82 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a86250716bea7f0b76fc79f951492da4f1b34811..e9d8af0f079687d1f0d878f75e931ce4a5c9866e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2012-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4adc8705a707b5690737127d589681942872ebfa..0fdb6a8102158093a13c84bb60d4f6a213d1e342 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dfae8c33fab82f29460bb7e0d01588fbd00827c9..b5242489a0198eacee83c09a5a14cf29461b13f3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e6f5870c1d7a1b91d4ca489dab018941df57c47b..86e7239578c9c36cabe5be2e846f977858ae7854 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 571f7e9b85f6fe52d73f792da7f55e0b202465ce..cb2795929985a8732e78f9423f3c3a4970714b0c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6b0845342fabf98347890c1844841db7593a454f..3327c4b74774c9ffa2b7feb3ede38444cb2f7d84 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e69f66d180e9792d1a63c293d98e3491dd91f00d..5f4663ac386ac50712848a74f8474c50f58f07ef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 082c8165e7afd0b3cd1a353e53e3b812a1a0be47..3c2a5cbc82c37df27621c9a5f53a9435f2d59654 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e237d4acf98fb93ad3e872484cf09a3ecbdf30b2..7ec1a6922d6f443f4447d805cc4be6fe6579b2c2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4ac86366e15492ae3b39d8f6c0a916ef1951ae74..5f5228497e6e772d7ad42a39455a8496ee9e1339 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 64f56925f103f22286232ae9190f9b2eecf79728..791e77c534e1df54912f9efc5e2b7ce35f15e721 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f14280a8e02aa8c8f5b8446f70c0572e93a60e69..bc316187ff76233ee2d29bde7ee3b14f05149a39 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 03a268f6349b7cf96487b6df95fb6424a1f4e56d..9ba25fcb28e7975284156f2ce9c7588f128cd02a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9213c463f22378adbb7b9085deb09ebf48129610..c9dc8999e79022c0ea1051a964ceec331941725d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1b0ded1ff0db62a82f6d91b3282d76d0bf9f0303..29f701b4ca9c01ecebc73352ac46525621bc104c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 566f9b34e59b195d0dd8a10002e765a56dc0fd10..dc2cb6ea8b8b6b0f3a4cee4065808ac193eec88c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c10b8a6e906c7a354876a3a0529a6afafc6b258b..989943ce3db1858da4b2306b6c7303088c9b4d7c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fe72864d51cfc6508fb740df399c84bc0de651f2..ac938f72f4e5389efc47dac8aac565f30b1d633e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1216c28627b2cc0bd79c0893bb92a507b78e89f6..93a23c29016f29c3826d5c64c2c95db3afd0dd91 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 83af8e4165854b219e22b1262634d846a404cda6..9a2d998c3209d4b00c66529a764058d1ebb2061d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61170ef6eef76195c7b612e8514058fd2869e337..24c60e5afc01f7297aa7a3b5e968164368ff5dd8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 16736a7d8291e2e8bccf5bf9de529172b4600eed..929a3e245c49c05fcdf550ab269317e3778860c1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a761684de555418a005bdd361c7ed3306cc7cd3b..f256dd8efc5920cabb91322129745f3a842dad3d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index afe690d1236755c5962c4d9de8d94f2f4760b498..2d87f644f56f59c1f1c586bd7de22cc80f1ecfd7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8757d648ae262ba9ffa630d764062820dd6e3cca..78332e0a35cc5786e0aca2bf3d0d4c3d6f84690f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2285c14592345b58d8d27cfa15d786bac7f9296d..bd1dc6c1384e502928fb9c2f93e3a025c777e822 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8226171e697ce650ced7249a3794dca772313bbe..7d63039cd9a908c68d7ab9783b979589ad33d428 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 11a1b49bb800b669f9e852c51615864d9087e7ff..813d40c72c0f9a2ebb0aa92aacc63101d9f65a75 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c5b5b9fe96da8df9bd527072d19683a0b249fe68..1a4137a2d7a2b9def3eaf604d941d2557d5c75fa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 23320082643f4228a080f25fc6877d2a35e61f1e..fb711dae6f0d30508ec91850c5bc30760ab7a820 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e5d10034d0ad21c5d49bcac1ce5bae98c6971006..2dd20a1edb3b8ecf99445f24343eed42b42d63f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6c521f6ca1b4f6c0cad050075f4194cf7c3575e7..8e10488da3e795f86ae8f0459f230670f21e142c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6701510e0b4557704bd9e07a042985e459517533..3ad58494a9970257603b42e93a86382e5bb6720a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7faadbf0be35016ea776e37c3135669547ee99be..4a5d8a7ddeb357c04b0040218d6e182543158722 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5656eb5b5171431a3db4c03b0cab3700a81b4a75..be72f763c68daeade4c444eff540dc74cc4166f4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4c64f6634f1fbb529015e428f1d3848bcf36992a..7b4688ffc0c83b7bb4bd9902411c5a25a363f89c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 33bc891b42d65254f5c748e2b3684d7031291527..56b10793caa321d69d61dfdba6486e703bc01006 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 61a3ab3e90a265e07707ebcac0e4365987b1ca42..141dacadde9f4fd0f98a97fd4acf3042e711d0d6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d905d2cf5b78596613b3cdd8cf0597a361d5ff7b..79ea9b063739849b32574d2c56dad59d6294d2de 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index aba7113ec252f864de1a42a3478582724eaa6d59..3cf93ead7118eea3595aa175416b9451e120ecb0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2012-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b9786f9d2c76bc3fe11a04b08b769bca4d0ae336..a0437901ae9bca21a5d3f6d93fa7583f908a0aa4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ecad1935d1da0006c479ef2b8ec02a5952fcbc18..39760bfa6fc4291a330827389fee0900067390a0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6d9169386b2ee44f5aefad56acbbbd2e94363872..8260cb0cc6791a6279a79eda59e725e4376c021c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6671c91e14f4811641329497655bdd17effac11d..d4d199ee982116ab71d9297242829bdc775f75dd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6fd036f7e53357f8bc23f5eee38e425c29c89755..d0650940ef1d3ae3898db71958de012299de764c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dbba04f9f71d632be92bf4d5897ac4d1981c367c..0f9549960f8adc68303af455a138109ee3157eb2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cb63a0df6ac991c90980e6ccf378e4da3a2ab382..53e789ca67010d7ba1fa119404279dfc155f317f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 860a3c5b56727a743e062f611b0e7045ebef2be7..afeec4d3dfaa041748d06d3351730a44585c30da 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 38fbe2f3a4d4bcfa1d8156f325a8410c83c5b60b..522b1d217a0892838528ba20210cf09080f6fd53 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 91ac14ef0a212a6732d694eea0cc82257dde28fd..4f73509bceb10cba92262aac11dc41c40194f628 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a9496aa2c392180222b678bdb6a178919d80e333..473d17b715fde90997f63405131dae22eee6db3e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c7a85a7da48fc95d3c82401966faeddc50ef3df5..6d01d4fae28d61644e1e836b93243340d25d7588 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6984f01a527b675eb7ca0f628bd67fd4f5d5424a..6bcc9aa786bdfce9ed8c9362dc4dc6b025396f6e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5af81d345ef744983cc03b3001386ca2008b09b8..4d1e371f329f56b7a7e4682555fbbe1f94021b54 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3ba4dd2c85f2cd083c184cf537f15496e23e2ed7..8496e275d363e399d20b7ff041d676667c180cf0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f40a19228d62060939d4ea0571c8bcf8dfeeb7ad..e0fd9eec3d5fb3e7f1c65a80f192aed9cc0bd2d3 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-# Copyright (C) 2013-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2013-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 85adfd7bf5c6144a684e5d4a3c91b49a39ee2963..2d93bce21e3fa1adee474e97e50780a99830a14b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 39f58930aabc17831dcbd01d6234a00d77a6127e..6fc1cac99e95a9d49aca7b8c682a29d0222b8b6e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ef9ac7c00b68cc9a3990163d5ebc916582d1456f..971ae10979f384f30f899020bf72234e3ba6d345 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9085711c39e4e3bd711adfdee4ac348795ff8109..8ce4856dc41ac33f3d6dafde0903ae4e70e42625 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0c7455ff72f80b913ce0b76c5eee0c3d6775662..c96a884a8548b60261e6739f67821ad0bbbdf72d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e654d72e3ff8d924c12684395bb812d2ecb1fd95..c693d718e814bcf5eabb4263713f5dd9f8d4a1f1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index dbeb039f4addaca14f8baf659c0d109fa7990304..8f5eb5db99268062889472b3beec26c02681760a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a0f6a620e2523be397c922ebe17f1e60e953b68c..a3cabb6ff7250c02679f6a224f97d55b3abd66fa 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 150d178f73194becaec816f846b3aa482f354fcd..fc4ea08991a0f04a6a323e62bfd4779fba5baa6b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 471312ac3241a1a6361d278f70cdca9d9923e29c..d42f553122c4d8b35dd7469c2309eea004e90b43 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4c3ec0f492496abe011bc12d505a966dc2e507c7..0500d80e8f522ff8bf6bb8e4a159f4cf13a30d47 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 03fc180a839ae7f93bd90abd6176514eb6ea39f0..6e1d82e5dc8bb97059d40fcdac5d7760bef14b58 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 16a1fe655867954eb5c616dc95e53adb69a865f9..2bbec1c8a4e4e16503f8f03fdc8933be93bdbcfd 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5b15106a862a75750621e20f2f9ee48795a77a06..b9cc04d257f04263fb4f15a2860d91405a73a11d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cfd0a7b1b9e11b0cf1a22bef25ff6ec4c9dda3fe..733cc046c31bca3245ecab001c2da499b3912702 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d3006ae78acbf823b2b11e0368f3d6772f55e863..3ad44e2114c9de477d2df6f3c143ec0fde2f36ec 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 57e90bcc8423a1967ff38128984fe75487638b62..3e273ac5f8f6be6dc24e48c14185cdd66fd6e9d4 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d34ec9da4ad89d898b489a9db2725f8cc6bb9550..c943d5d51e6e164857d89cc6a30343d59d9a42f8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 80d1806576bc06975d86fd77618767c8ee72a9fc..b2f2fccb70036db9f82a50b99ddec55ad082dcdc 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4002111bda7713ef292220794cec0924b6dff537..bd2c32561689c2716ad560e4ac4aeaacd07b44b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3d87789cc04b11f8db2d96739d9c82cdcb3b1bdc..3f48f93107a9602b8fff94dc25ca0cb33b6c0741 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 94be436698f30debbe81a5b7f1d08e0b22252eef..caf6f7f7bce24c9572dac3376479f155818a924f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ed19a355fb0fd9ccee29c1afdf535f809e025a99..de6da4dc738ae21a2aa00e8bba79d0ecea684b90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 67c904d26d9ae82033911f8d8bbce2021321b0cd..e3a649bc65470ad39d872ad2dff353ac463baa34 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 467f525ba4cc628640a89f3413fd4f1729211e9a..dde40de1eac86b42bc39aee23fc2650da433861d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9beee29ef60c437a7a69cd36bf278cc53b42488a..db631a89216ba0fcc18b9882966f207af71297a5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 0ffc768991855e47594615d41d865bf02e92e540..d3665411f36e6f0a23616d38c110d5df8831a365 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a23cf7fda86a7242cb7dec8c0c6db842cf05e0f9..669435717a4cd627996236f4a70d6218ee1a4eef 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f7947347aaa77279ae85dbb200a511abdb9847d5..df01714ff8352fc060bdf91d19264dfc31a4d718 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index ed6be7433b04186d7832c1083a527b899508cfee..58092f3bfa585dac324edf0c93aa96173599c6b6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4073ca6143e583d44743f133f0afb294eb9a4963..8462a2591c3a7c9e1ec6dba206fb5191610691bf 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 8668da00abc644b6951cd41a6d6a26bae2c1b19f..5e571452fec4d099aa613e07cad151a2ad00ad69 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b498a4cca4dfa36532ab502b973102ea715dec09..196ac2df60c0bae64141b7994b57fb5d42be8610 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 53145b795c649ac643ae3bce946d6767aa29f02d..e7ad79f982e901ccee1cb40a2248f844e68d9ac2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 92408c70af774493a2091ebad32edc9019518427..c16d4ad8987e9973809bce196fbbb94456425bb8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 03c7e285e375332f05ca7fddab69bf608a721242..ca4bbcb6d07241f9bf921c5567b745222a32efa3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fdb902398caa5fcdbcb95fdd14a9bef707bd2c82..1534973272366b177efaa78553c43f56971f90b9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c024b7447bbf012c232667fe3ddd1b780de01cd2..59baeb5159658c27b1c2aeb3fa00d8096cbf8ea9 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f504abfa19c089556f99ac6a92edc0e6e0ef9567..ac303fe917c70447cbf642ae7c8556dc3126518d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 4c5cfc9ad0c08f2f4e41a59680ab1496081f3dee..9f682bb89bcb2e2f169fccd5313e7d9578e2866a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f0dc90c07a993e382f74ded5f472b9a0c88baa67..e50f66a01059890f0b7d7d159fe87a5fb4859f3d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 927d772cb5f5f7dde3da9e5dd31bbbcacd99f08a..25e193813ec0df510d60bd5381d6c7115c4192a7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -362,7 +362,7 @@ bool XGUI_OperationMgr::canStopOperation(ModuleBase_Operation* theOperation,
   if (theOperation && theOperation->isModified()) {
     ModuleBase_OperationFeature* aOp = dynamic_cast<ModuleBase_OperationFeature*>(theOperation);
     std::string aContext;
-    if (aOp)
+    if (aOp && aOp->feature())
       aContext = aOp->feature()->getKind();
     QString aTitle = Config_Translator::translate(aContext,
       theOperation->getDescription()->description().toStdString()).c_str();
index 15f89922d3c3855f85268e41cf8318ee7ac70351..94706c566f08f3fab2c496160cfd09256b1f4ab5 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 17cf0b4821a4c19bbfbfe3284b4d06b6626efc23..757f2124869a4b2a2f992541755404e496933a5f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index d936c7da5e2f1708c33b71aae483157a66b44813..ba79746cb96530904267be612762f54d5537f519 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index be2087e702d4455dabf6bee5f2ae0c42dfdc8e2f..2d060e83d5643d58099772fdb9fff30908209950 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index b8f5523e82389c09ecf9c9be2830b59363b428bc..1b7e327d7cbd55172938236154a2522d4a7bb2c1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c5aefe89493e74fc6b5878af5cf9a31c1a2f21d3..f4703fca5454415a9262400b931f43592703c9d2 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6e649a116896825bd502a9b3ad36d0d6ec9ddb7e..1e4f2b952fa7edcca28fa2a02c0543d2fddd6b0c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c34f51f78029cf81d275157d5183e8afcc7f259e..7c71e60e32540b0b095a5fb1dbf2802bb8818003 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2dd85ad14b3077448e09fb48ffd094dfa6bb8885..772bcfb810ea07bcd3d45b53449f5d74043210ed 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index fe7decee5cf34b61eab94fc497ab3f136f1e3112..af3cbdbf3213e44193a14244a8675ac2cc9d6a2c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 65f5e210d77edad4fc4b7ab614f97095b1e654bc..049e42486f1efd8ca9db3479723cdd126e16e245 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 7330215307a5f30cddac585944ab194521432269..30d41b7b6b8a01b643769d621ab8f15ec2d72693 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d61610062e6f4b7c5a0409bcecc5b68bfadcca0..fb60a0b651b5d0d3e015d5f8499c02523dd198c1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 1a11a9e27def0fa11cd08fe3fc7db1d01f8d215f..d4cd41d1186301d236f227376387c40798068370 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5f9578c8e2ce240b44f5f01ef2134b22192eb913..3ea7d7d988297f6882836e3bca0104054940d9e1 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f4e0f36eb129364049f8bafe038a6c42888365dc..fa83cf2a232999761b0dd1156438593c8608ba2f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 9acdb5f96225e4cfbd12b07be0c4649205092d34..16e6f5702f1c79fe7e0e7e06532c61b1e78e8feb 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index e04bc4547e2128eb019482b990707cdc2b492352..6ff19daae3e6324a989ff8e6f1e2ce069c5614d3 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index a329b4d871e80bb7b0cfb5cfa0320f5941c57972..478857fb302a8b5d64c6f00d09f744da72e81673 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index c579e2cee277bf202c2f9eb6a869f29c1c94235e..a7bd8da6d46218f789e8c2d0c7f523e69f08e1a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 5f68ed21bfa6adbc6756fcc2e4fb4c35f91eae94..f18cff68c8409f35aa42ded2ad5a059747c73360 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 2d44953bb3e779617b82ffc0645608c212f40a74..1d8923579eae739d8eb62c4d777cdbd24fb45e85 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 430c53e4c4e3eeca02c6e4d75b8328cfaf5a4a4c..38aa7de21ee62155c903259b1c8228f053d09dda 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index f2cf058bd2cbe7fb21f27e46b737f62182986de2..a63aae11ef8226e5a4c161a9126168863b135f31 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index cc243b62a8b36b408538eef68768ba57c1d9931b..7b996aaa49268e6292d1770014f5284fd971163e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 537a38e182175bfc475a6b40bfd4819ba486c510..b1092af83136403d6777998c1cffde2e88b4909a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 3c767fc10dbb978b63bb8e226b8ccb48cc6eebb3..d8827d57b05f9778d333547576b13afa3b0ff36f 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
index 6d4f981eafbdac8a6227048aadf365aa041c4692..a049e5d4d22d36abcee67e75bfb50f21e3c021b1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 
 INCLUDE(UnitTest)
 
-ADD_UNIT_TESTS_API(
-  Primitives/TestBox.py
-  Primitives/TestCone.py
-  Primitives/TestCylinder.py
-  Primitives/TestSphere.py
-  Primitives/TestTorus.py
-  Primitives/TestAPI_Box.py
-  Primitives/TestAPI_Cone.py
-  Primitives/TestAPI_Cylinder.py
-  Primitives/TestAPI_Sphere.py
-  Primitives/TestAPI_Torus.py
-  #GDML/TestConeSegment.py
-  #GDML/TestAPI_ConeSegment.py
-  Transformations/TestAPI_MultiRotation.py
-  Transformations/TestAPI_MultiTranslation.py
-  Transformations/TestAPI_Rotation.py
-  Transformations/TestAPI_Scale.py
-  Transformations/TestAPI_Symmetry.py
-  Transformations/TestAPI_Translation.py
-  Transformations/TestMultiRotation.py
-  Transformations/TestMultiTranslation.py
-  Transformations/TestRotation.py
-  Transformations/TestScale.py
-  Transformations/TestSymmetry.py
-  Transformations/TestTranslation_1.py
-  Transformations/TestTranslation_2.py
-  Transformations/TestTranslation_3.py
-  Transformations/TestTranslation_4.py
-  Transformations/TestTranslation_5.py
-  Transformations/TestTranslation.py
-)
+include(tests.set)
+
+ADD_UNIT_TESTS(${TEST_NAMES})
+
+if(${HAVE_SALOME})
+  enable_testing()
+  set(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/test_API")
+  
+  install(FILES CTestTestfileInstall.cmake
+  DESTINATION ${TEST_INSTALL_DIRECTORY}
+  RENAME CTestTestfile.cmake)
+  install(FILES tests.set DESTINATION ${TEST_INSTALL_DIRECTORY})
+  message(${TEST_NAMES})
+  install(FILES ${TEST_NAMES} DESTINATION ${TEST_INSTALL_DIRECTORY})
+endif(${HAVE_SALOME})
diff --git a/test.API/SHAPER/CTestTestfileInstall.cmake b/test.API/SHAPER/CTestTestfileInstall.cmake
new file mode 100644 (file)
index 0000000..38b15e8
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+include(tests.set)
+
+foreach(tfile ${TEST_NAMES})
+  set(TEST_NAME ${COMPONENT_NAME}_${tfile})
+  get_filename_component(tfile_without_dir ${tfile} NAME)
+  add_test(${TEST_NAME} python ${tfile_without_dir})
+  set_tests_properties(${TEST_NAME} PROPERTIES LABELS "${SALOME_TEST_LABEL_ADV}")
+endforeach()
index 375f31a98ee9e8c04a6739acd39971efe346b532..f2d18e2f7b22b851bbc5b3c45152d3d9036213de 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5ec6ae72f6d58da765439f089878847a48c859ce..35e0c57e6152515d0d50bc3fadf3415a03595eb5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e1446b1ff7a02426d46eb4716a70415ef72598d8..f4711ed19a03c2379459922d23cd2efd0050ee09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4a996f254f83a99be4d145b8f09eed7e6167c3a8..f1cbec9240ce7fa9649f159d6a9d14db93a65832 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7921f5fe302ef6a310052d14c21dd33f442e5cd1..09b03cf1b6cfa8632ad61e4ec39aa407a830b920 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fd1cdee477721cf8b1d7634a353b54f107b5e64a..e190386ebfb6f035831b2b5e230783ab69280eb9 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 560d167c4c6a24d5ecef0c44460f6af88453a6f4..07763a2d6675e239b477b26e37fbdb4b5f932a9c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 47bce72fd23543b8c3b5866286bc221c742ec875..7d228addc81d5e14e5ae60035a3558d04303469d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8d77c2d9b8c005a8256129574648700aaeab37df..eac70c60015930bce857a441e45eddc1a066a9d5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4f22071c7d27ba582254440fd7afec36ce51084d..c6c7543d9904bd2d30c8b62cff7c201d79686d0c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c94650a15598114c69b5ce9dd4dc4d90bb8b7dfd..33782eadbffeb5e90ce94a85eea957ac2723c864 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 61cb631c9325bec92a0503de32119ec711376ba1..a80516ea966ae8aa36efca7e483a8fec576e350e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4918471befd5be100085fe21ff83c19912003ec3..f4555a9ed49d5da346cdd9f447ede5cac66e365e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index eba2b1e7bc92ef83dafce35939c7b1cd017f7b59..680bd396880fc3a68bf8f143161ea0b97d6cf84e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index edaf19265f40bf2cf9474853ddf7ebb0dbd00aef..aead60d9511020c7091868953f5881b0100bd305 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dcfe2beb20742d0c230e654b1a6ba580779ee799..fb04b4d65c40f782258c61e73f80952d50f39c3f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ea779b0f029ceb92a45a80baf29fffaa6a4dbc0c..d35414caec268a2d93bdfdd200dce71c0dc57f19 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6bcc5014b2f8564c3da3f0f0add7b0471e3239a7..e871472886783b06c4140dc2a9a3ced4a1167ada 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 86fcc6cbdb4ac17c57bfabf48e6a8bb653881728..1b6767416e120b3b0e27fc542a7bb175c3959850 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index acbd4f453cf0df05fd8ef3b2ab9b1654af517e11..bef755e725d50956d74acc749b1d14f78c85809e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6bc434abf4b2c289c00fa99d181bfae90f8eb660..05501b849532515b5146921d821c5b3ff62b932c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 310c6b16acc8eb15d6b8f46286244d94b5c3fc66..89347a6d9ecf878a3dcde2b8e92576b7dd0f12b0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5965e51c3b08fd2a33e2d492f443660d1c09e4e5..e46afe3e68ede302f0568648960ff09fce731e42 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 63155f12239875790a1c29f2c0ecb819618b3ce0..6a6e7a544eb44e6f39c7fcfce0beb24e06218d6c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index cd35607530ca080ab2f1617d518e358acf30ba7f..959c5e6cb164d4adbd28d5a47e6a28d29cb88530 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b8e04ee944766a8cf33300b873d556bb069a8bf7..d9d4b9dad3ed8c7c97f5804bad3a8800041c69f1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bae8a6d633af72020ace581f7284ae05abee3f30..12aa053f18972b7f6a42582a9c9b9b47c40f3613 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4db115cdfbb382e0e2fdaf64456f5b8df3ad7856..494b9a4f5aa8a3a60b12c2d42f870813bdf7e4c5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ba1b0c9335b93968ae1ca13da6ea4aac396f7c6a..18f912f3f1f34539cac3c405979c2b7841b629ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/test.API/SHAPER/tests.set b/test.API/SHAPER/tests.set
new file mode 100644 (file)
index 0000000..d3bd600
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+SET(TEST_NAMES
+  Primitives/TestBox.py
+  Primitives/TestCone.py
+  Primitives/TestCylinder.py
+  Primitives/TestSphere.py
+  Primitives/TestTorus.py
+  Primitives/TestAPI_Box.py
+  Primitives/TestAPI_Cone.py
+  Primitives/TestAPI_Cylinder.py
+  Primitives/TestAPI_Sphere.py
+  Primitives/TestAPI_Torus.py
+  #GDML/TestConeSegment.py
+  #GDML/TestAPI_ConeSegment.py
+  Transformations/TestAPI_MultiRotation.py
+  Transformations/TestAPI_MultiTranslation.py
+  Transformations/TestAPI_Rotation.py
+  Transformations/TestAPI_Scale.py
+  Transformations/TestAPI_Symmetry.py
+  Transformations/TestAPI_Translation.py
+  Transformations/TestMultiRotation.py
+  Transformations/TestMultiTranslation.py
+  Transformations/TestRotation.py
+  Transformations/TestScale.py
+  Transformations/TestSymmetry.py
+  Transformations/TestTranslation_1.py
+  Transformations/TestTranslation_2.py
+  Transformations/TestTranslation_3.py
+  Transformations/TestTranslation_4.py
+  Transformations/TestTranslation_5.py
+  Transformations/TestTranslation.py
+)
index e70db6e64f5e154c4ea29096565bddd1dde65a68..e3c1774bebe4beab538df04e15edd780bce31f32 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 86bee53d0d31926e31a90c987380495913b42697..ed4953d93d0701d432b50ae1a4b9f8ac9104cb75 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index db5814b5083ebfbddc1db9616745dd526c5f2e24..697fb5c863da81943cb26643ec3b8483c1d6e7ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc1ad16e834ee93ca2a7060f0e81bf9cec57d1ca..ad53eef8365b3efa220541a972322aefec7923c7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2556838cfb7960b98fd14b8e403f0066d2605c88..724a0500b511328601c7c350d6c412e54fe58460 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f2d3edf92b237844260f743389803487a94f1383..24509f6b74187fe02ed6b80b3ff52be5232d87c6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ac2fb483471d40136c810c90e91b9bae34a14d3b..128e2aa39b540408df3ee968c208e5fbf8ee66ab 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f83631fe99cf912687753b19eaf2368a15f493e9..a97103727352cf517aa75111657406d7ed24e93b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 48bb8594ef8d52b9d2415c2623591243e63f5d6f..f3eb22ea77f73d3cdad9e3c44ac04b5cd63dc158 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 94209ecb13481cda822ad4ea78cb7c42e87a568d..a092fd60f8314cec79de179ba721a7aacf8471d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6275bbf36a386af4b41b0163e6f660f65b7bbfe8..e23237778600c656bd13ce9e8b015d8c65a903a6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index def70d0be5917248d05c0a5906613b05a22e5303..72af6bfcea2a77b0ef460e3c24d125a7f3f95077 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9083d727b16a57cbf976915c3e83dcf1b8058ceb..e2a56cc9fe0e85bbe36271421adcfa8ab72d3073 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ec2a629f69122deed78d53ac53dd84b62c8d4747..b4af409c3d4123df9b565b0492036aff0b960ab4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 34b597d63f7b18bb6eab7a41affb536b30a2d085..442796f4ef9eacf07f10d7f5ec7c05892a6ded9c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7b0cdbd00797376750245743ce211a00360feb7a..c2c472b006e96097b2123870786a2a6c0e2a860e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1da21f0116384b9f41e9d442e832bf80e4ed5f5e..30c7fb168a1b1d881c11909b4f33a2f6b86951fd 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 76ac7532b20d53e9763a25971c456934efe0fe01..0e281a93af1ffc2a894ba98c8a13b1cbdbd30d5c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 267d1b33da723cba4829db0fb62e815d50000433..ce7962013b3ce48db2c66c5c10046377dd18ccbb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
diff --git a/test.hdfs/BearingSeparator.hdf b/test.hdfs/BearingSeparator.hdf
new file mode 100644 (file)
index 0000000..b447aab
Binary files /dev/null and b/test.hdfs/BearingSeparator.hdf differ
diff --git a/test.hdfs/BearingSeparator.py b/test.hdfs/BearingSeparator.py
new file mode 100644 (file)
index 0000000..1db90ed
--- /dev/null
@@ -0,0 +1,31 @@
+# Copyright (C) 2021  CEA/DEN, EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License, or (at your option) any later version.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
+
+if __name__ == "__main__":
+  aPartFeature = locals()["Part_1"]
+  model.testNbResults(aPartFeature, 1)
+  model.testNbSubResults(aPartFeature, [0])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.SOLID, [1])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.FACE, [115])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.EDGE, [890])
+  model.testNbSubShapes(aPartFeature, GeomAPI_Shape.VERTEX, [1780])
+  model.testResultsVolumes(aPartFeature, [1311.87963636394])
+  model.testResultsAreas(aPartFeature, [3765.24411189])
+
+  assert(model.checkPythonDump())
index 64f59848b0773fa50d4eda1519a08ac2d97385f3..3811f86abe1174502c540f15bf34a2e94a61f300 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -41,7 +41,6 @@ foreach(eachFilePath IN LISTS hdfFilesCur hdfFilesRestr)
   endif()
 endforeach()
 
-SET(COMPONENT_NAME SHAPER)
 SET(TIMEOUT 600)
 
 SET(TEST_INSTALL_DIRECTORY "${SALOME_SHAPER_INSTALL_TESTS}/HDFs")
index d6a3dbbb9df2737a13a7b11a0a43479901cc9995..cf6d58a7eaf900ec09b3ef643ea4d369171ad76f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 14407a32e9d597ed7b891c58848157dd0e31b4ef..64734ae87cb1f4f082c9cf273df0f13435041ac6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index f9295e154714b0b8fc813968538c30b29ef56dfd..f8fce86877dfe23c2d1ca4732abb13c5668f155c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a81a52872961dcf06be0e21934acdd9a8618e47a..b546433c268e805da9165337caa78b585b198bfa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2019-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2019-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4121375a8e06686afc00cb37d7605bd805943578..291be35d0428878349a76c31dfbc1752354cb023 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7787a0e05f91c3c940ad664d15aee4de8a99a8f1..aef359cb7a7529c309912dcfd5c00da4b73cfead 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 02a198310af5d3788a4ea798783018d0d2c12771..a41d71d07face9df97ea05d8ca57e2e61422e59c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2016-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2016-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 02c19aa1fe05894471d15dcb4a2a6900ed605120..85cdd8b48eabfa27c1ed0a8af8b44cba2bfc93ad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 346c376caa7d8ceaa47f705fdb9d1c743b2c070e..2bf3d30b3770f0d95a113761d9ab7bf26b78da3c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 912c21e6542fefae3ff9f34fee42d9f34e769c4b..6b8d47f34919dc18beab6275bf965dc8fedc6f60 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 55f9bfa6c81440a7d8649bc34e596588dd83e382..5ccc22aa29b0c5984edeea5ee800dbed70a9bba1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 50b950be225cc2de5722beaa3707950aea075186..19fbfb33a2cf3663ce25d6462bf140409bc00975 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 526fad9916aa3baa1be4942fb882230ad8acb99d..b8ef1924e555cd3c2d3c900f99c0d356541529db 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 96c1580c28d52d7d47c015fdcec4a8f36fa4c0ce..cd56bcd3a4e9ce1ed5349c5a8406668813a01406 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3
 
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9acd7b2bd8da81558767dad8b6e3622a9efcedc2..68f6d11220488c442b8e730a3064f49ebc29a05b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c3ae94548b0cb12ee9f87cc73d3029df7cc0611a..bd800bdc08aa5b103a2b50be2e203d6e63787c0e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6771d17646d675ae48bc80244ad57f8350974180..ad60477d32d3eb35b79e30bf3c22a6a75f5ddf9e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index fc7968dce99bf2cfdb192f5af724ca60d3814bca..b4b18d11db6f1000ffd84150571672da0e5265b7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ecd270c62de02b844651620a9fefd95e214d4fde..1684ec51edd6729dbe0270a1ff49ec4e93f5f760 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 53e0b4b1d868b806beb350599b9c37aca25b2448..cc5bf667d9f73817f0a41a0a72a623dd375c9944 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 766cca10f208ec89897902d25c6e2d28fa4e65e3..bca72de989eff315a382e238397e749a175aaf7d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d7ca51bce1eaeb2e7a2ef17504ce10e4252aa953..fc917be9dd680404050889743bf6365493ead74f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 57f7624057a6707546ce8e663bf22446b7d4d461..59cd5a92df99850169ceb6a5534dc3f7f07a3c72 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bb6d23603471a41d4e73aeb94c4c33129519f44c..3b682cd8aa123f260830fa99bfa2c6901ccf26ad 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2153b50a669c8b02ea3848b0533c044929fa001a..2d44c87df8ab2a5192abbfc8dd3f23545520db12 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e97f7d7ec118b5451379f6293454e2c10f92ffe5..866e59ef9e8c7931de4d35e9a1ad140f5ac97799 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 25f3108164d1ec669651e814e3e7a7a29d3cf37b..c56b8ecbf172ce05d99ea8368269900d3afcb581 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 011f8485b99d8cdf1b64ff8d74ec80fd654c4eb4..149d65dd84d8c1e3d2b859baef7617719cd7cbc0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e9d92a5da3bec72ab56074554a7b5b1894c06f10..1729ec48f41dab6f8dc47a8da30afac1e38c7554 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ba6a3fb9f1afac6c49e54e3d256cbc4c21fc6d0d..acdd5da76a87d2819d46d6b0cdfe3651bfad00b4 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5762225391e18289c14d51649722a4d485b9ca6e..59985767b42e37b6378e773eccec14fbf5352e24 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 113ae768bfb8be9b06d6a8a0ea9feb6e32c94db9..2f1b1c71512e3f83e649361668b1aec573a80046 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 648e9564009a6cfc7eca808a6879ff69c2a3ae8a..fa9bb79850ef702fe872fd573ddd7bc615269751 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2017-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2017-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5f4b5c61a82ad85045c99be9afcb0a65214ccb9f..04838dfadc15cb5f11b8c8351bed706d67ee6796 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2018-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2fbd0cbfffe3c8c11bc5e7cf47628a5d0a1712fc..a59b7cd48dd9cc9215fa7f5d922714a78a3de0e6 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e35d0effb599738e8e80ee00b1a1ac2a50cae7d0..468cdea6cf2a096922cd93039c2c6380a93ce789 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2020  CEA/DEN, EDF R&D
+# Copyright (C) 2020-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b7819c37a04a7050cc6e547a27e923b471ceb446..9468fc14928f36ee8befd87ffcda4c08551ee1b8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e775b3ff41da4c7087e3b8c5ec1fe90496efce05..c822ba1fcfa732a01ce787d34000284cd4ebbe09 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9a36fecfc4403bdb935ca3a43e693d81171755bc..34149ccf5aab89633869d485202a1c0f345eb42f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7b84544e9162103740b1bbca2b6ac26e1f2c61cb..8eed9c9d8649ba14f015e200404306bc0c97a649 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0b5010478122801202a1e538b47725e158ec9b48..8fc2ef35b42dadd9560fd1ebccd8d50b2f6de743 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1f0799c44172ab722b1f15aaf1900e1ae23bfdbf..334dd3493e3135902f49d4722da5c8d17db747cf 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9161d527c911423c507078ce2900df8f598dac16..738279031fffd89d33be790071c8da8e3b0d5ace 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 57cc9209d64e9250c26278789a741fe6d4f1b031..31abf18940f3f1beda9e0dea7735098f8e27e462 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d08da6fb0db1e1f20730a5f5f3bfdcbb6efb39d6..523c67c44d853311db1160e2ae7c5fc8ca787dc8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index be480734cecefd72881fbb003e6ce83d586f70a1..9b8936bc358cf8f0600d8038048639c30dff7305 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 1d7563850e0b5ff0ce173814dd45451f46b2a1e0..fe5fa3cde06602048e62be578ab8afc3e33ea97e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 72ca390034f85b19c33702312ea22353719b7a78..ddb6685780ae4327810655ee8e64f0b6cae5f172 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 438429c1bbc4b4495e74b6c15f099ba54e7d98df..618ac2c698348f3243bd0c13d6efe9a4e61c37ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a5895446303f81773286e07524ec131224f15e81..41e421ebe5960f06d8b1a3e4665a0205ee182996 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7c73c19063d3784800594b332616213612d47767..b17ad7dae48c6737b1fadfcdc28529ddf7d6ba79 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bf41c21cb03de0a1269069e3601b4202d589f316..7f8e619fb036591ffaaf60eafdbdffd953222f3d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 57a8f6c17544a9209e5eff9dcdce0ae0efcd812d..f44899bb7543d86c8d150e019931fde95975cf63 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 57a8f6c17544a9209e5eff9dcdce0ae0efcd812d..f44899bb7543d86c8d150e019931fde95975cf63 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b930102670bb35e7c0dcc4be486b53c35df784d9..ec53af50639febc46909aa8a3655f217ff3e112e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b3845c7687bf6d859b7462d068d380caf5a62b0b..4578aa09b3f07e627b0316495fa62a05ec1edea8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 27c524a44fbe795ac9b4d968b444648f694b5d10..b07ef256e0b59fcfce8dc985d84935cafdfe1248 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index b48fbd7560e51db3407b5fa4cb5581a4f65add41..9033e2b7e86af9fdf3a8fa5c0def7f1d3d7b623c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e251a61a0867b9497f23dec944db2a514e3a85dc..fae1a39f28a1aa5d84c454aed90763e5e4045e20 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 7360ccbe7b75d142d1fb9ce03e1a945745dc1398..bfafecea2fa07dc82114c1d05213d4173138107b 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4e7537c4fc240ed6e5279026c15d61afb4cc5ba1..4249f252d5bbcd69e9fff793a4b86334fe0e33e8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d88927ef89b4807091f5e8b7dfe672df2c7c525a..465134cad3d56d457cbcffcff5db8554aa4327ce 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6678b8f61244c8c84d61a1f94b46dbfcf1555723..69aaca0d6f040bdb925cbd5d8bf0a4cfe69c453f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ff9535246715edb0d0f7f31d5c3c8d022e00fe2d..3628d1904c22535a48daf4349d1420ba358664b7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0f70faa3d0b90527990ae9768b3444513de30b28..9b6f88ebcc33c8a05ec8ab32f0c8e569e43c20eb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 27e5bd776e37e3bfd6ab6fe190aff1c114129a9d..8a4ef24f2882b8d66a2a5a3d1334323cd0941d8a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c8e5c973eafc39418bf48fc056946e85b67a67cc..1c3062ac1421d2cdab2ef90fc2d86f31945d3b51 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6a1cce34c099c8255de89f263a01a9617b6c10ad..e18f7d68bbe71387207c7a3a500092714f472a81 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ef23cf3b230f00e5a25c034071734be1538757ad..8586ba7291b855ee00d60c2259361dcae5bc4b5d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8a4954f7a49268a305fb258f3025a64dddd5e92c..89367ec353a6ee3910b61467caacedd8f4c05e74 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 5a19c2b049bbd4f28ce09f86c659ea0949c6280e..f27aa5e33953d5d798b2c90b7000527d4784e89e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 2325a5115c56a36b697bde9b7801811b09484908..373c78f0ce6c9ec0ad5812c785813f9aae439dc0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index d4dd92eb8e3864be43df62094ba2e1c8d3a93e57..8a0f7a4aaf36dad64df1dfcf88de259bb84fae04 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index db3b64017328ad3188f83188e62574fc7a3b48e2..3c8b0dfe3032ae8444fbb8d808a6041e25691349 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index ee3a11596c440b912af1fdee1e94e7c7cbb130ec..5b6c695f29343e16f3e5b9b852e380ff3de7f898 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index e60a1292976a9d6c9f957ebc613da6bff2d3d982..5a87f1d34785cd9ff85688a5942fdcf40688884a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 0a96b0badccfabc48abcc20b271ec8f1c87f0b80..621cb62fc731f715fbf8ed10ecaf2d761096a581 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bba0d2dbb633fa513accf2360f7ebc03f70eec2b..f139b1e0e3a019886f14a81c42fbf37250b28a50 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 9d4552be46a8f4bd4113a6aca7cba446cef074c6..fca6b22655a6fb40b6d8deaa2f8350c24b28c5e3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 21edbf569b3f6dcf1e0f970905d48507c763db3d..4e897607b793e5c0d188487ddff172b66e3e4315 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 270ddf6819d54c172ecff6b3893d05556adab359..ac3117811eeb8b2151b87c2a0ab39470a2a97b3e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index dd4cf060faebb2b04a30c25c09a30f15cd9a406c..567433c87eeea7f3b6ee38057b36e9e92e6304f8 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index bd26733b6bd745a040699d3a82e29fa74fd9ea09..bc90b96ae06676afc82bb348b645abc3666c02ac 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 48b74089ae1dd3c51015b718d08561e0de1c57bf..99fbbdea6d844a1c459d4c6656fa8e32ff93e305 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 08b85d2878d09f67f1192228a22f29e7d2c2fb1e..11bd526569f719abeba18928cb573c741ded7491 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2015-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index aa6239a78c3be2c49967a1f69cc136006765dd94..94597fe7b6b68b76e1d4f31701753158bfbdd7ba 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c915c52b46cf0d61ea7a3fbb5f8ebe1214f3701d..6dad25d3ec5ac7ef367df7f9e940efaf9651a98f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index a14f69a5ade62f3487cefabd9f30dbcd760d948e..736aeaaa6967e39ee85aa0a3379a03b789b64afb 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 6b17eddbe73f9d3339c7b981b7d322590786572c..c1add4b27662e3d66ebedc57b78cd099e3109d56 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 337b950f19ee79f086a00dc81f82693b9b1bf4a9..59685bf98e5951306adba63b143a3d179e71ee35 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 4611ed9feb8bf8e6065244f76c00709330fb5a05..a729f8093b184f9d56d51f1050fc7c025dfb923e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 240c70403a6ca84996ebc31d3ed3811154679c15..a198200c1928c59d9a88db883b25f738281a3807 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index da0daf4a2cfed47d9d6bec4bf05892fde7469814..fcef3b81de5ded8dfbe867dc0f91de4e19f5b17e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index c589c68deac13adfd2ea28667ac33846c168ea9f..12ea8eaa7aefe4c81e36373c6c649f6948970cd2 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 17772ebda1f714f3b63959b7092d8f9162737690..aa19a6cda06c30c2efc0dffe606602672cd8dd7f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 8f91ae1d0aa7eb3c20c686f497fcd4b315d80bac..748d1397806a7a20563aeca41401a2aa896fcba5 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
index 812ab475bfb0b0a56e179cffdbfecbd4a55fb3f5..7e4ad750f085d60f5de5a32bbe40ebbf7644821e 100644 (file)
--- a/utils.py
+++ b/utils.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public